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.
Retrieves the size, in bytes, of the data object (for example, a surface or buffer).
Syntax
HRESULT retVal = object.GetObjectSize(pcbSize);
Parameters
pcbSize [out]
Type: unsigned longPointer to the location to store the object size, in bytes.
Remarks
If the value returned to pcbSize is 0, the actual size of the object is indeterminate.