Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets an IMemoryBuffer as an array of bytes.
Syntax
HRESULT GetBuffer(
[out] BYTE **value,
[out] UINT32 *capacity
);
Parameters
-
value [out]
-
A pointer to a byte array containing the buffer data.
-
capacity [out]
-
The number of bytes in the returned array
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
When MemoryBuffer::Close is called, the code using this buffer should set the value pointer to null.
See also