IStorage::SetStateBits method

The SetStateBits method stores up to 32 bits of state information in this storage object. This method is reserved for future use.

Syntax

HRESULT SetStateBits(
  DWORD grfStateBits,
  DWORD grfMask
);

Parameters

grfStateBits

Specifies the new values of the bits to set. No legal values are defined for these bits; they are all reserved for future use and must not be used by applications.

grfMask

A binary mask indicating which bits in grfStateBits are significant in this call.

Return Value

This method can return one of these values.

Remarks

The values for the state bits are not currently defined.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header objidl.h
Library Uuid.lib
DLL Ole32.dll

See Also

IStorage - Compound File Implementation

IStorage::Stat