ReactOS  0.4.14-dev-49-gfb4591c
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 12 of file drm.cpp.

Function Documentation

◆ PcAddContentHandlers()

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

Definition at line 19 of file drm.cpp.

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

◆ PcCreateContentMixed()

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

Definition at line 30 of file drm.cpp.

34 {
36  return DrmCreateContentMixed(paContentId, cContentId, pMixedContentId);
37 }
#define PC_ASSERT_IRQL_EQUAL(x)
Definition: private.hpp:31
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
_In_ ULONG cContentId
Definition: drmk.h:48
NTSTATUS NTAPI DrmCreateContentMixed(IN PULONG paContentId, IN ULONG cContentId, OUT PULONG pMixedContentId)
Definition: stubs.cpp:47
_In_ ULONG _Out_ PULONG pMixedContentId
Definition: drmk.h:48

◆ PcDestroyContent()

NTSTATUS NTAPI PcDestroyContent ( IN ULONG  ContentId)

Definition at line 41 of file drm.cpp.

43 {
45  return DrmDestroyContent(ContentId);
46 }
NTSTATUS NTAPI DrmDestroyContent(IN ULONG ContentId)
Definition: stubs.cpp:64
#define PC_ASSERT_IRQL_EQUAL(x)
Definition: private.hpp:31
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693

◆ PcForwardContentToDeviceObject()

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

Definition at line 50 of file drm.cpp.

54 {
56  return DrmForwardContentToDeviceObject(ContentId, Reserved, DrmForward);
57 }
NTSTATUS NTAPI DrmForwardContentToDeviceObject(IN ULONG ContentId, IN PVOID Reserved, IN PCDRMFORWARD DrmForward)
Definition: stubs.cpp:80
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define PC_ASSERT_IRQL_EQUAL(x)
Definition: private.hpp:31
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693

◆ PcForwardContentToFileObject()

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

Definition at line 61 of file drm.cpp.

64 {
66  return DrmForwardContentToFileObject(ContentId, FileObject);
67 }
NTSTATUS NTAPI DrmForwardContentToFileObject(IN ULONG ContentId, IN PFILE_OBJECT FileObject)
Definition: stubs.cpp:99
_Inout_ PFILE_OBJECT FileObject
Definition: cdprocs.h:593
#define PC_ASSERT_IRQL_EQUAL(x)
Definition: private.hpp:31
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693

◆ PcForwardContentToInterface()

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

Definition at line 71 of file drm.cpp.

75 {
77 }
NTSTATUS NTAPI DrmForwardContentToInterface(IN ULONG ContentId, IN PUNKNOWN pUnknown, IN ULONG NumMethods)
Definition: stubs.cpp:116
_In_ PUNKNOWN pUnknown
Definition: drmk.h:76

◆ PcGetContentRights()

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

Definition at line 81 of file drm.cpp.

84 {
86  return DrmGetContentRights(ContentId, DrmRights);
87 }
NTSTATUS NTAPI DrmGetContentRights(IN ULONG ContentId, OUT PDRMRIGHTS DrmRights)
Definition: stubs.cpp:133
#define PC_ASSERT_IRQL_EQUAL(x)
Definition: private.hpp:31
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
_Out_ PDRMRIGHTS DrmRights
Definition: drmk.h:84