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
bcb251d5
Commit
bcb251d5
authored
Aug 25, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Aug 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused thread handle entry from the apartment structure.
parent
876982df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
compobj.c
dlls/ole32/compobj.c
+0
-4
compobj_private.h
dlls/ole32/compobj_private.h
+0
-1
No files found.
dlls/ole32/compobj.c
View file @
bcb251d5
...
@@ -224,9 +224,6 @@ static APARTMENT *apartment_construct(DWORD model)
...
@@ -224,9 +224,6 @@ static APARTMENT *apartment_construct(DWORD model)
apt
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
apt
));
apt
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
apt
));
apt
->
tid
=
GetCurrentThreadId
();
apt
->
tid
=
GetCurrentThreadId
();
DuplicateHandle
(
GetCurrentProcess
(),
GetCurrentThread
(),
GetCurrentProcess
(),
&
apt
->
thread
,
THREAD_ALL_ACCESS
,
FALSE
,
0
);
list_init
(
&
apt
->
proxies
);
list_init
(
&
apt
->
proxies
);
list_init
(
&
apt
->
stubmgrs
);
list_init
(
&
apt
->
stubmgrs
);
...
@@ -360,7 +357,6 @@ DWORD apartment_release(struct apartment *apt)
...
@@ -360,7 +357,6 @@ DWORD apartment_release(struct apartment *apt)
DEBUG_CLEAR_CRITSEC_NAME
(
&
apt
->
cs
);
DEBUG_CLEAR_CRITSEC_NAME
(
&
apt
->
cs
);
DeleteCriticalSection
(
&
apt
->
cs
);
DeleteCriticalSection
(
&
apt
->
cs
);
CloseHandle
(
apt
->
thread
);
HeapFree
(
GetProcessHeap
(),
0
,
apt
);
HeapFree
(
GetProcessHeap
(),
0
,
apt
);
}
}
...
...
dlls/ole32/compobj_private.h
View file @
bcb251d5
...
@@ -127,7 +127,6 @@ struct apartment
...
@@ -127,7 +127,6 @@ struct apartment
LONG
refs
;
/* refcount of the apartment (LOCK) */
LONG
refs
;
/* refcount of the apartment (LOCK) */
DWORD
model
;
/* threading model (RO) */
DWORD
model
;
/* threading model (RO) */
DWORD
tid
;
/* thread id (RO) */
DWORD
tid
;
/* thread id (RO) */
HANDLE
thread
;
/* thread handle (RO) */
OXID
oxid
;
/* object exporter ID (RO) */
OXID
oxid
;
/* object exporter ID (RO) */
LONG
ipidc
;
/* interface pointer ID counter, starts at 1 (LOCK) */
LONG
ipidc
;
/* interface pointer ID counter, starts at 1 (LOCK) */
HWND
win
;
/* message window (RO) */
HWND
win
;
/* message window (RO) */
...
...
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