| OLESTATUS OleQuerySize(lpObject, pdwSize) | |||||
| LPOLEOBJECT lpObject; | /* pointer to object to query | */ | |||
| DWORD FAR* pdwSize; | /* pointer to size of object | */ | |||
The OleQuerySize function retrieves the size of the specified object.
lpObject
Points to the object to query.
pdwSize
Points to a variable for the size of the object. This variable contains the size of the object when the function returns.
The return value is OLE_OK if the function is successful. Otherwise, it is an error value, which can be one of the following:
OLE_ERROR_BLANK
    OLE_ERROR_MEMORY
    OLE_ERROR_OBJECT
OleLoadFromStream