This method of the IStorage interface stores up to 32 bits of state information in this storage object.
public void SetStateBits(int grfStateBits, int grfMask);
S_OK -- The state information was successfully set.
E_PENDING -- Asynchronous storage only: Part or all of the storage's data is currently unavailable.
STG_E_ACCESSDENIED -- The caller does not have sufficient permissions for changing this storage object.
STG_E_INVALIDFLAG -- The value for the grfStateBits or grfMask parameters are not valid.
STG_E_INVALIDPARAMETER -- One of the parameters was invalid.
grfStateBits | [in] 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 | [in] A binary mask indicating which bits in grfStateBits are significant in this call. |