Vijay Kiran Kamuju : msdrm: Add stub DRMRegisterContent function.
Alexandre Julliard
julliard at winehq.org
Fri Feb 25 07:30:21 CST 2022
Module: wine
Branch: oldstable
Commit: 4eea9e383abe42652f8e35ba5ddfbf3cb7eb3f51
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4eea9e383abe42652f8e35ba5ddfbf3cb7eb3f51
Author: Vijay Kiran Kamuju <infyquest at gmail.com>
Date: Fri Feb 19 14:02:32 2021 +0100
msdrm: Add stub DRMRegisterContent function.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50595
Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit afd5550b07f6d55e56738f61d829085d6bc82888)
Conflicts:
dlls/msdrm/Makefile.in
dlls/msdrm/main.c
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/msdrm/main.c | 13 ++++++++++++-
dlls/msdrm/msdrm.spec | 2 +-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/dlls/msdrm/main.c b/dlls/msdrm/main.c
index b278d77c83a..6ca7c5fb050 100644
--- a/dlls/msdrm/main.c
+++ b/dlls/msdrm/main.c
@@ -1,7 +1,8 @@
/*
- * msdrm.dll
+ * Windows Rights Management Client
*
* Copyright 2016 Austin English
+ * Copyright 2021 Vijay Kiran Kamuju
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -22,6 +23,9 @@
#include "windef.h"
#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(msdrm);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
{
@@ -36,3 +40,10 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
return TRUE;
}
+
+HRESULT WINAPI DRMRegisterContent(BOOL value)
+{
+ FIXME("(%u): stub\n", value);
+
+ return S_OK;
+}
diff --git a/dlls/msdrm/msdrm.spec b/dlls/msdrm/msdrm.spec
index 5d4d3d61bce..85cbb02541d 100644
--- a/dlls/msdrm/msdrm.spec
+++ b/dlls/msdrm/msdrm.spec
@@ -70,7 +70,7 @@
@ stub DRMIsWindowProtected
@ stub DRMLoadLibrary
@ stub DRMParseUnboundLicense
-@ stub DRMRegisterContent
+@ stdcall DRMRegisterContent(long)
@ stub DRMRegisterProtectedWindow
@ stub DRMRegisterRevocationList
@ stub DRMRepair
More information about the wine-cvs
mailing list