Group: Windows Multimedia - Library: winmm
Quering waveform-audio output devices
MMRESULT waveOutGetDevCaps(
UINT_PTR uDeviceID,
LPWAVEOUTCAPS pwoc,
UINT cbwoc
);
DECLARE INTEGER waveOutGetDevCaps IN winmm;
INTEGER uDeviceID,;
STRING @ pwoc,;
INTEGER cbwoc
uDeviceID Identifier of the waveform-audio output device. It can be either a device identifier or a handle of an open waveform-audio output device.
pwoc Pointer to a WAVEOUTCAPS structure to be filled with information about the capabilities of the device.
cbwoc Size, in bytes, of the WAVEOUTCAPS structure.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.