cwbUP_GetSourcePath

Purpose

Gets the source path of the update entry.

Syntax

 
unsigned int CWB_ENTRY cwbUP_GetSourcePath(
                             cwbUP_EntryHandle entryHandle,
                             char *entrySource,		  
                             unsigned long bufferLength,
                             unsigned long *actualLength);

Parameters

cwbUP_EntryHandle entryHandle - input
Handle that was returned by a previous call to cwbUP_CreateUpdateEntryHandle, cwbUP_GetUpdateEntryHandle, or to cwbUP_FindEntry.
char * entrySource - input/output
Pointer to a buffer that will receive the source path of the update entry.
unsigned long bufferLength - input
Length of the buffer. An extra byte should be included for the null termination character. If the buffer is not large enough to hold the entire source path, an error will be returned and the actualLength parameter will be set to the number of bytes the entrySource buffer needs to be to contain the data.
unsigned long * actualLength - input/output
Pointer to a length variable that will be set to the size of the buffer needed to contain the source path.

Return Codes

The following list shows common return values.

CWB_OK
Successful completion.
CWB_INVALID_HANDLE
Update entry handle is not valid.
CWB_INVALID_POINTER
NULL passed as an address parameter.
CWB_BUFFER_OVERFLOW
Buffer is too small to hold return data.

Usage

None