ReactOS 0.4.16-dev-303-g11d5cb8
drm.cpp File Reference
#include "private.hpp"
#include <debug.h>
Include dependency graph for drm.cpp:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI PcAddContentHandlers (IN ULONG ContentId, IN PVOID *paHandlers, IN ULONG NumHandlers)
 
NTSTATUS NTAPI PcCreateContentMixed (IN PULONG paContentId, IN ULONG cContentId, OUT PULONG pMixedContentId)
 
NTSTATUS NTAPI PcDestroyContent (IN ULONG ContentId)
 
NTSTATUS NTAPI PcForwardContentToDeviceObject (IN ULONG ContentId, IN PVOID Reserved, IN PCDRMFORWARD DrmForward)
 
NTSTATUS NTAPI PcForwardContentToFileObject (IN ULONG ContentId, IN PFILE_OBJECT FileObject)
 
NTSTATUS NTAPI PcForwardContentToInterface (IN ULONG ContentId, IN PUNKNOWN pUnknown, IN ULONG NumMethods)
 
NTSTATUS NTAPI PcGetContentRights (IN ULONG ContentId, OUT PDRMRIGHTS DrmRights)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 11 of file drm.cpp.

Function Documentation

◆ PcAddContentHandlers()

NTSTATUS NTAPI PcAddContentHandlers ( IN ULONG  ContentId,
IN PVOID paHandlers,
IN ULONG  NumHandlers 
)

Definition at line 16 of file drm.cpp.

20{
22 return DrmAddContentHandlers(ContentId, paHandlers, NumHandlers);
23}
NTSTATUS NTAPI DrmAddContentHandlers(IN ULONG ContentId, IN PVOID *paHandlers, IN ULONG NumHandlers)
Definition: stubs.cpp:29
_In_ ULONG NumHandlers
Definition: drmk.h:41
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define PC_ASSERT_IRQL_EQUAL(x)
Definition: private.hpp:31

◆ PcCreateContentMixed()

NTSTATUS NTAPI PcCreateContentMixed ( IN PULONG  paContentId,
IN ULONG  cContentId,
OUT PULONG  pMixedContentId 
)

Definition at line 27 of file drm.cpp.

31{
34}
NTSTATUS NTAPI DrmCreateContentMixed(IN PULONG paContentId, IN ULONG cContentId, OUT PULONG pMixedContentId)
Definition: stubs.cpp:47
_In_ ULONG cContentId
Definition: drmk.h:48
_In_ ULONG _Out_ PULONG pMixedContentId
Definition: drmk.h:49

◆ PcDestroyContent()

NTSTATUS NTAPI PcDestroyContent ( IN ULONG  ContentId)

Definition at line 38 of file drm.cpp.

40{
42 return DrmDestroyContent(ContentId);
43}
NTSTATUS NTAPI DrmDestroyContent(IN ULONG ContentId)
Definition: stubs.cpp:64

◆ PcForwardContentToDeviceObject()

NTSTATUS NTAPI PcForwardContentToDeviceObject ( IN ULONG  ContentId,
IN PVOID  Reserved,
IN PCDRMFORWARD  DrmForward 
)

Definition at line 47 of file drm.cpp.

51{
53 return DrmForwardContentToDeviceObject(ContentId, Reserved, DrmForward);
54}
NTSTATUS NTAPI DrmForwardContentToDeviceObject(IN ULONG ContentId, IN PVOID Reserved, IN PCDRMFORWARD DrmForward)
Definition: stubs.cpp:80
_Reserved_ PVOID Reserved
Definition: winddi.h:3974

◆ PcForwardContentToFileObject()

NTSTATUS NTAPI PcForwardContentToFileObject ( IN ULONG  ContentId,
IN PFILE_OBJECT  FileObject 
)

Definition at line 58 of file drm.cpp.

61{
64}
NTSTATUS NTAPI DrmForwardContentToFileObject(IN ULONG ContentId, IN PFILE_OBJECT FileObject)
Definition: stubs.cpp:99
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550

◆ PcForwardContentToInterface()

NTSTATUS NTAPI PcForwardContentToInterface ( IN ULONG  ContentId,
IN PUNKNOWN  pUnknown,
IN ULONG  NumMethods 
)

Definition at line 68 of file drm.cpp.

72{
74}
NTSTATUS NTAPI DrmForwardContentToInterface(IN ULONG ContentId, IN PUNKNOWN pUnknown, IN ULONG NumMethods)
Definition: stubs.cpp:116
_In_ PUNKNOWN pUnknown
Definition: drmk.h:76
@ NumMethods
Definition: actctx.c:1556

◆ PcGetContentRights()

NTSTATUS NTAPI PcGetContentRights ( IN ULONG  ContentId,
OUT PDRMRIGHTS  DrmRights 
)

Definition at line 78 of file drm.cpp.

81{
83 return DrmGetContentRights(ContentId, DrmRights);
84}
NTSTATUS NTAPI DrmGetContentRights(IN ULONG ContentId, OUT PDRMRIGHTS DrmRights)
Definition: stubs.cpp:133
_Out_ PDRMRIGHTS DrmRights
Definition: drmk.h:84