mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 23:20:43 +00:00
drmclien: Add stub dll.
This commit is contained in:
parent
d233118f7a
commit
b3ccbc63e6
9
configure
vendored
9
configure
vendored
|
@ -25612,6 +25612,14 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
|
|||
dlls/dpwsockx/Makefile: dlls/dpwsockx/Makefile.in dlls/Makedll.rules"
|
||||
ac_config_files="$ac_config_files dlls/dpwsockx/Makefile"
|
||||
|
||||
ALL_MAKEFILES="$ALL_MAKEFILES \\
|
||||
dlls/drmclien/Makefile"
|
||||
test "x$enable_drmclien" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
|
||||
drmclien"
|
||||
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
|
||||
dlls/drmclien/Makefile: dlls/drmclien/Makefile.in dlls/Makedll.rules"
|
||||
ac_config_files="$ac_config_files dlls/drmclien/Makefile"
|
||||
|
||||
ALL_MAKEFILES="$ALL_MAKEFILES \\
|
||||
dlls/dsound/Makefile"
|
||||
test "x$enable_dsound" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
|
||||
|
@ -29472,6 +29480,7 @@ do
|
|||
"dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
|
||||
"dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
|
||||
"dlls/dpwsockx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
|
||||
"dlls/drmclien/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/drmclien/Makefile" ;;
|
||||
"dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
|
||||
"dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
|
||||
"dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
|
||||
|
|
|
@ -2131,6 +2131,7 @@ WINE_CONFIG_MAKEFILE([dlls/dpnet/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_
|
|||
WINE_CONFIG_MAKEFILE([dlls/dpnhpast/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/dpnlobby/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/dpwsockx/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/drmclien/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/dsound/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
WINE_CONFIG_MAKEFILE([dlls/dsound/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
|
||||
WINE_CONFIG_MAKEFILE([dlls/dssenh/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
|
||||
|
|
13
dlls/drmclien/Makefile.in
Normal file
13
dlls/drmclien/Makefile.in
Normal file
|
@ -0,0 +1,13 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = drmclien.dll
|
||||
IMPORTS = kernel32
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|
31
dlls/drmclien/drmclien.spec
Normal file
31
dlls/drmclien/drmclien.spec
Normal file
|
@ -0,0 +1,31 @@
|
|||
@ stub DllMain
|
||||
@ stub CanDecrypt
|
||||
@ stub Decrypt
|
||||
@ stub RequestLicense
|
||||
@ stub ProcessResponse
|
||||
@ stub Bind
|
||||
@ stub KeyExchange
|
||||
@ stub GetVersion
|
||||
@ stub CanDecryptEx
|
||||
@ stub BindEx
|
||||
@ stub ??0CDRMLiteCrypto@@QAE@XZ
|
||||
@ stub ??1CDRMLiteCrypto@@QAE@XZ
|
||||
@ stub SetAppSec
|
||||
@ stub SetLicenseStore
|
||||
@ stub GetPMLicenseFileName
|
||||
@ stub GetPMLicenseSize
|
||||
@ stub CreatePMLicense
|
||||
@ stub GenerateNewLicense
|
||||
@ stub Encrypt
|
||||
@ stub InitAppCerts
|
||||
@ stub QueryXferToPM
|
||||
@ stub ?BackupLicenses@CDRMLiteCrypto@@QAEJKPAGPAUIUnknown@@PAHPAX@Z
|
||||
@ stub ?EncryptFast@CDRMLiteCrypto@@QAEJPBDKPAE1@Z
|
||||
@ stub ?EncryptIndirectFast@CDRMLiteCrypto@@QAEJPBDKPAE1@Z
|
||||
@ stub ?GenerateNewLicenseEx@CDRMLiteCrypto@@QAEJKPAE00PAPAD10@Z
|
||||
@ stub ?GetLicenses@CDRMLiteCrypto@@QAEJPBDPAUPMLICENSE@@PAKKPAX2PAE@Z
|
||||
@ stub ?GetPublicKey@CDRMLiteCrypto@@QAEJPAUPKCERT@@@Z
|
||||
@ stub ?QueryXferToPMEx@CDRMLiteCrypto@@QAEJPBDKPAKPAEK2K12@Z
|
||||
@ stub ?RestoreLicenses@CDRMLiteCrypto@@QAEJKPAEPAGPAUIUnknown@@PAHPAX@Z
|
||||
@ stub DllRegisterServer
|
||||
@ stub DllUnregisterServer
|
42
dlls/drmclien/main.c
Normal file
42
dlls/drmclien/main.c
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
*
|
||||
* Copyright 2009 Austin English
|
||||
*
|
||||
* 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 "config.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
switch (fdwReason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(hinstDLL);
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
Loading…
Reference in a new issue