dsh_ChannelGetBuffer

int dsh_ChannelGetBuffer(
CHANNELID channel,
LPDIRECTSOUNDBUFFER* lpdsb
);

Parameters

channel
Specifies the channel the function refers.

lpdsb
Pointer to a IDirectSound-pointer, which should be returned.


Return Values

Returns DSHRES_OK if successful. Other return values are DSHRES_WRONGPARAM and DSHRES_GENERALERROR.

Remarks

This function gives you full access to DirectSound buffers. Be careful with handling them. Donīt release them, the DLL will do this automatically.

See also