drmclien: Add stub dll.

This commit is contained in:
Austin English 2009-06-25 12:30:45 -05:00 committed by Alexandre Julliard
parent d233118f7a
commit b3ccbc63e6
5 changed files with 96 additions and 0 deletions

9
configure vendored
View File

@ -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" ;;

View File

@ -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
View 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

View 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
View 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;
}