|
acmFormatChoose
The acmFormatChoose function creates an ACM-defined dialog box that enables the user to select a
waveform-audio format.
MMRESULT acmFormatChoose(
LPACMFORMATCHOOSE pfmtc
|
| );
|
|
Parameters
pfmtc
Address of an ACMFORMATCHOOSE structure that contains information used to initialize the dialog box. When
this function returns, this structure contains information about the user's
format selection.
The pwfx member of this structure must contain a valid pointer to a memory location
that will contain the returned format header structure. Moreover, the cbwfx member must be filled in with the size, in bytes, of this memory buffer.
Return Values
Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible return
values include the following:
ACMERR_CANCELED
| The user chose the Cancel button or the Close command on the System menu to
close the dialog box.
| ACMERR_NOTPOSSIBLE
| The buffer identified by the pwfx member of the ACMFORMATCHOOSE structure is too small to contain the selected format.
| MMSYSERR_INVALFLAG
| At least one flag is invalid.
| MMSYSERR_INVALHANDLE
| The specified handle is invalid.
| MMSYSERR_INVALPARAM
| At least one parameter is invalid.
| MMSYSERR_NODRIVER
| A suitable driver is not available to provide valid format selections.
|
See Also
ACMFORMATCHOOSE
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|