The GetBufferAndSize method gets the actual data from the memory buffer, and the actual size (not the allocated size) of the buffer.
HRESULT GetBufferAndSize( [out] BYTE** ppBuffer, [out] DWORD* pdwSize );
Address of a variable that receives a pointer to the buffer.
Pointer to a DWORD variable that receives the actual size, in bytes, of the buffer.
The method succeeded.
Returned if the client and server are not in the same apartment. This may happen if the filter is not an in-process server.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspsrv.exe. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.