IPropertyStorage::Stat method

The Stat method retrieves information about the current open property set.

Syntax


HRESULT Stat(
  [out] STATPROPSETSTG *pstatpsstg
);

Parameters

pstatpsstg [out]

Pointer to a STATPROPSETSTG structure, which contains statistics about the current open property set.

Return value

This method supports the standard return value E_UNEXPECTED, in addition to the following:

S_OK

Statistics were successfully obtained.

STG_E_ACCESSDENIED

The requested access to the property storage object has been denied.

STG_E_INSUFFICIENTMEMORY

There is not enough memory to perform this operation.

STG_E_INVALIDPARAMETER

The parameter is not valid.

Remarks

IPropertyStorage::Stat fills in and returns a pointer to a STATPROPSETSTG structure, containing statistics about the current property set.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Propidl.h (include Objbase.h)

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_IPropertyStorage is defined as 00000138-0000-0000-C000-000000000046

See also

STATPROPSETSTG
IPropertySetStorage::Enum
FILETIME

 

 

Show: