// ntddcdvd.h
// CTL_CODE(0x0033, 0x438, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_AACS_READ_VOLUME_ID 0x003350E0
View the official Windows Driver Kit DDI referenceNo description available.
Reads the Advanced Access Content System (AACS)-specific volume identifier.
The buffer at Irp->AssociatedIrp.SystemBuffer contains a value of type DVD_SESSION_ID that specifies an Authentication Grant Identifier (AGID). The AGID identifies the secure session that is associated with the volume.
Length of a DVD_SESSION_ID.
The buffer at Irp->AssociatedIrp.SystemBuffer contains the value of type AACS_VOLUME_ID that specifies the volume ID.
Length of an AACS_VOLUME_ID.
The Information field is set to the number of bytes transferred. The Status field is set to STATUS_SUCCESS or possibly STATUS_INSUFFICIENT_RESOURCES.
The IOCTL_AACS_READ_VOLUME_ID request corresponds to the part of the AACS authentication protocol that is responsible for transferring the volume identifier. For a complete description of this protocol, see the Advanced Access Content System, Introduction and Common Cryptographic Elements specification that is published by Advanced Access Content System Licensing Administrator (AACS LA).
The AGID is automatically released after the IOCTL_AACS_READ_VOLUME_ID request completes.