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

stubs.cpp
Go to the documentation of this file.
00001 /*
00002     ReactOS Kernel Streaming
00003     Digital Rights Management
00004 
00005     Please see COPYING in the top-level directory for license information.
00006 
00007     Author: Andrew Greenwood
00008 
00009     Notes:
00010     This is just a file containing stub functions. The DRMK kernel library
00011     deals with Digital Rights Management. This is not essential for the
00012     operation of audio/video (except in the cases where content has digital
00013     rights information) but is needed for linking with PORTCLS.
00014 */
00015 
00016 #include <ntddk.h>
00017 #include <portcls.h>
00018 #include <debug.h>
00019 
00020 /*
00021     Provide a driver interface consisting of functions for handling DRM
00022     protected content
00023 */
00024 /*
00025  * @unimplemented
00026  */
00027 NTSTATUS
00028 NTAPI
00029 DrmAddContentHandlers(
00030     IN  ULONG ContentId,
00031     IN  PVOID *paHandlers,
00032     IN  ULONG NumHandlers)
00033 {
00034     UNIMPLEMENTED;
00035     return STATUS_UNSUCCESSFUL;
00036 }
00037 
00038 /*
00039     Creates a DRM content ID to identify a KS audio stream containing
00040     mixed content from several input streams.
00041 */
00042 /*
00043  * @unimplemented
00044  */
00045 NTSTATUS
00046 NTAPI
00047 DrmCreateContentMixed(
00048     IN  PULONG paContentId,
00049     IN  ULONG cContentId,
00050     OUT PULONG pMixedContentId)
00051 {
00052     UNIMPLEMENTED;
00053     return STATUS_UNSUCCESSFUL;
00054 }
00055 
00056 /*
00057     Deletes a DRM content ID.
00058 */
00059 /*
00060  * @unimplemented
00061  */
00062 NTSTATUS
00063 NTAPI
00064 DrmDestroyContent(
00065     IN  ULONG ContentId)
00066 {
00067     UNIMPLEMENTED;
00068     return STATUS_UNSUCCESSFUL;
00069 }
00070 
00071 /*
00072     Authenticates a driver, then passes it the DRM content ID, along with
00073     the content rights which have been assigned to a stream.
00074 */
00075 /*
00076  * @unimplemented
00077  */
00078 NTSTATUS
00079 NTAPI
00080 DrmForwardContentToDeviceObject(
00081     IN  ULONG ContentId,
00082     IN  PVOID Reserved,
00083     IN  PCDRMFORWARD DrmForward)
00084 {
00085     UNIMPLEMENTED;
00086     return STATUS_UNSUCCESSFUL;
00087 }
00088 
00089 /*
00090     Obsolete because it forces the system to run at a lower DRM security
00091     level. Returns STATUS_NOT_IMPLEMENTED if a pin associated with
00092     FileObject doesnt support the rights assigned to ContentId.
00093 */
00094 /*
00095  * @unimplemented
00096  */
00097 NTSTATUS
00098 NTAPI
00099 DrmForwardContentToFileObject(
00100     IN  ULONG ContentId,
00101     IN  PFILE_OBJECT FileObject)
00102 {
00103     UNIMPLEMENTED;
00104     return STATUS_UNSUCCESSFUL;
00105 }
00106 
00107 /*
00108     Similar to DrmForwardContentToDeviceObject, except this works with a driver
00109     object rather than just a driver.
00110 */
00111 /*
00112  * @unimplemented
00113  */
00114 NTSTATUS
00115 NTAPI
00116 DrmForwardContentToInterface(
00117     IN  ULONG ContentId,
00118     IN  PUNKNOWN pUnknown,
00119     IN  ULONG NumMethods)
00120 {
00121     UNIMPLEMENTED;
00122     return STATUS_UNSUCCESSFUL;
00123 }
00124 
00125 /*
00126     Retrieves DRM Content rights that have been assigend to a DRM Content ID.
00127 */
00128 /*
00129  * @unimplemented
00130  */
00131 NTSTATUS
00132 NTAPI
00133 DrmGetContentRights(
00134     IN  ULONG ContentId,
00135     OUT PDRMRIGHTS DrmRights)
00136 {
00137     UNIMPLEMENTED;
00138     return STATUS_UNSUCCESSFUL;
00139 }

Generated on Sun May 27 2012 04:26:31 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.