mirror of
https://github.com/reactos/wine.git
synced 2025-02-09 05:36:56 +00:00
ole32: Implementation of state bits for IStorage.
This commit is contained in:
parent
c2fdea600a
commit
f8c8355d85
@ -753,6 +753,7 @@ static HRESULT WINAPI StorageBaseImpl_Stat(
|
||||
grfStatFlag);
|
||||
|
||||
pstatstg->grfMode = This->openFlags;
|
||||
pstatstg->grfStateBits = This->stateBits;
|
||||
|
||||
res = S_OK;
|
||||
goto end;
|
||||
@ -2352,8 +2353,9 @@ static HRESULT WINAPI StorageImpl_SetStateBits(
|
||||
DWORD grfStateBits,/* [in] */
|
||||
DWORD grfMask) /* [in] */
|
||||
{
|
||||
FIXME("not implemented!\n");
|
||||
return E_NOTIMPL;
|
||||
StorageImpl* const This = (StorageImpl*)iface;
|
||||
This->base.stateBits = (This->base.stateBits & ~grfMask) | (grfStateBits & grfMask);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -245,6 +245,11 @@ struct StorageBaseImpl
|
||||
* flags that this storage was opened or created with
|
||||
*/
|
||||
DWORD openFlags;
|
||||
|
||||
/*
|
||||
* State bits appear to only be preserved while running. No in the stream
|
||||
*/
|
||||
DWORD stateBits;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user