Parameters
Return DSHRES_OK if successful. Other return values are DSHRES_WRONGPARAM and DSHRES_GENERALERROR
Remarks
This function does not allocate memory for the WaveFormatEx structure. Extra information of the wave format the wave file contains will not be retrieved by this function. You have to open the wave file yourself in order to get this information. You cannot change the format of the channel (it is specified by the wave file!).
See also