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
d2733579
Commit
d2733579
authored
Mar 20, 2014
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Mar 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netcfgx: Implement DllCanUnloadNow, DllGetClassObject, DllRegisterServer, DllUnregisterServer.
parent
b56102e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
4 deletions
+32
-4
main.c
dlls/netcfgx/main.c
+28
-0
netcfgx.spec
dlls/netcfgx/netcfgx.spec
+4
-4
No files found.
dlls/netcfgx/main.c
View file @
d2733579
...
...
@@ -21,14 +21,20 @@
#include "windef.h"
#include "winbase.h"
#include "ole2.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
netcfgx
);
static
HINSTANCE
NETCFGX_hInstance
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(0x%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
NETCFGX_hInstance
=
hinstDLL
;
switch
(
fdwReason
)
{
case
DLL_WINE_PREATTACH
:
...
...
@@ -42,3 +48,25 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
{
FIXME
(
"(%s, %s, %p): stub
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
riid
),
ppv
);
return
CLASS_E_CLASSNOTAVAILABLE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
NETCFGX_hInstance
);
}
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
NETCFGX_hInstance
);
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
dlls/netcfgx/netcfgx.spec
View file @
d2733579
@ st
ub DllCanUnloadNow
@ st
ub DllGetClassObject
@ st
ub DllRegisterServer
@ st
ub DllUnregisterServer
@ st
dcall -private DllCanUnloadNow()
@ st
dcall -private DllGetClassObject(ptr ptr ptr)
@ st
dcall -private DllRegisterServer()
@ st
dcall -private DllUnregisterServer()
@ stub HrDiAddComponentToINetCfg
@ stub LanaCfgFromCommandArgs
@ stub ModemClassCoInstaller
...
...
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