ConfigureLinkServiceEx

The ConfigureLinkServiceEx function is used to add or modify a link service. This function must be exported from a link service configuration DLL supplied with each link service.

__declspec(dllexport) BOOL WINAPI ConfigureLinkServiceEx(
  LPSTR szComputerName,
  LPSTR szLinkServiceTitle,
  LPSTR* pvConfigInfoz,
  LPDWORD dConfigInfoSize
);

Parameters

szComputerName
This supplied parameter specifies the name of the computer that is to be configured.
szLinkServiceTitle
This supplied parameter specifies the title of the link service that is to be configured.
pvConfigInfo
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 pvConfigInfo configuration buffer.

Return Values

true
The function executed successfully and network bindings need to be recalculated.
false
One or more of the parameters passed to this function are invalid or network bindings do not need to be recalculated.