GetBytes
Applies to: SharePoint Foundation 2010
Retrieves a property value as binary data.
HRESULT GetBytes(
LPCSTR szName,
uint *pcbVal,
BYTE **ppbVal
);
Parameters
szName
The name of the document property.
pcbVal
A pointer to a variable that receives the size, in bytes, of the property data.
ppbVal
The address of a pointer variable that receives the pointer to a buffer that contains the property value.
Return Value
The method returns typical HRESULT values. In general, it should return a positive OK value when successful or a negative FAIL value when unsuccessful.