Applies to: desktop apps only
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.
This method can return one of these values.
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.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010