Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The AllocateBuffer method allocates a new buffer.
HRESULT AllocateBuffer(
DWORD dwMaxBufferSize,
INSSBuffer** ppBuffer
);
Arguments
dwMaxBufferSize |
[in] DWORD containing the maximum size to allocate for the buffer. |
ppBuffer |
[out] Pointer to a pointer to an INSSBufferINSSBuffer Interface containing the allocated buffer. |
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code |
Number |
Description |
|---|---|---|
E_OUTOFMEMORY |
0x8007000E |
There is insufficient memory to complete the function. |
Requirements
Header: wmspacket.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.