Previous: GetDevice To the Table of Content Next: GetDeviceID

- 4.47.2.6 -
Standard Units
MMedia Unit
TMMedia Object Methods

TMMedia.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;



Previous: GetDevice To the Table of Content Next: GetDeviceID
GetDevice Table of Content GetDeviceID

- 4.47.2.6 -