acmDriverID(3mms) — Subroutines
Name
acmDriverID --- Return the handle to an ACM driver identifier associated with an open ACM driver instance or stream handle
Syntax
#include <mme/mme_api.h>
MMRESULT acmDriverID(HACMOBJ hao,
LPHACMDRIVERID phadid,
DWORD fdwDriverID)
Arguments
HACMOBJ hao
HACMOBJ is the handle to an ACM object, such as an open HACMDRIVER or HACMSTREAM. The hao parameter specifies the open driver instance or stream handle.
LPHACMDRIVERID phadid
Specifies a pointer to an HACMDRIVERID handle. This location is filled with a handle identifying the installed driver that is associated with the hao.
DWORD fdwDriverID
Is not used and must be set to zero.
Description
The acmDriverID function returns the handle to an Audio Compression Manager (ACM) driver identifier associated with an open ACM driver instance or stream handle.
Extensions
None.
Return Values
Returns zero if the function was successful; otherwise, it returns a nonzero error number or one of the following error codes:
MMSYSERR_INVALHANDLE@T{ Specified handle is invalid. T} MMSYSERR_INVALPARAM@T{ One or more arguments passed is invalid. T} MMSYSERR_INVALFLAG@T{ One or more flags is invalid. T}