winebuild: Add DllMain to the list of functions that should be private.

This commit is contained in:
Alexandre Julliard 2015-07-15 15:57:51 +09:00
parent 21c3724813
commit 8935863f55
5 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
1 stub EditAuditInfo
2 stub EditOwnerInfo
3 stub EditPermissionInfo
4 stdcall DllMain(long long ptr)
4 stdcall -private DllMain(long long ptr)
5 stdcall FMExtensionProcW(long long long)
6 stub SedDiscretionaryAclEditor
7 stub SedSystemAclEditor

View File

@ -21,6 +21,6 @@
@ stub CPSetProvParam
@ stub CPSignHash
@ stub CPVerifySignature
@ stdcall DllMain(ptr long ptr)
@ stdcall -private DllMain(ptr long ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()

View File

@ -1,4 +1,4 @@
1 stdcall DllMain(long long ptr)
1 stdcall -private DllMain(long long ptr)
2 stdcall XInputGetState(long ptr)
3 stdcall XInputSetState(long ptr)
4 stdcall XInputGetCapabilities(long long ptr)

View File

@ -1,4 +1,4 @@
1 stdcall DllMain(long long ptr)
1 stdcall -private DllMain(long long ptr)
2 stdcall XInputGetState(long ptr) xinput1_3.XInputGetState
3 stdcall XInputSetState(long ptr) xinput1_3.XInputSetState
4 stdcall XInputGetCapabilities(long long ptr) xinput1_3.XInputGetCapabilities

View File

@ -603,6 +603,7 @@ static int parse_spec_ordinal( int ordinal, DLLSPEC *spec )
{
if (!strcmp( odp->name, "DllRegisterServer" ) ||
!strcmp( odp->name, "DllUnregisterServer" ) ||
!strcmp( odp->name, "DllMain" ) ||
!strcmp( odp->name, "DllGetClassObject" ) ||
!strcmp( odp->name, "DllGetVersion" ) ||
!strcmp( odp->name, "DllInstall" ) ||