NTSTATUS
CdPerformDevIoCtrl(
  IN  PIRP_CONTEXT IrpContext,
  IN  ULONG IoControlCode,
  IN  PDEVICE_OBJECT Device,
  OUT PVOID OutputBuffer OPTIONAL,
  IN  ULONG OutputBufferLength,
  IN  BOOLEAN InternalDeviceIoControl,
  IN  BOOLEAN OverrideVerify,
  OUT PIO_STATUS_BLOCK Iosb OPTIONAL
  );

Routine Description:

    This routine is called to perform DevIoCtrl functions internally within
    the filesystem.  We take the status from the driver and return it to our
    caller.

Arguments:

    IoControlCode - Code to send to driver.

    Device - This is the device to send the request to.

    OutPutBuffer - Pointer to output buffer.

    OutputBufferLength - Length of output buffer above.

    InternalDeviceIoControl - Indicates if this is an internal or external
        Io control code.

    OverrideVerify - Indicates if we should tell the driver not to return
        STATUS_VERIFY_REQUIRED for mount and verify.

    Iosb - If specified, we return the results of the operation here.

Return Value:

    NTSTATUS - Status returned by next lower driver.