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
dda5d938
Commit
dda5d938
authored
Dec 02, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32: Convert dll registration to the IRegistrar mechanism.
parent
822d7b6e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
2 deletions
+55
-2
Makefile.in
dlls/oledb32/Makefile.in
+3
-2
main.c
dlls/oledb32/main.c
+20
-0
oledb32_classes.idl
dlls/oledb32/oledb32_classes.idl
+32
-0
regsvr.c
dlls/oledb32/regsvr.c
+0
-0
No files found.
dlls/oledb32/Makefile.in
View file @
dda5d938
...
...
@@ -4,9 +4,10 @@ IMPORTS = uuid oleaut32 ole32 user32 advapi32
C_SRCS
=
\
convert.c
\
main.c
\
regsvr.c
main.c
IDL_I_SRCS
=
convert.idl
IDL_R_SRCS
=
oledb32_classes.idl
@MAKE_DLL_RULES@
dlls/oledb32/main.c
View file @
dda5d938
...
...
@@ -26,6 +26,7 @@
#include "windef.h"
#include "winbase.h"
#include "ole2.h"
#include "rpcproxy.h"
#include "initguid.h"
#include "msdaguid.h"
...
...
@@ -36,11 +37,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
oledb
);
static
HINSTANCE
instance
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
lpv
)
{
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
instance
=
hinst
;
DisableThreadLibraryCalls
(
hinst
);
break
;
...
...
@@ -142,3 +146,19 @@ HRESULT WINAPI DllCanUnloadNow(void)
{
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
,
NULL
);
}
/***********************************************************************
* DllUnregisterServer
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
instance
,
NULL
);
}
dlls/oledb32/oledb32_classes.idl
0 → 100644
View file @
dda5d938
/*
*
COM
Classes
for
oledb32
*
*
Copyright
2010
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
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
[
helpstring
(
"OLE DB Data Conversion Library"
),
threading
(
both
),
progid
(
"MSDADC.1"
),
vi_progid
(
"MSDADC"
),
uuid
(
c8b522d1
-
5
cf3
-
11
ce
-
ade5
-
00
aa0044773d
)
]
coclass
OLEDB_CONVERSIONLIBRARY
{
interface
IDataConvert
;
interface
IDCInfo
;
}
dlls/oledb32/regsvr.c
deleted
100644 → 0
View file @
822d7b6e
This diff is collapsed.
Click to expand it.
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