hwndOwner (HWND) - input
The window handle of the owner window. If this
parameter is NULL then the currently active window is used.
pszFile (PSZ) - input
Pointer
to a multimedia file name. Compound-file names are also supported. For
example:
a:\path\file+element
pszTitle (PSZ) - input
Specifies the title for the recorder window.
ulFlags (ULONG) - input
Reserved for future use and must be set to zero.
rc (ULONG) - returns
Returns
MCIERR_SUCCESS if there was no error. An escape from the recorder dialog
returns the DID_CANCEL return code.
MCIERR_SUCCESS
If the function succeeds, 0 is returned.
MCIERR_UNSUPPORTED_FLAG
ulFlags
is not set to zero.
MCIERR_MISSING_PARAMETER
MCIERR_FILE_NOT_FOUND
The filename is a NULL string.
MCIERR_OUT_OF_MEMORY
MMPM/2 could not allocate memory.
DID_CANCEL
User cancelled from recording without saving recorded
files, or there was an MCI error.
[Back]
[Next]