WdsTransportServerAllocateBuffer function (wdstpdi.h)

Allocates a buffer in memory.

Syntax

PVOID WDSMCSAPI WdsTransportServerAllocateBuffer(
  [in] HANDLE hProvider,
  [in] ULONG  ulBufferSize
);

Parameters

[in] hProvider

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

[in] ulBufferSize

Size of the buffer to be allocated.

Return value

None

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