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
c39a5f0d
Commit
c39a5f0d
authored
Mar 21, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added DLL_WINE_PREATTACH handling in a number of stub-only dlls.
parent
c1513be4
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
212 additions
and
6 deletions
+212
-6
activeds_main.c
dlls/activeds/activeds_main.c
+9
-1
main.c
dlls/cfgmgr32/main.c
+16
-0
cryptdll.c
dlls/cryptdll/cryptdll.c
+2
-0
d3dim_main.c
dlls/d3dim/d3dim_main.c
+37
-1
d3drm_main.c
dlls/d3drm/d3drm_main.c
+18
-2
msnet_main.c
dlls/msnet32/msnet_main.c
+21
-0
main.c
dlls/snmpapi/main.c
+2
-0
url_main.c
dlls/url/url_main.c
+37
-1
vdmdbg.c
dlls/vdmdbg/vdmdbg.c
+37
-1
winnls.c
dlls/winnls32/winnls.c
+16
-0
wintrust_main.c
dlls/wintrust/wintrust_main.c
+17
-0
No files found.
dlls/activeds/activeds_main.c
View file @
c39a5f0d
...
...
@@ -48,7 +48,15 @@ WINE_DEFAULT_DEBUG_CHANNEL(activeds);
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(%p, %ld, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
/* For the moment, do nothing here. */
switch
(
fdwReason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinstDLL
);
break
;
}
return
TRUE
;
}
...
...
dlls/cfgmgr32/main.c
View file @
c39a5f0d
...
...
@@ -29,6 +29,22 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
cfgmgr32
);
/***********************************************************************
* DllMain (CFGMGR32.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
CONFIGRET
WINAPI
CM_Get_Device_ID_ListA
(
PCSTR
pszFilter
,
PCHAR
Buffer
,
ULONG
BufferLen
,
ULONG
ulFlags
)
{
...
...
dlls/cryptdll/cryptdll.c
View file @
c39a5f0d
...
...
@@ -32,6 +32,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
TRACE
(
"%p,%lx,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
{
DisableThreadLibraryCalls
(
hinstDLL
);
...
...
dlls/d3dim/d3dim_main.c
View file @
c39a5f0d
/* nothing here yet */
/*
* Copyright 2006 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
/***********************************************************************
* DllMain (D3DIM.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
dlls/d3drm/d3drm_main.c
View file @
c39a5f0d
...
...
@@ -16,6 +16,22 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "wine/debug.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3drm
);
/***********************************************************************
* DllMain (D3DRM.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
dlls/msnet32/msnet_main.c
View file @
c39a5f0d
...
...
@@ -16,10 +16,31 @@
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msnet
);
/***********************************************************************
* DllMain (MSNET32.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* @ (MSNET32.57)
*/
...
...
dlls/snmpapi/main.c
View file @
c39a5f0d
...
...
@@ -39,6 +39,8 @@ BOOL WINAPI DllMain(
TRACE
(
"(%p,%ld,%p)
\n
"
,
hInstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hInstDLL
);
break
;
...
...
dlls/url/url_main.c
View file @
c39a5f0d
/* nothing here yet */
/*
* Copyright 2006 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
/***********************************************************************
* DllMain (URL.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
dlls/vdmdbg/vdmdbg.c
View file @
c39a5f0d
/* nothing here yet */
/*
* Copyright 2006 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
/***********************************************************************
* DllMain (VDMDBG.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
dlls/winnls32/winnls.c
View file @
c39a5f0d
...
...
@@ -23,6 +23,22 @@
#include "wine/winuser16.h"
/***********************************************************************
* DllMain (WINNLS.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* WINNLSEnableIME (WINNLS.16)
*/
BOOL
WINAPI
WINNLSEnableIME16
(
HWND16
hWnd
,
BOOL
fEnable
)
...
...
dlls/wintrust/wintrust_main.c
View file @
c39a5f0d
...
...
@@ -32,6 +32,23 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wintrust
);
/***********************************************************************
* DllMain (WINTRUST.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
/***********************************************************************
* CryptCATAdminAcquireContext (WINTRUST.@)
*/
...
...
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