FormatSnaCfgOutput

The FormatSnaCfgOutput function is used to format a configuration buffer into command-line output for use in configuring a link service using a command line. This function must be exported from a link service configuration DLL supplied with each link service.

__declspec(dllexport) BOOL WINAPI FormatSnaCfgOutput(
  LPSTR * szConfigInfo,
  LPDWORD dConfigInfoSize,
  LPSTR *szCommandString 
);

Parameters

szConfigInfo
This supplied parameter points to a configuration buffer containing information that is to be used to configure the link service.
dConfigInfoSize
This supplied parameter specifies the size of the szConfigInfo configuration buffer.
szCommandString
This supplied and returned parameter specifies the location of a command-line string that is to hold the configuration information extracted from a 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.