// ksmedia.h
typedef struct tagTRANSPORTSTATUS {
LONG Mode;
LONG LastError;
LONG RecordInhibit;
LONG ServoLock;
LONG MediaPresent;
LONG MediaLength;
LONG MediaSize;
LONG MediaTrackCount;
LONG MediaTrackLength;
LONG MediaTrackSide;
LONG MediaType;
LONG LinkMode;
LONG NotifyOn;
} TRANSPORTSTATUS, *PTRANSPORTSTATUS;
View the official Windows Driver Kit DDI referenceNo description available.
The TRANSPORTSTATUS structure describes the current transport status.
ModeSpecifies the ED_MODE_Xxx.
LastErrorSpecifies the last error.
RecordInhibitSpecifies if recording is inhibited. TRUE if recording is prevented, FALSE otherwise.
ServoLockIndicates the servo lock.
MediaPresentSpecifies if media is present.
MediaLengthSpecifies the length of the media.
MediaSizeSpecifies the size of the media.
MediaTrackCountIndicates the media track count.
MediaTrackLengthSpecifies the media track length.
MediaTrackSideIndicates the media track size.
MediaTypeIndicates the type of media.
LinkModeIndicates linked mode. TRUE if linked, FALSE otherwise.
NotifyOnSpecifies event notification. TRUE enables event notification, FALSE disables event notification.
Any ED_Xxx tokens are defined in xprtdefs.h in the Microsoft DirectX SDK.