Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f8c8355d
Commit
f8c8355d
authored
Jun 07, 2007
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Implementation of state bits for IStorage.
parent
c2fdea60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
storage32.c
dlls/ole32/storage32.c
+4
-2
storage32.h
dlls/ole32/storage32.h
+5
-0
No files found.
dlls/ole32/storage32.c
View file @
f8c8355d
...
...
@@ -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
;
}
/*
...
...
dlls/ole32/storage32.h
View file @
f8c8355d
...
...
@@ -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
;
};
/****************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment