Previous | Next |
The GetDevice method retrieves a pointer to the device with which this interface is associated.
Syntax
HRESULT GetDevice(
IMDSPDevice** ppDevice
);
Parameters
ppDevice
[out] Pointer to a device identified by the IMDSPDevice interface.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Description |
E_INVALIDARG | The ppDevice parameter is an invalid or NULL pointer. |
E_FAIL | An unspecified error occurred. |
See Also
Previous | Next |