ParseNextField

The ParseNextField function is used to parse and return the next field from string. This utility function is used to construct an integrated link service configuration DLL.

void ParseNextField(
  LPSTR szParseString,
  LPSTR szField,
  char scDelimiter,
  LPDWORD dStartIndex
);

Parameters

szParseString
This supplied parameter specifies the string to parse.
szField
This supplied and returned specifies the return buffer for the next field.
cDelimiter
This supplied parameter specifies the delimiter character for the end of a field.
dStartIndex
This supplied parameter specifies a pointer to the index in bytes from beginning of the szParseString to start the search from.

Return Values

true
The next field was found.
false
The next field was not found.

Notes

The '^' character can be used as an escape character to allow the delimiter to be used.