9.6.14 OleQuerySize

OLESTATUS OleQuerySize(lpObject, pdwSize)

LPOLEOBJECT lpObject;

DWORD FAR * pdwSize;

The OleQuerySize function retrieves the size of the specified object.

Parameter Description

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 successful; otherwise, it is OLE_ERROR_OBJECT.

See AlsoOleLoadFromStream