Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1e1313d5
Commit
1e1313d5
authored
Nov 04, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
parent
cd26935c
Hide whitespace changes
Inline
Side-by-side
Showing
75 changed files
with
72 additions
and
148 deletions
+72
-148
avifil32.spec
dlls/avifil32/avifil32.spec
+0
-2
factory.c
dlls/avifil32/factory.c
+2
-3
comcat.spec
dlls/comcat/comcat.spec
+0
-2
comcat_main.c
dlls/comcat/comcat_main.c
+2
-2
comctl32.spec
dlls/comctl32/comctl32.spec
+0
-2
commctrl.c
dlls/comctl32/commctrl.c
+2
-3
cdlg32.c
dlls/commdlg/cdlg32.c
+2
-2
comdlg32.spec
dlls/commdlg/comdlg32.spec
+0
-2
crtdll.spec
dlls/crtdll/crtdll.spec
+0
-1
crtdll_main.c
dlls/crtdll/crtdll_main.c
+2
-2
d3d8.spec
dlls/d3d8/d3d8.spec
+0
-2
d3d8_main.c
dlls/d3d8/d3d8_main.c
+1
-1
ddraw.spec
dlls/ddraw/ddraw.spec
+0
-2
main.c
dlls/ddraw/main.c
+1
-1
dinput.spec
dlls/dinput/dinput.spec
+0
-2
dinput_main.c
dlls/dinput/dinput_main.c
+1
-1
dplayx.spec
dlls/dplayx/dplayx.spec
+0
-2
dplayx_main.c
dlls/dplayx/dplayx_main.c
+1
-1
gdi32.spec
dlls/gdi/gdi32.spec
+0
-2
gdi_main.c
dlls/gdi/gdi_main.c
+1
-1
imagehlp.spec
dlls/imagehlp/imagehlp.spec
+0
-2
imagehlp_main.c
dlls/imagehlp/imagehlp_main.c
+2
-3
msacm32.spec
dlls/msacm/msacm32.spec
+0
-2
msacm32_main.c
dlls/msacm/msacm32_main.c
+2
-2
msisys.c
dlls/msisys/msisys.c
+2
-2
msisys.ocx.spec
dlls/msisys/msisys.ocx.spec
+0
-2
main.c
dlls/msvcrt/main.c
+1
-1
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+0
-1
msrle32.c
dlls/msvideo/msrle32/msrle32.c
+1
-1
msrle32.spec
dlls/msvideo/msrle32/msrle32.spec
+0
-2
netapi32.c
dlls/netapi32/netapi32.c
+1
-2
netapi32.spec
dlls/netapi32/netapi32.spec
+0
-2
odbc32.spec
dlls/odbc32/odbc32.spec
+0
-2
proxyodbc.c
dlls/odbc32/proxyodbc.c
+2
-3
ole32.spec
dlls/ole32/ole32.spec
+0
-2
ole32_main.c
dlls/ole32/ole32_main.c
+2
-2
opengl32.spec
dlls/opengl32/opengl32.spec
+0
-2
wgl.c
dlls/opengl32/wgl.c
+1
-1
riched32.spec
dlls/richedit/riched32.spec
+0
-2
richedit.c
dlls/richedit/richedit.c
+2
-3
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+0
-2
rpcrt4_main.c
dlls/rpcrt4/rpcrt4_main.c
+2
-3
confdlg.c
dlls/serialui/confdlg.c
+2
-3
serialui.spec
dlls/serialui/serialui.spec
+0
-2
shell32.spec
dlls/shell32/shell32.spec
+0
-2
shell32_main.c
dlls/shell32/shell32_main.c
+2
-2
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+0
-2
shlwapi_main.c
dlls/shlwapi/shlwapi_main.c
+2
-2
main.c
dlls/snmpapi/main.c
+2
-2
snmpapi.spec
dlls/snmpapi/snmpapi.spec
+0
-2
ttydrv.spec
dlls/ttydrv/ttydrv.spec
+0
-2
ttydrv_main.c
dlls/ttydrv/ttydrv_main.c
+1
-1
twain32_main.c
dlls/twain/twain32_main.c
+1
-2
twain_32.spec
dlls/twain/twain_32.spec
+0
-2
urlmon.spec
dlls/urlmon/urlmon.spec
+0
-2
urlmon_main.c
dlls/urlmon/urlmon_main.c
+2
-3
winaspi32.c
dlls/winaspi/winaspi32.c
+1
-1
wnaspi32.spec
dlls/winaspi/wnaspi32.spec
+0
-2
dosvm.c
dlls/winedos/dosvm.c
+2
-2
winedos.spec
dlls/winedos/winedos.spec
+0
-2
init.c
dlls/wineps/init.c
+3
-3
wineps.spec
dlls/wineps/wineps.spec
+0
-2
internet.c
dlls/wininet/internet.c
+2
-3
wininet.spec
dlls/wininet/wininet.spec
+0
-2
mciavi.c
dlls/winmm/mciavi/mciavi.c
+1
-1
mciavi.drv.spec
dlls/winmm/mciavi/mciavi.drv.spec
+0
-2
winmm.c
dlls/winmm/winmm.c
+2
-2
winmm.spec
dlls/winmm/winmm.spec
+0
-2
socket.c
dlls/winsock/socket.c
+2
-2
ws2_32.spec
dlls/winsock/ws2_32.spec
+0
-3
winspool.drv.spec
dlls/winspool/winspool.drv.spec
+0
-2
wspool.c
dlls/winspool/wspool.c
+2
-4
x11drv.spec
dlls/x11drv/x11drv.spec
+0
-2
x11drv_main.c
dlls/x11drv/x11drv_main.c
+1
-1
spec32.c
tools/winebuild/spec32.c
+11
-1
No files found.
dlls/avifil32/avifil32.spec
View file @
1e1313d5
init AVIFILE_DllMain
@ stub AVIBuildFilter
@ stdcall AVIBuildFilterA(str long long) AVIBuildFilterA
@ stdcall AVIBuildFilterW(wstr long long) AVIBuildFilterW
...
...
dlls/avifil32/factory.c
View file @
1e1313d5
...
...
@@ -195,10 +195,9 @@ DWORD WINAPI AVIFILE_DllCanUnloadNow(void)
}
/*****************************************************************************
*
AVIFILE_DllMain [internal
]
*
DllMain [AVIFIL32.init
]
*/
BOOL
WINAPI
AVIFILE_DllMain
(
HINSTANCE
hInstDll
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDll
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(%p,%lu,%p)
\n
"
,
hInstDll
,
fdwReason
,
lpvReserved
);
...
...
dlls/comcat/comcat.spec
View file @
1e1313d5
init COMCAT_DllEntryPoint
@ stdcall DllCanUnloadNow() COMCAT_DllCanUnloadNow
@ stdcall DllGetClassObject(ptr ptr ptr) COMCAT_DllGetClassObject
@ stdcall DllRegisterServer() COMCAT_DllRegisterServer
...
...
dlls/comcat/comcat_main.c
View file @
1e1313d5
...
...
@@ -62,9 +62,9 @@ static struct regsvr_entry regsvr_entries[6] = {
};
/***********************************************************************
* Dll
EntryPoint
* Dll
Main
*/
BOOL
WINAPI
COMCAT_DllEntryPoint
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"%p 0x%lx %p
\n
"
,
hinstDLL
,
fdwReason
,
fImpLoad
);
...
...
dlls/comctl32/comctl32.spec
View file @
1e1313d5
init COMCTL32_LibMain
# Functions exported by the Win95 comctl32.dll
# (these need to have these exact ordinals, because some win95 dlls
# import comctl32.dll by ordinal)
...
...
dlls/comctl32/commctrl.c
View file @
1e1313d5
...
...
@@ -127,7 +127,7 @@ static const WORD wPattern55AA[] =
/***********************************************************************
*
COMCTL32_Lib
Main [Internal] Initializes the internal 'COMCTL32.DLL'.
*
Dll
Main [Internal] Initializes the internal 'COMCTL32.DLL'.
*
* PARAMS
* hinstDLL [I] handle to the 'dlls' instance
...
...
@@ -139,8 +139,7 @@ static const WORD wPattern55AA[] =
* Failure: FALSE
*/
BOOL
WINAPI
COMCTL32_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%lx,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/commdlg/cdlg32.c
View file @
1e1313d5
...
...
@@ -52,7 +52,7 @@ BOOL (WINAPI *COMDLG32_SHGetFolderPathA)(HWND,int,HANDLE,DWORD,LPSTR);
BOOL
(
WINAPI
*
COMDLG32_SHGetFolderPathW
)(
HWND
,
int
,
HANDLE
,
DWORD
,
LPWSTR
);
/***********************************************************************
*
COMDLG32_DllEntryPoint
(COMDLG32.init)
*
DllMain
(COMDLG32.init)
*
* Initialization code for the COMDLG32 DLL
*
...
...
@@ -68,7 +68,7 @@ static char * GPA_string = "Failed to get entry point %s for hinst = 0x%08x\n";
return FALSE; \
}
BOOL
WINAPI
COMDLG32_DllEntryPoint
(
HINSTANCE
hInstance
,
DWORD
Reason
,
LPVOID
Reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstance
,
DWORD
Reason
,
LPVOID
Reserved
)
{
TRACE
(
"(%08x, %08lx, %p)
\n
"
,
hInstance
,
Reason
,
Reserved
);
...
...
dlls/commdlg/comdlg32.spec
View file @
1e1313d5
init COMDLG32_DllEntryPoint
@ stdcall ChooseColorA(ptr) ChooseColorA
@ stdcall ChooseColorW(ptr) ChooseColorW
@ stdcall ChooseFontA(ptr) ChooseFontA
...
...
dlls/crtdll/crtdll.spec
View file @
1e1313d5
# Old C runtime library. All functions provided by msvcrt
init CRTDLL_Init
@ forward ??2@YAPAXI@Z msvcrt.??2@YAPAXI@Z
@ forward ??3@YAXPAX@Z msvcrt.??3@YAXPAX@Z
...
...
dlls/crtdll/crtdll_main.c
View file @
1e1313d5
...
...
@@ -77,9 +77,9 @@ static void convert_struct_stat( struct crtdll_stat *dst, const struct _stat *sr
/*********************************************************************
*
CRTDLL_MainInit
(CRTDLL.init)
*
DllMain
(CRTDLL.init)
*/
BOOL
WINAPI
CRTDLL_Init
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(%p,%ld,%p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/d3d8/d3d8.spec
View file @
1e1313d5
init D3D8_DllMain
@ stdcall D3D8GetSWInfo() D3D8GetSWInfo
@ stdcall DebugSetMute() DebugSetMute
@ stdcall Direct3DCreate8(long) Direct3DCreate8
...
...
dlls/d3d8/d3d8_main.c
View file @
1e1313d5
...
...
@@ -70,7 +70,7 @@ IDirect3D8* WINAPI Direct3DCreate8(UINT SDKVersion)
}
/* At process attach */
BOOL
WINAPI
D
3D8_D
llMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
{
TRACE
(
"fdwReason=%ld
\n
"
,
fdwReason
);
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
...
...
dlls/ddraw/ddraw.spec
View file @
1e1313d5
init DDRAW_DllMain
@ stub DDHAL32_VidMemAlloc
@ stub DDHAL32_VidMemFree
@ stub DDInternalLock
...
...
dlls/ddraw/main.c
View file @
1e1313d5
...
...
@@ -498,7 +498,7 @@ static int DDRAW_ChooseDefaultDriver(void)
return
best
;
}
BOOL
WINAPI
D
DRAW_D
llMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
{
/* If we were sufficiently cool, DDraw drivers would just be COM
* objects, registered with a particular component category. */
...
...
dlls/dinput/dinput.spec
View file @
1e1313d5
init Init
@ stdcall DirectInputCreateA(long long ptr ptr) DirectInputCreateA
@ stub DirectInputCreateW
@ stdcall DirectInputCreateEx(long long ptr ptr ptr) DirectInputCreateEx
...
...
dlls/dinput/dinput_main.c
View file @
1e1313d5
...
...
@@ -50,7 +50,7 @@ static ICOM_VTABLE(IDirectInput8A) ddi8avt;
static
dinput_device
*
dinput_devices
[
MAX_WINE_DINPUT_DEVICES
];
static
int
nrof_dinput_devices
=
0
;
BOOL
WINAPI
Init
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserv
)
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserv
)
{
switch
(
reason
)
{
...
...
dlls/dplayx/dplayx.spec
View file @
1e1313d5
init DPLAYX_LibMain
1 stdcall DirectPlayCreate(ptr ptr ptr) DirectPlayCreate
2 stdcall DirectPlayEnumerateA(ptr ptr) DirectPlayEnumerateA
3 stdcall DirectPlayEnumerateW(ptr ptr) DirectPlayEnumerateW
...
...
dlls/dplayx/dplayx_main.c
View file @
1e1313d5
...
...
@@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dplay);
DWORD
gdwDPlaySPRefCount
=
0
;
/* FIXME: Should it be initialized here? */
BOOL
WINAPI
D
PLAYX_Lib
Main
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
D
ll
Main
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(%p,0x%08lx,%p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/gdi/gdi32.spec
View file @
1e1313d5
init MAIN_GdiInit
# ordinal exports
100 stdcall @(long long str str str) GDI_CallDevInstall16
101 stdcall @(long str str ptr) GDI_CallExtDeviceModePropSheet16
...
...
dlls/gdi/gdi_main.c
View file @
1e1313d5
...
...
@@ -29,7 +29,7 @@
/***********************************************************************
* GDI initialisation routine
*/
BOOL
WINAPI
MAIN_GdiInit
(
HINSTANCE
hinstDLL
,
DWORD
reason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
reason
,
LPVOID
lpvReserved
)
{
if
(
reason
!=
DLL_PROCESS_ATTACH
)
return
TRUE
;
return
GDI_Init
();
...
...
dlls/imagehlp/imagehlp.spec
View file @
1e1313d5
init IMAGEHLP_LibMain
@ stdcall BindImage(str str str) BindImage
@ stdcall BindImageEx(long str str str ptr) BindImageEx
@ stdcall CheckSumMappedFile(ptr long ptr ptr) CheckSumMappedFile
...
...
dlls/imagehlp/imagehlp_main.c
View file @
1e1313d5
...
...
@@ -33,10 +33,9 @@ HANDLE IMAGEHLP_hHeap = (HANDLE) NULL;
static
API_VERSION
IMAGEHLP_ApiVersion
=
{
4
,
0
,
0
,
5
};
/***********************************************************************
*
IMAGEHLP_Lib
Main (IMAGEHLP.init)
*
Dll
Main (IMAGEHLP.init)
*/
BOOL
WINAPI
IMAGEHLP_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
switch
(
fdwReason
)
{
...
...
dlls/msacm/msacm32.spec
View file @
1e1313d5
init MSACM32_LibMain
@ stdcall acmDriverAddA(ptr long long long long) acmDriverAddA
@ stdcall acmDriverAddW(ptr long long long long) acmDriverAddW
@ stdcall acmDriverClose(long long) acmDriverClose
...
...
dlls/msacm/msacm32_main.c
View file @
1e1313d5
...
...
@@ -36,9 +36,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(msacm);
HINSTANCE
MSACM_hInstance32
=
0
;
/***********************************************************************
*
MSACM_Lib
Main (MSACM32.init)
*
Dll
Main (MSACM32.init)
*/
BOOL
WINAPI
MSACM32_Lib
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
Dll
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p 0x%lx %p
\n
"
,
hInstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/msisys/msisys.c
View file @
1e1313d5
...
...
@@ -50,9 +50,9 @@ static void MSISYS_UninitProcess( void )
}
/***********************************************************************
*
MSISYS_DllMain
*
DllMain for MSISYS
*/
BOOL
WINAPI
MSISYS_
DllMain
(
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
...
...
dlls/msisys/msisys.ocx.spec
View file @
1e1313d5
init MSISYS_DllMain
@ stdcall DllCanUnloadNow() MSISYS_DllCanUnloadNow
@ stdcall DllGetClassObject(ptr ptr ptr) MSISYS_DllGetClassObject
@ stdcall DllRegisterServer() MSISYS_DllRegisterServer
...
...
dlls/msvcrt/main.c
View file @
1e1313d5
...
...
@@ -39,7 +39,7 @@ typedef void (*MSVCRT_free_func)(void*);
/*********************************************************************
* Init
*/
BOOL
WINAPI
MSVCRT_Init
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
MSVCRT_thread_data
*
tls
;
...
...
dlls/msvcrt/msvcrt.spec
View file @
1e1313d5
# msvcrt.dll - MS VC++ Run Time Library
init MSVCRT_Init
@ cdecl $I10_OUTPUT() MSVCRT_I10_OUTPUT
@ cdecl ??0__non_rtti_object@@QAE@ABV0@@Z(ptr ptr) MSVCRT___non_rtti_object_copy_ctor
...
...
dlls/msvideo/msrle32/msrle32.c
View file @
1e1313d5
...
...
@@ -1855,7 +1855,7 @@ LRESULT CALLBACK MSRLE32_DriverProc(DWORD dwDrvID, HDRVR hDrv, UINT uMsg,
}
/* DllMain - library initialization code */
BOOL
WINAPI
MSRLE32_
DllMain
(
HINSTANCE
hModule
,
DWORD
dwReason
,
LPVOID
lpReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hModule
,
DWORD
dwReason
,
LPVOID
lpReserved
)
{
TRACE
(
"(%p,%ld,%p)
\n
"
,(
LPVOID
)
hModule
,
dwReason
,
lpReserved
);
...
...
dlls/msvideo/msrle32/msrle32.spec
View file @
1e1313d5
init MSRLE32_DllMain
@ stdcall DriverProc(long long long long long) MSRLE32_DriverProc
dlls/netapi32/netapi32.c
View file @
1e1313d5
...
...
@@ -183,8 +183,7 @@ static UCHAR NETBIOS_Astat(PNCB ncb)
return
NRC_GOODRET
;
}
BOOL
WINAPI
NETAPI32_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%lx,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/netapi32/netapi32.spec
View file @
1e1313d5
init NETAPI32_LibMain
@ stub I_BrowserDebugCall
@ stub I_BrowserDebugTrace
@ stdcall I_BrowserQueryEmulatedDomains(wstr ptr ptr) I_BrowserQueryEmulatedDomains
...
...
dlls/odbc32/odbc32.spec
View file @
1e1313d5
init MAIN_OdbcInit
1 stdcall SQLAllocConnect(long ptr) SQLAllocConnect
2 stdcall SQLAllocEnv(ptr) SQLAllocEnv
3 stdcall SQLAllocStmt(long ptr) SQLAllocStmt
...
...
dlls/odbc32/proxyodbc.c
View file @
1e1313d5
...
...
@@ -156,7 +156,7 @@ SQLRETURN SQLDummyFunc()
}
/***********************************************************************
*
MAIN_OdbcInit
[Internal] Initializes the internal 'ODBC32.DLL'.
*
DllMain
[Internal] Initializes the internal 'ODBC32.DLL'.
*
* PARAMS
* hinstDLL [I] handle to the DLL's instance
...
...
@@ -168,8 +168,7 @@ SQLRETURN SQLDummyFunc()
* Failure: FALSE
*/
BOOL
WINAPI
MAIN_OdbcInit
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
int
i
;
TRACE
(
"Initializing or Finalizing proxy ODBC: %p,%lx,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/ole32/ole32.spec
View file @
1e1313d5
init OLE32_DllEntryPoint
1 stub BindMoniker # stdcall (ptr long ptr ptr) return 0,ERR_NOTIMPLEMENTED
2 stdcall CLSIDFromProgID(wstr ptr) CLSIDFromProgID
3 stdcall CLSIDFromString(wstr ptr) CLSIDFromString
...
...
dlls/ole32/ole32_main.c
View file @
1e1313d5
...
...
@@ -29,10 +29,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
HINSTANCE
OLE32_hInstance
=
0
;
/***********************************************************************
* Dll
EntryPoint
(OLE32.@)
* Dll
Main
(OLE32.@)
*/
BOOL
WINAPI
OLE32_DllEntryPoint
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"0x%x 0x%lx %p
\n
"
,
hinstDLL
,
fdwReason
,
fImpLoad
);
...
...
dlls/opengl32/opengl32.spec
View file @
1e1313d5
init OpenGL32_Init
@ stdcall wglCreateContext(long) wglCreateContext
@ stdcall wglCreateLayerContext(long long) wglCreateLayerContext
@ stdcall wglCopyContext(long long long) wglCopyContext
...
...
dlls/opengl32/wgl.c
View file @
1e1313d5
...
...
@@ -647,7 +647,7 @@ static void process_detach(void)
/***********************************************************************
* OpenGL initialisation routine
*/
BOOL
WINAPI
OpenGL32_Init
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
...
...
dlls/richedit/riched32.spec
View file @
1e1313d5
init RICHED32_LibMain
2 stdcall DllGetVersion (ptr) RICHED32_DllGetVersion
dlls/richedit/richedit.c
View file @
1e1313d5
...
...
@@ -53,7 +53,7 @@ HANDLE RICHED32_hHeap = (HANDLE)NULL;
/***********************************************************************
*
RICHED32_Lib
Main [Internal] Initializes the internal 'RICHED32.DLL'.
*
Dll
Main [Internal] Initializes the internal 'RICHED32.DLL'.
*
* PARAMS
* hinstDLL [I] handle to the DLL's instance
...
...
@@ -65,8 +65,7 @@ HANDLE RICHED32_hHeap = (HANDLE)NULL;
* Failure: FALSE
*/
BOOL
WINAPI
RICHED32_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"
\n
"
);
switch
(
fdwReason
)
...
...
dlls/rpcrt4/rpcrt4.spec
View file @
1e1313d5
init RPCRT4_LibMain
@ stub DceErrorInqTextA
@ stub DceErrorInqTextW
@ stdcall DllRegisterServer() RPCRT4_DllRegisterServer
...
...
dlls/rpcrt4/rpcrt4_main.c
View file @
1e1313d5
...
...
@@ -144,7 +144,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
static
UUID
uuid_nil
;
/***********************************************************************
*
RPCRT4_Lib
Main
*
Dll
Main
*
* PARAMS
* hinstDLL [I] handle to the DLL's instance
...
...
@@ -156,8 +156,7 @@ static UUID uuid_nil;
* Failure: FALSE
*/
BOOL
WINAPI
RPCRT4_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
...
...
dlls/serialui/confdlg.c
View file @
1e1313d5
...
...
@@ -47,7 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(comm);
HMODULE
SERIALUI_hModule
=
0
;
/***********************************************************************
*
SERIALUI_Lib
Main [Internal] Initializes the internal 'SERIALUI.DLL'.
*
Dll
Main [Internal] Initializes the internal 'SERIALUI.DLL'.
*
* PARAMS
* hinstDLL [I] handle to the DLL's instance
...
...
@@ -59,8 +59,7 @@ HMODULE SERIALUI_hModule = 0;
* Failure: FALSE
*/
BOOL
WINAPI
SERIALUI_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%lx,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/serialui/serialui.spec
View file @
1e1313d5
init SERIALUI_LibMain
2 stdcall EnumPropPages(ptr ptr ptr) SERIALUI_EnumPropPages
3 stdcall drvCommConfigDialog(ptr long ptr) SERIALUI_CommConfigDialog
4 stdcall drvSetDefaultCommConfig(str ptr long) SERIALUI_SetDefaultCommConfig
...
...
dlls/shell32/shell32.spec
View file @
1e1313d5
init Shell32LibMain
# Functions exported by the Win95 shell32.dll
# (these need to have these exact ordinals, for some
# win95 and winNT dlls import shell32.dll by ordinal)
...
...
dlls/shell32/shell32_main.c
View file @
1e1313d5
...
...
@@ -944,13 +944,13 @@ HIMAGELIST ShellBigIconList = 0;
/*************************************************************************
* SHELL32
Lib
Main
* SHELL32
Dll
Main
*
* NOTES
* calling oleinitialize here breaks sone apps.
*/
BOOL
WINAPI
Shell32Lib
Main
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
Dll
Main
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"0x%x 0x%lx %p
\n
"
,
hinstDLL
,
fdwReason
,
fImpLoad
);
...
...
dlls/shlwapi/shlwapi.spec
View file @
1e1313d5
init SHLWAPI_LibMain
1 stdcall @(str ptr) SHLWAPI_1
2 stdcall @(wstr ptr) SHLWAPI_2
3 stdcall @(str long) SHLWAPI_3
...
...
dlls/shlwapi/shlwapi_main.c
View file @
1e1313d5
...
...
@@ -40,12 +40,12 @@ HMODULE SHLWAPI_hversion = 0;
DWORD
SHLWAPI_ThreadRef_index
=
-
1
;
/*************************************************************************
* SHLWAPI
Lib
Main
* SHLWAPI
Dll
Main
*
* NOTES
* calling oleinitialize here breaks sone apps.
*/
BOOL
WINAPI
SHLWAPI_Lib
Main
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
Dll
Main
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"%p 0x%lx %p
\n
"
,
hinstDLL
,
fdwReason
,
fImpLoad
);
switch
(
fdwReason
)
...
...
dlls/snmpapi/main.c
View file @
1e1313d5
...
...
@@ -27,9 +27,9 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
snmpapi
);
/***********************************************************************
*
SNMPAPI_DllMain
*
DllMain for SNMPAPI
*/
BOOL
WINAPI
SNMPAPI_
DllMain
(
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
...
...
dlls/snmpapi/snmpapi.spec
View file @
1e1313d5
init SNMPAPI_DllMain
@ stub SnmpSvcAddrIsIpx
@ stub SnmpSvcAddrToSocket
@ stub SnmpSvcBufRevAndCpy
...
...
dlls/ttydrv/ttydrv.spec
View file @
1e1313d5
init TTYDRV_Init
# GDI driver
@ cdecl Arc(ptr long long long long long long long long) TTYDRV_DC_Arc
...
...
dlls/ttydrv/ttydrv_main.c
View file @
1e1313d5
...
...
@@ -74,7 +74,7 @@ static void process_detach(void)
/***********************************************************************
* TTYDRV initialisation routine
*/
BOOL
WINAPI
TTYDRV_Init
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
...
...
dlls/twain/twain32_main.c
View file @
1e1313d5
...
...
@@ -26,8 +26,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
twain
);
BOOL
WINAPI
TWAIN_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%lx,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/twain/twain_32.spec
View file @
1e1313d5
init TWAIN_LibMain
@ stdcall DSM_Entry(ptr ptr long long long ptr) DSM_Entry
dlls/urlmon/urlmon.spec
View file @
1e1313d5
init URLMON_DllEntryPoint
1 stub CDLGetLongPathNameA
2 stub CDLGetLongPathNameW
@ stub AsyncGetClassBits
...
...
dlls/urlmon/urlmon_main.c
View file @
1e1313d5
...
...
@@ -31,10 +31,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(urlmon);
HINSTANCE
URLMON_hInstance
=
0
;
/***********************************************************************
* Dll
EntryPoint (OLE32.@
)
* Dll
Main (URLMON.init
)
*/
BOOL
WINAPI
URLMON_DllEntryPoint
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"%p 0x%lx %p
\n
"
,
hinstDLL
,
fdwReason
,
fImpLoad
);
...
...
dlls/winaspi/winaspi32.c
View file @
1e1313d5
...
...
@@ -56,7 +56,7 @@ static CRITICAL_SECTION ASPI_CritSection = CRITICAL_SECTION_INIT("ASPI_CritSecti
#endif
/* defined(linux) */
BOOL
WINAPI
WNASPI32_Lib
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
Dll
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
#ifdef linux
switch
(
fdwReason
)
...
...
dlls/winaspi/wnaspi32.spec
View file @
1e1313d5
init WNASPI32_LibMain
# we have several ordinal clashes here, it seems...
1 cdecl GetASPI32SupportInfo() GetASPI32SupportInfo
...
...
dlls/winedos/dosvm.c
View file @
1e1313d5
...
...
@@ -668,9 +668,9 @@ void DOSVM_RealModeInterrupt( BYTE intnum, CONTEXT86 *context )
/**********************************************************************
* D
OSVM_Init
* D
llMain (DOSVM.Init)
*/
BOOL
WINAPI
D
OSVM_Init
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
D
llMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE_
(
module
)(
"(%p,%ld,%p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/winedos/winedos.spec
View file @
1e1313d5
init DOSVM_Init
@ stdcall LoadDosExe(str long) MZ_LoadImage
@ stdcall EmulateInterruptPM(ptr long) DOSVM_EmulateInterruptPM
...
...
dlls/wineps/init.c
View file @
1e1313d5
...
...
@@ -100,12 +100,12 @@ static LOGFONTA DefaultLogFont = {
};
/*********************************************************************
*
PSDRV_Init
*
DllMain
*
* Initializes font metrics and registers driver.
Called from GDI_Init()
* Initializes font metrics and registers driver.
wineps dll entry point.
*
*/
BOOL
WINAPI
PSDRV_Init
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
{
TRACE
(
"(%p, 0x%08lx, %p)
\n
"
,
hinst
,
reason
,
reserved
);
...
...
dlls/wineps/wineps.spec
View file @
1e1313d5
init PSDRV_Init
# GDI driver
@ cdecl Arc(ptr long long long long long long long long) PSDRV_Arc
...
...
dlls/wininet/internet.c
View file @
1e1313d5
...
...
@@ -97,7 +97,7 @@ LPWORKREQUEST lpHeadWorkQueue;
LPWORKREQUEST
lpWorkQueueTail
;
/***********************************************************************
*
WININET_Lib
Main [Internal] Initializes the internal 'WININET.DLL'.
*
Dll
Main [Internal] Initializes the internal 'WININET.DLL'.
*
* PARAMS
* hinstDLL [I] handle to the DLL's instance
...
...
@@ -109,8 +109,7 @@ LPWORKREQUEST lpWorkQueueTail;
* Failure: FALSE
*/
BOOL
WINAPI
WININET_LibMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%lx,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
dlls/wininet/wininet.spec
View file @
1e1313d5
init WININET_LibMain
@ stdcall InternetInitializeAutoProxyDll(long) InternetInitializeAutoProxyDll
@ stub ShowCertificate
@ stdcall CommitUrlCacheEntryA(str str long long long str long str str) CommitUrlCacheEntryA
...
...
dlls/winmm/mciavi/mciavi.c
View file @
1e1313d5
...
...
@@ -118,7 +118,7 @@ static DWORD MCI_SendCommandAsync(UINT wDevID, UINT wMsg, DWORD dwParam1,
HINSTANCE
MCIAVI_hInstance
=
0
;
BOOL
WINAPI
MCIAVI_Lib
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
Dll
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
...
...
dlls/winmm/mciavi/mciavi.drv.spec
View file @
1e1313d5
init MCIAVI_LibMain
@ stdcall DriverProc(long long long long long) MCIAVI_DriverProc
dlls/winmm/winmm.c
View file @
1e1313d5
...
...
@@ -108,12 +108,12 @@ BOOL WINMM_CheckForMMSystem(void)
}
/**************************************************************************
* Dll
EntryPoint
(WINMM.init)
* Dll
Main
(WINMM.init)
*
* WINMM DLL entry point
*
*/
BOOL
WINAPI
WINMM_Lib
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
Dll
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"%p 0x%lx %p
\n
"
,
hInstDLL
,
fdwReason
,
fImpLoad
);
...
...
dlls/winmm/winmm.spec
View file @
1e1313d5
init WINMM_LibMain
# ordinal exports
1 stdcall @(ptr long long) PlaySoundA
3 stub @
...
...
dlls/winsock/socket.c
View file @
1e1313d5
...
...
@@ -428,9 +428,9 @@ static void WINSOCK_DeleteIData(void)
}
/***********************************************************************
*
WS_Lib
Main (WS2_32.init)
*
Dll
Main (WS2_32.init)
*/
BOOL
WINAPI
WS_Lib
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
BOOL
WINAPI
Dll
Main
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
fImpLoad
)
{
TRACE
(
"%p 0x%lx %p
\n
"
,
hInstDLL
,
fdwReason
,
fImpLoad
);
switch
(
fdwReason
)
{
...
...
dlls/winsock/ws2_32.spec
View file @
1e1313d5
...
...
@@ -2,9 +2,6 @@
#
# Export table information obtained from Windows 2000 ws2_32.dll
init WS_LibMain
# EXPORTS ***********
1 stdcall accept(long ptr ptr) WS_accept
2 stdcall bind(long ptr long) WS_bind
3 stdcall closesocket(long) WS_closesocket
...
...
dlls/winspool/winspool.drv.spec
View file @
1e1313d5
init WINSPOOL_EntryPoint
100 stub @
@ stub ADVANCEDSETUPDIALOG
@ stub AbortPrinter
...
...
dlls/winspool/wspool.c
View file @
1e1313d5
...
...
@@ -28,14 +28,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(winspool);
/******************************************************************************
*
WINSPOOL_EntryPoint
*
DllMain
*
* Winspool entry point.
*
*/
BOOL
WINAPI
WINSPOOL_EntryPoint
(
HINSTANCE
hInstance
,
DWORD
reason
,
LPVOID
lpReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstance
,
DWORD
reason
,
LPVOID
lpReserved
)
{
switch
(
reason
)
{
...
...
dlls/x11drv/x11drv.spec
View file @
1e1313d5
init X11DRV_Init
# GDI driver
@ cdecl Arc(ptr long long long long long long long long) X11DRV_Arc
...
...
dlls/x11drv/x11drv_main.c
View file @
1e1313d5
...
...
@@ -432,7 +432,7 @@ struct x11drv_thread_data *x11drv_init_thread_data(void)
/***********************************************************************
* X11DRV initialisation routine
*/
BOOL
WINAPI
X11DRV_Init
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
...
...
tools/winebuild/spec32.c
View file @
1e1313d5
...
...
@@ -598,6 +598,16 @@ void BuildSpec32File( FILE *outfile )
{
case
SPEC_MODE_DLL
:
if
(
init_func
)
fprintf
(
outfile
,
"extern void %s();
\n
"
,
init_func
);
else
{
fprintf
(
outfile
,
"#ifdef __GNUC__
\n
"
);
fprintf
(
outfile
,
"extern void DllMain() __attribute__((weak));
\n
"
);
fprintf
(
outfile
,
"#else
\n
"
);
fprintf
(
outfile
,
"extern void DllMain();
\n
"
);
fprintf
(
outfile
,
"static void __asm__dummy_dllmain(void)"
);
fprintf
(
outfile
,
" { asm(
\"
.weak "
__ASM_NAME
(
"DllMain"
)
"
\"
); }
\n
"
);
fprintf
(
outfile
,
"#endif
\n
"
);
}
characteristics
=
IMAGE_FILE_DLL
;
break
;
case
SPEC_MODE_GUIEXE
:
...
...
@@ -790,7 +800,7 @@ void BuildSpec32File( FILE *outfile )
fprintf
(
outfile
,
" { 0x%04x,
\n
"
,
IMAGE_NT_OPTIONAL_HDR_MAGIC
);
/* Magic */
fprintf
(
outfile
,
" 0, 0,
\n
"
);
/* Major/MinorLinkerVersion */
fprintf
(
outfile
,
" 0, 0, 0,
\n
"
);
/* SizeOfCode/Data */
fprintf
(
outfile
,
" %s,
\n
"
,
init_func
?
init_func
:
"
0
"
);
/* AddressOfEntryPoint */
fprintf
(
outfile
,
" %s,
\n
"
,
init_func
?
init_func
:
"
DllMain
"
);
/* AddressOfEntryPoint */
fprintf
(
outfile
,
" 0, 0,
\n
"
);
/* BaseOfCode/Data */
fprintf
(
outfile
,
" pe_header,
\n
"
);
/* ImageBase */
fprintf
(
outfile
,
" %ld,
\n
"
,
page_size
);
/* SectionAlignment */
...
...
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