WsFreeServiceHost function (webservices.h)

Releases the memory associated with a Service Host object.

Syntax

void WsFreeServiceHost(
  [in] WS_SERVICE_HOST *serviceHost
);

Parameters

[in] serviceHost

A pointer to the Service Host object to release. The pointer must reference a valid WS_SERVICE_HOST object returned by WsCreateServiceHost and the referenced Service Host value may not be NULL.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header webservices.h
Library WebServices.lib
DLL WebServices.dll