谁能提供我一些"MciSendCommand","MciSendString"API函数的资料,提供者有分。

解决方案 »

  1.   

    Platform SDK: Windows Multimedia 
    mciSendString
    The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string. MCIERROR mciSendString(
      LPCTSTR lpszCommand,  
      LPTSTR lpszReturnString,  
      UINT cchReturn,       
      HANDLE hwndCallback   
    );
    Parameters
    lpszCommand 
    Pointer to a null-terminated string that specifies an MCI command string. For more information about the command strings, see Command Strings. 
    lpszReturnString 
    Pointer to a buffer that receives return information. If no return information is needed, this parameter can be NULL. 
    cchReturn 
    Size, in characters, of the return buffer specified by the lpszReturnString parameter. 
    hwndCallback 
    Handle to a callback window if the "notify" flag was specified in the command string. 
    Return Values
    Returns zero if successful or an error otherwise. The low-order word of the returned DWORD value contains the error return value. If the error is device-specific, the high-order word of the return value is the driver identifier; otherwise, the high-order word is zero. For a list of possible error values, see MCIERR Return Values.To retrieve a text description of mciSendString return values, pass the return value to the mciGetErrorString function. Requirements 
      Windows NT/2000: Requires Windows NT 3.1 or later.
      Windows 95/98: Requires Windows 95 or later.
      Header: Declared in Mmsystem.h.
      Library: Use Winmm.lib.
      Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.See Also
    MCI Overview, MCI Functions, mciGetErrorStringBuilt on Thursday, May 11, 2000Requirements 
      Windows NT/2000: Requires Windows NT 3.1 or later.
      Windows 95/98: Requires Windows 95 or later.
      Header: Declared in Mmsystem.h.
      Library: Use Winmm.lib.
      Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.
    See Also
    MCI Overview, MCI Functions, mciGetErrorString
      

  2.   

    http://www.pcvc.net/book/book_detail.asp?sendid=144
    http://www.impu.edu.cn/learner/aboutvc/vcmidiwavcd.html
    http://www.ccw.com.cn/htm/produ/special/VC/neimu/01_9_17_37.asp
    http://www.chinaoak.com/download/material/MultiMedia/VCMedia.htm
      

  3.   

    mciSendCommand
    The mciSendCommand function sends a command message to the specified MCI device. MCIERROR mciSendCommand(
      MCIDEVICEID IDDevice,   
      UINT        uMsg,       
      DWORD       fdwCommand, 
      DWORD_PTR   dwParam     
    );
    Parameters
    IDDevice 
    Device identifier of the MCI device that is to receive the command message. This parameter is not used with the MCI_OPEN command message. 
    uMsg 
    Command message. For a list, see Multimedia Commands. 
    fdwCommand 
    Flags for the command message. 
    dwParam 
    Pointer to a structure that contains parameters for the command message. 
    Return Values
    Returns zero if successful or an error otherwise. The low-order word of the returned DWORD value contains the error return value. If the error is device-specific, the high-order word of the return value is the driver identifier; otherwise, the high-order word is zero. For a list of possible return values, see MCIERR Return Values.To retrieve a text description of mciSendCommand return values, pass the return value to the mciGetErrorString function. Res
    Error values that are returned when a device is being opened are listed with the MCI_OPEN command message. In addition to the MCI_OPEN error return values, this function can return the values listed in MCIERR Return Values.Use MCI_OPEN to obtain the device identifier specified by the IDDevice parameter. Requirements 
      Windows NT/2000: Requires Windows NT 3.1 or later.
      Windows 95/98: Requires Windows 95 or later.
      Header: Declared in Mmsystem.h.
      Library: Use Winmm.lib.
      Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.
      

  4.   

    mciSendString
    The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string. MCIERROR mciSendString(
      LPCTSTR lpszCommand,  
      LPTSTR lpszReturnString,  
      UINT cchReturn,       
      HANDLE hwndCallback   
    );
    Parameters
    lpszCommand 
    Pointer to a null-terminated string that specifies an MCI command string. For a list, see Multimedia Command Strings. 
    lpszReturnString 
    Pointer to a buffer that receives return information. If no return information is needed, this parameter can be NULL. 
    cchReturn 
    Size, in characters, of the return buffer specified by the lpszReturnString parameter. 
    hwndCallback 
    Handle to a callback window if the "notify" flag was specified in the command string. 
    Return Values
    Returns zero if successful or an error otherwise. The low-order word of the returned DWORD value contains the error return value. If the error is device-specific, the high-order word of the return value is the driver identifier; otherwise, the high-order word is zero. For a list of possible error values, see MCIERR Return Values.To retrieve a text description of mciSendString return values, pass the return value to the mciGetErrorString function. Requirements 
      Windows NT/2000: Requires Windows NT 3.1 or later.
      Windows 95/98: Requires Windows 95 or later.
      Header: Declared in Mmsystem.h.
      Library: Use Winmm.lib.
      Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.See Also