CommandLineAdd
The CommandLineAdd function is used to add a new link service using a command-line interface. This function must be exported from a link service configuration DLL supplied with each link service.
__declspec(dllexport) BOOL WINAPI CommandLineAdd(
LPSTR szCommandLine,
LPSTR *szConfigInfo,
LPDWORD dConfigInfoSize
);
Parameters
-
szCommandLIne
-
This supplied parameter specifies the command line containing information on the computer and link service to be configured.
-
szConfigInfo
-
This supplied and returned parameter points to a configuration buffer that is used to configure the link service.
-
dConfigInfoSize
-
This supplied parameter specifies the size of the szConfigInfo configuration buffer .
Return Values
-
true
-
The function executed successfully.
-
false
-
One or more of the parameters passed to this function are invalid or the function failed.