ReactOS 0.4.15-dev-7906-g1b85a5f
drm.cpp
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Kernel Streaming
4 * FILE: drivers/wdm/audio/backpln/portcls/drm.cpp
5 * PURPOSE: portcls drm functions
6 * PROGRAMMER: Andrew Greenwood
7 */
8
9#include "private.hpp"
10
11#define NDEBUG
12#include <debug.h>
13
17 IN ULONG ContentId,
18 IN PVOID *paHandlers,
20{
22 return DrmAddContentHandlers(ContentId, paHandlers, NumHandlers);
23}
24
28 IN PULONG paContentId,
31{
34}
35
39 IN ULONG ContentId)
40{
42 return DrmDestroyContent(ContentId);
43}
44
48 IN ULONG ContentId,
50 IN PCDRMFORWARD DrmForward)
51{
53 return DrmForwardContentToDeviceObject(ContentId, Reserved, DrmForward);
54}
55
59 IN ULONG ContentId,
61{
64}
65
69 IN ULONG ContentId,
72{
74}
75
79 IN ULONG ContentId,
81{
83 return DrmGetContentRights(ContentId, DrmRights);
84}
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS NTAPI DrmForwardContentToInterface(IN ULONG ContentId, IN PUNKNOWN pUnknown, IN ULONG NumMethods)
Definition: stubs.cpp:116
NTSTATUS NTAPI DrmDestroyContent(IN ULONG ContentId)
Definition: stubs.cpp:64
NTSTATUS NTAPI DrmForwardContentToDeviceObject(IN ULONG ContentId, IN PVOID Reserved, IN PCDRMFORWARD DrmForward)
Definition: stubs.cpp:80
NTSTATUS NTAPI DrmAddContentHandlers(IN ULONG ContentId, IN PVOID *paHandlers, IN ULONG NumHandlers)
Definition: stubs.cpp:29
NTSTATUS NTAPI DrmGetContentRights(IN ULONG ContentId, OUT PDRMRIGHTS DrmRights)
Definition: stubs.cpp:133
NTSTATUS NTAPI DrmCreateContentMixed(IN PULONG paContentId, IN ULONG cContentId, OUT PULONG pMixedContentId)
Definition: stubs.cpp:47
NTSTATUS NTAPI DrmForwardContentToFileObject(IN ULONG ContentId, IN PFILE_OBJECT FileObject)
Definition: stubs.cpp:99
NTSTATUS NTAPI PcCreateContentMixed(IN PULONG paContentId, IN ULONG cContentId, OUT PULONG pMixedContentId)
Definition: drm.cpp:27
NTSTATUS NTAPI PcForwardContentToInterface(IN ULONG ContentId, IN PUNKNOWN pUnknown, IN ULONG NumMethods)
Definition: drm.cpp:68
NTSTATUS NTAPI PcForwardContentToDeviceObject(IN ULONG ContentId, IN PVOID Reserved, IN PCDRMFORWARD DrmForward)
Definition: drm.cpp:47
NTSTATUS NTAPI PcForwardContentToFileObject(IN ULONG ContentId, IN PFILE_OBJECT FileObject)
Definition: drm.cpp:58
NTSTATUS NTAPI PcGetContentRights(IN ULONG ContentId, OUT PDRMRIGHTS DrmRights)
Definition: drm.cpp:78
NTSTATUS NTAPI PcAddContentHandlers(IN ULONG ContentId, IN PVOID *paHandlers, IN ULONG NumHandlers)
Definition: drm.cpp:16
NTSTATUS NTAPI PcDestroyContent(IN ULONG ContentId)
Definition: drm.cpp:38
_In_ ULONG cContentId
Definition: drmk.h:48
_In_ PUNKNOWN pUnknown
Definition: drmk.h:76
_In_ ULONG NumHandlers
Definition: drmk.h:41
_Out_ PDRMRIGHTS DrmRights
Definition: drmk.h:84
_In_ ULONG _Out_ PULONG pMixedContentId
Definition: drmk.h:49
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
@ NumMethods
Definition: actctx.c:1556
#define PC_ASSERT_IRQL_EQUAL(x)
Definition: private.hpp:31
Definition: drmk.h:18
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:550
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
* PFILE_OBJECT
Definition: iotypes.h:1998