ReactOS  0.4.14-dev-1233-gf5658fd
sec.c File Reference
#include "cdrom.h"
Include dependency graph for sec.c:

Go to the source code of this file.

Functions

NTSTATUS NTAPI CdRomGetRpc0Settings (IN PDEVICE_OBJECT Fdo)
 
NTSTATUS NTAPI CdRomSetRpc0Settings (IN PDEVICE_OBJECT Fdo, IN UCHAR NewRegion)
 

Function Documentation

◆ CdRomGetRpc0Settings()

NTSTATUS NTAPI CdRomGetRpc0Settings ( IN PDEVICE_OBJECT  Fdo)

Definition at line 11 of file sec.c.

14 {
15  PCOMMON_DEVICE_EXTENSION commonExtension = Fdo->DeviceExtension;
16  PCDROM_DATA cddata = (PCDROM_DATA)(commonExtension->DriverData);
17 
18  cddata->Rpc0SystemRegion = (UCHAR)(~1); // region one
19  cddata->Rpc0SystemRegionResetCount = 0; // no resets
20 
21  return STATUS_SUCCESS;
22 }
UCHAR Rpc0SystemRegionResetCount
Definition: cdrom.h:247
struct _CDROM_DATA * PCDROM_DATA
UCHAR Rpc0SystemRegion
Definition: cdrom.h:246
unsigned char UCHAR
Definition: xmlstorage.h:181
return STATUS_SUCCESS
Definition: btrfs.c:2938

Referenced by CdRomPickDvdRegion().

◆ CdRomSetRpc0Settings()

NTSTATUS NTAPI CdRomSetRpc0Settings ( IN PDEVICE_OBJECT  Fdo,
IN UCHAR  NewRegion 
)

Definition at line 26 of file sec.c.

30 {
31  return STATUS_SUCCESS;
32 }
return STATUS_SUCCESS
Definition: btrfs.c:2938

Referenced by CdRomDeviceControlDispatch().