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
e7053c11
Commit
e7053c11
authored
Jan 25, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmp: Added new DLL.
parent
d57ccd77
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
93 additions
and
0 deletions
+93
-0
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/wmp/Makefile.in
+4
-0
wmp.spec
dlls/wmp/wmp.spec
+4
-0
wmp_main.c
dlls/wmp/wmp_main.c
+82
-0
No files found.
configure
View file @
e7053c11
...
...
@@ -1239,6 +1239,7 @@ enable_wlanapi
enable_wldap32
enable_wmi
enable_wmiutils
enable_wmp
enable_wmvcore
enable_wnaspi32
enable_ws2_32
...
...
@@ -17102,6 +17103,7 @@ wine_fn_config_test dlls/wldap32/tests wldap32_test
wine_fn_config_dll wmi enable_wmi
wine_fn_config_dll wmiutils enable_wmiutils clean
wine_fn_config_test dlls/wmiutils/tests wmiutils_test
wine_fn_config_dll wmp enable_wmp
wine_fn_config_dll wmvcore enable_wmvcore
wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
wine_fn_config_dll wow32 enable_win16 implib
...
...
configure.ac
View file @
e7053c11
...
...
@@ -3226,6 +3226,7 @@ WINE_CONFIG_TEST(dlls/wldap32/tests)
WINE_CONFIG_DLL(wmi)
WINE_CONFIG_DLL(wmiutils,,[clean])
WINE_CONFIG_TEST(dlls/wmiutils/tests)
WINE_CONFIG_DLL(wmp)
WINE_CONFIG_DLL(wmvcore)
WINE_CONFIG_DLL(wnaspi32,,[implib])
WINE_CONFIG_DLL(wow32,enable_win16,[implib])
...
...
dlls/wmp/Makefile.in
0 → 100644
View file @
e7053c11
MODULE
=
wmp.dll
C_SRCS
=
\
wmp_main.c
dlls/wmp/wmp.spec
0 → 100644
View file @
e7053c11
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
dlls/wmp/wmp_main.c
0 → 100644
View file @
e7053c11
/*
* Copyright 2014 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
*/
#include "windows.h"
#include "ole2.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wmp
);
static
HINSTANCE
wmp_instance
;
/******************************************************************
* DllMain (wmp.@)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
{
TRACE
(
"(%p %d %p)
\n
"
,
hInstDLL
,
fdwReason
,
lpv
);
switch
(
fdwReason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hInstDLL
);
wmp_instance
=
hInstDLL
;
break
;
}
return
TRUE
;
}
/***********************************************************************
* DllGetClassObject (wmp.@)
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
LPVOID
*
ppv
)
{
FIXME
(
"%s %s %p
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
riid
),
ppv
);
return
CLASS_E_CLASSNOTAVAILABLE
;
}
/***********************************************************************
* DllCanUnloadNow (wmp.@)
*/
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
TRACE
(
"
\n
"
);
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer (wmp.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
TRACE
(
"()
\n
"
);
return
__wine_register_resources
(
wmp_instance
);
}
/***********************************************************************
* DllUnregisterServer (wmp.@)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
TRACE
(
"()
\n
"
);
return
__wine_unregister_resources
(
wmp_instance
);
}
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