WdsTransportServerFreeBuffer function (wdstpdi.h)

Releases memory used by a buffer.

Syntax

HRESULT WDSMCSAPI WdsTransportServerFreeBuffer(
  [in] HANDLE hProvider,
  [in] PVOID  pvBuffer
);

Parameters

[in] hProvider

Handle to the provider. This handle was given to the provider in the WdsTransportProviderInitialize function.

[in] pvBuffer

Pointer to location of buffer to be released.

Return value

If the function succeeds, the return is S_OK.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]
Target Platform Windows
Header wdstpdi.h
Library Wdsmc.lib
DLL Wdsmc.dll