// ksmedia.h
typedef struct {
BOOL MediaPresent;
ULONG MediaType;
BOOL RecordInhibit;
} MEDIUM_INFO, *PMEDIUM_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
The MEDIUM_INFO structure describes the media loaded into an external device.
MediaPresentSpecifies if media is present in the external device. TRUE if media is loaded, FALSE otherwise.
MediaTypeIndicates the type of the media loaded in an external device.
| Flag | Meaning |
|---|---|
| ED_MEDIA_DVC | Digital video cassette. For example MiniDV |
| ED_MEDIA_VHS | VHS cassette |
| ED_MEDIA_HI8 | Hi-8 cassette |
RecordInhibitSpecifies if recording is inhibited on the media. TRUE if recording onto the media is inhibited, FALSE otherwise.
Any ED_Xxx tokens are defined in xprtdefs.h in the Microsoft DirectX SDK.