// ntddcdvd.h
// CTL_CODE(0x0033, 0x43a, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_AACS_READ_MEDIA_ID 0x003350E8
View the official Windows Driver Kit DDI referenceNo description available.
Reads the Advanced Access Content System (AACS)-specific media identifier data.
The buffer at Irp->AssociatedIrp.SystemBuffer contains a value of type DVD_SESSION_ID that specifies an Authentication Grant Identifier (AGID).
Length of a DVD_SESSION_ID.
The buffer at Irp->AssociatedIrp.SystemBuffer contains the value of type AACS_MEDIA_ID that specifies the media ID.
Length of a AACS_MEDIA_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_MEDIA_ID request corresponds to the part of the AACS authentication protocol that is responsible for transferring the media 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_MEDIA_ID request completes.