IOCTL_AACS_READ_VOLUME_ID control code
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.
The buffer at Irp->AssociatedIrp.SystemBuffer contains the value of type AACS_VOLUME_ID that specifies the 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 transfering 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.