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
0c67e653
Commit
0c67e653
authored
Jan 10, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100: Added AtlWaitWithMessageLoop implementation.
parent
07065b4d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
3 deletions
+32
-3
atl.spec
dlls/atl/atl.spec
+1
-1
atl.c
dlls/atl100/atl.c
+28
-0
atl100.spec
dlls/atl100/atl100.spec
+1
-1
atl80.spec
dlls/atl80/atl80.spec
+1
-1
atlbase.h
include/atlbase.h
+1
-0
No files found.
dlls/atl/atl.spec
View file @
0c67e653
...
...
@@ -16,7 +16,7 @@
21 stdcall AtlModuleTerm(ptr)
22 stdcall AtlModuleUnregisterServer(ptr ptr)
23 stdcall AtlModuleUpdateRegistryFromResourceD(ptr wstr long ptr ptr)
24 st
ub
AtlWaitWithMessageLoop
24 st
dcall AtlWaitWithMessageLoop(long) atl100.
AtlWaitWithMessageLoop
25 stub AtlSetErrorInfo
26 stdcall AtlCreateTargetDC(long ptr) atl100.AtlCreateTargetDC
27 stdcall AtlHiMetricToPixel(ptr ptr) atl100.AtlHiMetricToPixel
...
...
dlls/atl100/atl.c
View file @
0c67e653
...
...
@@ -518,6 +518,34 @@ HRESULT WINAPI AtlRegisterClassCategoriesHelper(REFCLSID clsid, const struct _AT
}
/***********************************************************************
* AtlWaitWithMessageLoop [atl100.24]
*/
BOOL
WINAPI
AtlWaitWithMessageLoop
(
HANDLE
handle
)
{
MSG
msg
;
DWORD
res
;
TRACE
(
"(%p)
\n
"
,
handle
);
while
(
1
)
{
res
=
MsgWaitForMultipleObjects
(
1
,
&
handle
,
FALSE
,
INFINITE
,
QS_ALLINPUT
);
switch
(
res
)
{
case
WAIT_OBJECT_0
:
return
TRUE
;
case
WAIT_OBJECT_0
+
1
:
if
(
GetMessageW
(
&
msg
,
NULL
,
0
,
0
)
<
0
)
return
FALSE
;
TranslateMessage
(
&
msg
);
DispatchMessageW
(
&
msg
);
break
;
default:
return
FALSE
;
}
}
}
/***********************************************************************
* AtlGetVersion [atl100.@]
*/
DWORD
WINAPI
AtlGetVersion
(
void
*
pReserved
)
...
...
dlls/atl100/atl100.spec
View file @
0c67e653
...
...
@@ -8,7 +8,7 @@
20 stub AtlComModuleRevokeClassObjects
22 stub AtlComModuleUnregisterServer
23 stdcall AtlUpdateRegistryFromResourceD(long wstr long ptr ptr)
24 st
ub AtlWaitWithMessageLoop
24 st
dcall AtlWaitWithMessageLoop(long)
25 stub AtlSetErrorInfo
26 stdcall AtlCreateTargetDC(long ptr)
27 stdcall AtlHiMetricToPixel(ptr ptr)
...
...
dlls/atl80/atl80.spec
View file @
0c67e653
...
...
@@ -10,7 +10,7 @@
20 stub AtlComModuleRevokeClassObjects
22 stub AtlComModuleUnregisterServer
23 stdcall AtlUpdateRegistryFromResourceD(long wstr long ptr ptr) atl100.AtlUpdateRegistryFromResourceD
24 st
ub
AtlWaitWithMessageLoop
24 st
dcall AtlWaitWithMessageLoop(long) atl100.
AtlWaitWithMessageLoop
25 stub AtlSetErrorInfo
26 stdcall AtlCreateTargetDC(long ptr) atl100.AtlCreateTargetDC
27 stdcall AtlHiMetricToPixel(ptr ptr) atl100.AtlHiMetricToPixel
...
...
include/atlbase.h
View file @
0c67e653
...
...
@@ -255,5 +255,6 @@ HRESULT WINAPI AtlLoadTypeLib(HINSTANCE,LPCOLESTR,BSTR*,ITypeLib**);
HRESULT
WINAPI
AtlRegisterTypeLib
(
HINSTANCE
,
LPCOLESTR
);
HRESULT
WINAPI
AtlRegisterClassCategoriesHelper
(
REFCLSID
,
const
struct
_ATL_CATMAP_ENTRY
*
,
BOOL
);
HRESULT
WINAPI
AtlComModuleGetClassObject
(
_ATL_COM_MODULE
*
,
REFCLSID
,
REFIID
,
void
**
);
BOOL
WINAPI
AtlWaitWithMessageLoop
(
HANDLE
);
#endif
/* __WINE_ATLBASE_H__ */
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