2010-10-16 15:24:08 +00:00
|
|
|
/*--
|
|
|
|
|
|
|
|
Copyright (C) Microsoft Corporation, 1999
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
2014-02-03 10:39:05 +00:00
|
|
|
#include "cdrom.h"
|
2010-10-16 15:24:08 +00:00
|
|
|
|
|
|
|
NTSTATUS
|
2012-09-25 20:59:32 +00:00
|
|
|
NTAPI
|
2010-10-16 15:24:08 +00:00
|
|
|
CdRomGetRpc0Settings(
|
|
|
|
IN PDEVICE_OBJECT Fdo
|
|
|
|
)
|
|
|
|
{
|
|
|
|
PCOMMON_DEVICE_EXTENSION commonExtension = Fdo->DeviceExtension;
|
|
|
|
PCDROM_DATA cddata = (PCDROM_DATA)(commonExtension->DriverData);
|
|
|
|
|
|
|
|
cddata->Rpc0SystemRegion = (UCHAR)(~1); // region one
|
|
|
|
cddata->Rpc0SystemRegionResetCount = 0; // no resets
|
|
|
|
|
|
|
|
return STATUS_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
NTSTATUS
|
2012-09-25 20:59:32 +00:00
|
|
|
NTAPI
|
2010-10-16 15:24:08 +00:00
|
|
|
CdRomSetRpc0Settings(
|
|
|
|
IN PDEVICE_OBJECT Fdo,
|
|
|
|
IN UCHAR NewRegion
|
|
|
|
)
|
|
|
|
{
|
|
|
|
return STATUS_SUCCESS;
|
|
|
|
}
|