EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

acmStreamConvertCallback callback function

The acmStreamConvertCallback function specifies an application-provided callback function to be used when the acmStreamOpen function specifies the CALLBACK_FUNCTION flag. The acmStreamConvertCallback name is a placeholder for an application-defined function name.

Syntax


void CALLBACK acmStreamConvertCallback(
   HACMSTREAM has,
   UINT       uMsg,
   DWORD      dwInstance,
   LPARAM     lParam1,
   LPARAM     lParam2
);

Parameters

has

Handle to the ACM conversion stream associated with the callback function.

uMsg

ACM conversion stream message. The following values are defined.

Value Meaning
MM_ACM_CLOSEACM has successfully closed the conversion stream identified by has. The handle specified by has is no longer valid after receiving this message.
MM_ACM_DONEACM has successfully converted the buffer identified by lParam1 (which is a pointer to the ACMSTREAMHEADER structure) for the stream handle identified by has.
MM_ACM_OPENACM has successfully opened the conversion stream identified by has.

 

dwInstance

User-instance data given as the dwInstance parameter of the acmStreamOpen function.

lParam1

Message parameter.

lParam2

Message parameter.

Return value

This function does not return a value.

Remarks

The following functions should not be called from within the callback function: acmDriverAdd, acmDriverRemove, and acmDriverPriority.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Msacm.h

See also

Audio Compression Manager
Audio Compression Functions

 

 

커뮤니티 추가 항목

표시:
© 2015 Microsoft