GetObjectSize method
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 long
Pointer 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.
Show: