TYPE_OF_OPEN
CdDecodeFileObject(
  IN  PIRP_CONTEXT IrpContext,
  IN  PFILE_OBJECT FileObject,
  OUT PFCB *Fcb,
  OUT PCCB *Ccb
  );

Routine Description:

    This routine takes a file object and extracts the Fcb and Ccb (possibly NULL)
    and returns the type of open.

Arguments:

    FileObject - Supplies the file object pointer being initialized.

    Fcb - Address to store the Fcb contained in the file object.

    Ccb - Address to store the Ccb contained in the file object.

Return Value:

    TYPE_OF_OPEN - Indicates the type of file object.