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
d0a345f9
Commit
d0a345f9
authored
Jan 18, 2009
by
Andrey Turkin
Committed by
Alexandre Julliard
Jan 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add a few fields to OLE TLS area to match native memory layout.
parent
a06f568a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
compobj.c
dlls/ole32/compobj.c
+4
-1
compobj_private.h
dlls/ole32/compobj_private.h
+6
-1
No files found.
dlls/ole32/compobj.c
View file @
d0a345f9
...
...
@@ -3951,9 +3951,12 @@ HRESULT WINAPI CoGetObjectContext(REFIID riid, void **ppv)
*/
HRESULT
WINAPI
CoGetContextToken
(
ULONG_PTR
*
token
)
{
struct
oletls
*
info
=
COM_CurrentInfo
();
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"stub
\n
"
);
if
(
token
)
*
token
=
0
;
if
(
!
info
)
return
E_OUTOFMEMORY
;
if
(
token
)
*
token
=
info
->
context_token
;
return
E_NOTIMPL
;
}
...
...
dlls/ole32/compobj_private.h
View file @
d0a345f9
...
...
@@ -175,13 +175,18 @@ struct oletls
struct
apartment
*
apt
;
IErrorInfo
*
errorinfo
;
/* see errorinfo.c */
IUnknown
*
state
;
/* see CoSetState */
DWORD
apt_mask
;
/* apartment mask (+0Ch on x86) */
IInitializeSpy
*
spy
;
/* The "SPY" from CoInitializeSpy */
DWORD
inits
;
/* number of times CoInitializeEx called */
DWORD
ole_inits
;
/* number of times OleInitialize called */
GUID
causality_id
;
/* unique identifier for each COM call */
LONG
pending_call_count_client
;
/* number of client calls pending */
LONG
pending_call_count_server
;
/* number of server calls pending */
IUnknown
*
call_state
;
/* current call context */
DWORD
unknown
;
ULONG_PTR
context_token
;
/* (+38h on x86) */
IUnknown
*
call_state
;
/* current call context (+3Ch on x86) */
DWORD
unknown2
[
46
];
IUnknown
*
cancel_object
;
/* cancel object set by CoSetCancelObject (+F8h on x86) */
};
...
...
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