ExtractNextParameter

The ExtractNextParameter function is used to get the next parameter from a buffer. This utility function is used to construct an integrated link service configuration DLL.

BOOL ExtractNextParameter(
  LPSTR szSourceBuffer,
  LPSTR szParameter,
  LPDWORD dStartIndex
);

Parameters

szSourceBuffer
This supplied parameter specifies the source buffer.
szParameter
This supplied and returned parameter specifies the return buffer for parameters.
dStartIndex
This supplied parameter contains the DWORD index to begin parameter scan.

Return Values

true
The function executed successfully and the next parameter was located and returned in the szParameter argument.
false
The function failed.

Remarks

Parameters are delimited by a space character. Quotes can be used to include spaces in a parameter.