Microsoft DirectX 8.1 (C++) |
The VerifyCertification method ascertains whether the DirectSound device is certified for DirectX.
Syntax
VerifyCertification(
LPDWORD pdwCertified
);
Parameters
pdwCertified
Address of a DWORD variable that receives one of the values shown in the following table.
Value | Description |
DS_CERTIFIED | Driver is certified for DirectSound. |
DS_UNCERTIFIED | Driver is not certified for DirectSound. |
Return Values
If the function succeeds, the return value is DS_OK.
If the function fails, the return value may be one of the error values shown in the following table.
Return code |
DSERR_INVALIDPARAM |
DSERR_UNSUPPORTED |
Remarks
On emulated devices, the method returns DSERR_UNSUPPORTED. Emulated devices are identified by the DSCAPS_EMULDRIVER flag in the dwFlags member of DSCAPS.
Requirements
Header: Declared in dsound.h.
See Also