ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

drm.cpp
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         ReactOS Kernel Streaming
00004  * FILE:            drivers/wdm/audio/backpln/portcls/drm.cpp
00005  * PURPOSE:         portcls drm functions
00006  * PROGRAMMER:      Andrew Greenwood
00007  */
00008 
00009 #include "private.hpp"
00010 
00011 
00012 NTSTATUS
00013 NTAPI
00014 PcAddContentHandlers(
00015     IN  ULONG ContentId,
00016     IN  PVOID *paHandlers,
00017     IN  ULONG NumHandlers)
00018 {
00019     PC_ASSERT_IRQL_EQUAL(PASSIVE_LEVEL);
00020     return DrmAddContentHandlers(ContentId, paHandlers, NumHandlers);
00021 }
00022 
00023 NTSTATUS
00024 NTAPI
00025 PcCreateContentMixed(
00026     IN  PULONG paContentId,
00027     IN  ULONG cContentId,
00028     OUT PULONG pMixedContentId)
00029 {
00030     PC_ASSERT_IRQL_EQUAL(PASSIVE_LEVEL);
00031     return DrmCreateContentMixed(paContentId, cContentId, pMixedContentId);
00032 }
00033 
00034 NTSTATUS
00035 NTAPI
00036 PcDestroyContent(
00037     IN  ULONG ContentId)
00038 {
00039     PC_ASSERT_IRQL_EQUAL(PASSIVE_LEVEL);
00040     return DrmDestroyContent(ContentId);
00041 }
00042 
00043 NTSTATUS
00044 NTAPI
00045 PcForwardContentToDeviceObject(
00046     IN  ULONG ContentId,
00047     IN  PVOID Reserved,
00048     IN  PCDRMFORWARD DrmForward)
00049 {
00050     PC_ASSERT_IRQL_EQUAL(PASSIVE_LEVEL);
00051     return DrmForwardContentToDeviceObject(ContentId, Reserved, DrmForward);
00052 }
00053 
00054 NTSTATUS
00055 NTAPI
00056 PcForwardContentToFileObject(
00057     IN  ULONG ContentId,
00058     IN  PFILE_OBJECT FileObject)
00059 {
00060     PC_ASSERT_IRQL_EQUAL(PASSIVE_LEVEL);
00061     return DrmForwardContentToFileObject(ContentId, FileObject);
00062 }
00063 
00064 NTSTATUS
00065 NTAPI
00066 PcForwardContentToInterface(
00067     IN  ULONG ContentId,
00068     IN  PUNKNOWN pUnknown,
00069     IN  ULONG NumMethods)
00070 {
00071     return DrmForwardContentToInterface(ContentId, pUnknown, NumMethods);
00072 }
00073 
00074 NTSTATUS
00075 NTAPI
00076 PcGetContentRights(
00077     IN  ULONG ContentId,
00078     OUT PDRMRIGHTS DrmRights)
00079 {
00080     PC_ASSERT_IRQL_EQUAL(PASSIVE_LEVEL);
00081     return DrmGetContentRights(ContentId, DrmRights);
00082 }

Generated on Fri May 25 2012 04:26:49 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.