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
064a5918
Commit
064a5918
authored
Mar 12, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msident: Added DLL registration implementation.
parent
5fd16dde
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
0 deletions
+52
-0
Makefile.in
dlls/msident/Makefile.in
+2
-0
msident.c
dlls/msident/msident.c
+23
-0
msident.spec
dlls/msident/msident.spec
+2
-0
msident_classes.idl
dlls/msident/msident_classes.idl
+25
-0
No files found.
dlls/msident/Makefile.in
View file @
064a5918
...
...
@@ -3,4 +3,6 @@ MODULE = msident.dll
C_SRCS
=
\
msident.c
IDL_R_SRCS
=
msident_classes.idl
@MAKE_DLL_RULES@
dlls/msident/msident.c
View file @
064a5918
...
...
@@ -19,11 +19,15 @@
#define COBJMACROS
#include "windows.h"
#include "msident.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msident
);
static
HINSTANCE
msident_instance
;
/******************************************************************
* DllMain (msident.@)
*/
...
...
@@ -36,6 +40,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
msident_instance
=
hInstDLL
;
DisableThreadLibraryCalls
(
hInstDLL
);
break
;
}
...
...
@@ -59,3 +64,21 @@ HRESULT WINAPI DllCanUnloadNow(void)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (msident.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
TRACE
(
"()
\n
"
);
return
__wine_register_resources
(
msident_instance
);
}
/***********************************************************************
* DllUnregisterServer (msident.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
TRACE
(
"()
\n
"
);
return
__wine_unregister_resources
(
msident_instance
);
}
dlls/msident/msident.spec
View file @
064a5918
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer() # not exported by native
@ stdcall -private DllUnregisterServer() # not exported by native
dlls/msident/msident_classes.idl
0 → 100644
View file @
064a5918
/*
*
Copyright
2012
Jacek
Caban
for
CodeWeavers
*
*
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
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
[
helpstring
(
"LW Identities"
),
threading
(
both
),
uuid
(
a9ae6c91
-
1
d1b
-
11
d2
-
b21a
-
00
c04fa357fa
)
]
coclass
UserIdentityManager
{}
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