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
19c2b0bb
Commit
19c2b0bb
authored
Nov 11, 2006
by
Andrey Turkin
Committed by
Alexandre Julliard
Nov 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Fix incorrect prototypes.
parent
6ecdc5bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
atl_main.c
dlls/atl/atl_main.c
+7
-7
atlbase.h
dlls/atl/atlbase.h
+4
-4
No files found.
dlls/atl/atl_main.c
View file @
19c2b0bb
...
...
@@ -55,7 +55,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
#define ATLVer1Size 100
HRESULT
WINAPI
AtlModuleInit
(
_ATL_MODULE
A
*
pM
,
_ATL_OBJMAP_ENTRYA
*
p
,
HINSTANCE
h
)
HRESULT
WINAPI
AtlModuleInit
(
_ATL_MODULE
W
*
pM
,
_ATL_OBJMAP_ENTRYW
*
p
,
HINSTANCE
h
)
{
INT
i
;
UINT
size
;
...
...
@@ -63,7 +63,7 @@ HRESULT WINAPI AtlModuleInit(_ATL_MODULEA* pM, _ATL_OBJMAP_ENTRYA* p, HINSTANCE
FIXME
(
"SEMI-STUB (%p %p %p)
\n
"
,
pM
,
p
,
h
);
size
=
pM
->
cbSize
;
if
(
size
!=
sizeof
(
_ATL_MODULE
A
)
&&
size
!=
ATLVer1Size
)
if
(
size
!=
sizeof
(
_ATL_MODULE
W
)
&&
size
!=
ATLVer1Size
)
{
FIXME
(
"Unknown structure version (size %i)
\n
"
,
size
);
return
E_INVALIDARG
;
...
...
@@ -97,14 +97,14 @@ HRESULT WINAPI AtlModuleInit(_ATL_MODULEA* pM, _ATL_OBJMAP_ENTRYA* p, HINSTANCE
return
S_OK
;
}
HRESULT
WINAPI
AtlModuleLoadTypeLib
(
_ATL_MODULE
A
*
pM
,
LPCOLESTR
lpszIndex
,
HRESULT
WINAPI
AtlModuleLoadTypeLib
(
_ATL_MODULE
W
*
pM
,
LPCOLESTR
lpszIndex
,
BSTR
*
pbstrPath
,
ITypeLib
**
ppTypeLib
)
{
FIXME
(
"(%p, %s, %p, %p): stub
\n
"
,
pM
,
debugstr_w
(
lpszIndex
),
pbstrPath
,
ppTypeLib
);
return
E_FAIL
;
}
HRESULT
WINAPI
AtlModuleTerm
(
_ATL_MODULE
A
*
pM
)
HRESULT
WINAPI
AtlModuleTerm
(
_ATL_MODULE
W
*
pM
)
{
_ATL_TERMFUNC_ELEM
*
iter
=
pM
->
m_pTermFuncs
,
*
tmp
;
...
...
@@ -138,7 +138,7 @@ HRESULT WINAPI AtlModuleAddTermFunc(_ATL_MODULEW *pM, _ATL_TERMFUNC *pFunc, DWOR
return
S_OK
;
}
HRESULT
WINAPI
AtlModuleRegisterClassObjects
(
_ATL_MODULE
A
*
pM
,
DWORD
dwClsContext
,
HRESULT
WINAPI
AtlModuleRegisterClassObjects
(
_ATL_MODULE
W
*
pM
,
DWORD
dwClsContext
,
DWORD
dwFlags
)
{
HRESULT
hRes
=
S_OK
;
...
...
@@ -152,7 +152,7 @@ HRESULT WINAPI AtlModuleRegisterClassObjects(_ATL_MODULEA *pM, DWORD dwClsContex
while
(
pM
->
m_pObjMap
[
i
].
pclsid
!=
NULL
)
{
IUnknown
*
pUnknown
;
_ATL_OBJMAP_ENTRY
A
*
obj
=
&
(
pM
->
m_pObjMap
[
i
]);
_ATL_OBJMAP_ENTRY
W
*
obj
=
&
(
pM
->
m_pObjMap
[
i
]);
HRESULT
rc
;
TRACE
(
"Registering object %i
\n
"
,
i
);
...
...
@@ -174,7 +174,7 @@ HRESULT WINAPI AtlModuleRegisterClassObjects(_ATL_MODULEA *pM, DWORD dwClsContex
return
hRes
;
}
HRESULT
WINAPI
AtlModuleUnregisterServerEx
(
_ATL_MODULE
A
*
pM
,
BOOL
bUnRegTypeLib
,
const
CLSID
*
pCLSID
)
HRESULT
WINAPI
AtlModuleUnregisterServerEx
(
_ATL_MODULE
W
*
pM
,
BOOL
bUnRegTypeLib
,
const
CLSID
*
pCLSID
)
{
FIXME
(
"(%p, %i, %p) stub
\n
"
,
pM
,
bUnRegTypeLib
,
pCLSID
);
return
S_OK
;
...
...
dlls/atl/atlbase.h
View file @
19c2b0bb
...
...
@@ -151,13 +151,13 @@ HRESULT WINAPI AtlMarshalPtrInProc(IUnknown *pUnk, const IID *iid, IStream **ppS
void
WINAPI
AtlModuleAddCreateWndData
(
_ATL_MODULEW
*
pM
,
_AtlCreateWndData
*
pData
,
LPVOID
pvObject
);
HRESULT
WINAPI
AtlModuleAddTermFunc
(
_ATL_MODULEW
*
pM
,
_ATL_TERMFUNC
*
pFunc
,
DWORD_PTR
dw
);
LPVOID
WINAPI
AtlModuleExtractCreateWndData
(
_ATL_MODULEW
*
pM
);
HRESULT
WINAPI
AtlModuleInit
(
_ATL_MODULE
A
*
pM
,
_ATL_OBJMAP_ENTRYA
*
p
,
HINSTANCE
h
);
HRESULT
WINAPI
AtlModuleRegisterClassObjects
(
_ATL_MODULE
A
*
pM
,
DWORD
dwClsContext
,
DWORD
dwFlags
);
HRESULT
WINAPI
AtlModuleInit
(
_ATL_MODULE
W
*
pM
,
_ATL_OBJMAP_ENTRYW
*
p
,
HINSTANCE
h
);
HRESULT
WINAPI
AtlModuleRegisterClassObjects
(
_ATL_MODULE
W
*
pM
,
DWORD
dwClsContext
,
DWORD
dwFlags
);
HRESULT
WINAPI
AtlModuleRegisterServer
(
_ATL_MODULEW
*
pM
,
BOOL
bRegTypeLib
,
const
CLSID
*
pCLSID
);
HRESULT
WINAPI
AtlModuleUnregisterServer
(
_ATL_MODULEW
*
pM
,
const
CLSID
*
pCLSID
);
HRESULT
WINAPI
AtlModuleUpdateRegistryFromResourceD
(
_ATL_MODULEW
*
pM
,
LPCOLESTR
lpszRes
,
BOOL
bRegister
,
struct
_ATL_REGMAP_ENTRY
*
pMapEntries
,
IRegistrar
*
pReg
);
HRESULT
WINAPI
AtlModuleUnregisterServerEx
(
_ATL_MODULE
A
*
pM
,
BOOL
bUnRegTypeLib
,
const
CLSID
*
pCLSID
);
HRESULT
WINAPI
AtlModuleTerm
(
_ATL_MODULE
A
*
pM
);
HRESULT
WINAPI
AtlModuleUnregisterServerEx
(
_ATL_MODULE
W
*
pM
,
BOOL
bUnRegTypeLib
,
const
CLSID
*
pCLSID
);
HRESULT
WINAPI
AtlModuleTerm
(
_ATL_MODULE
W
*
pM
);
HRESULT
WINAPI
AtlUnadvise
(
IUnknown
*
pUnkCP
,
const
IID
*
iid
,
DWORD
dw
);
HRESULT
WINAPI
AtlUnmarshalPtr
(
IStream
*
pStream
,
const
IID
*
iid
,
IUnknown
**
ppUnk
);
...
...
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