- 4.47.2.6. -
Table of Contents
4. Standard Units
4.47. MMedia - Multimedia Devices support unit
4.47.2. TMMedia Object Methods
4.47.2.6. GetDeviceCaps
4.47.2.6. GetDeviceCaps
Targets: Win32 only
MMedia Unit
Retrieves static information about a device. All devices recognize this command.
Information is returned in the DeviceCaps variable of the TMCIDeviceCaps
structure (see below).
Declaration:
  procedure GetDeviceCaps(var DeviceCaps: TMCIDeviceCaps);
Remarks:
TMCIDeviceCaps structure is defined as follows:
TMCIDeviceCaps = record
     CanPlay:             Boolean;
     CanRecord:           Boolean;
     CanEject:            Boolean;
     CanSave:             Boolean;
     CanChangePos:        Boolean;
     HasVideo:            Boolean;
     HasAudio:            Boolean;
     ActiveRect:          TRect;
     ActiveRectWidth:     Longint;
     ActiveRectHeight:    Longint;
   end;
- 4.47.2.6. -