Share via


DirectSound Return Values by Number

[The feature associated with this page, DirectSound, is a legacy feature. It has been superseded by WASAPI and Audio Graphs. Media Casting have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of DirectSound, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The following table lists DirectSound return values sorted by hexadecimal value. For a description, click on the constant.

Hexadecimal Constant
0x00000000 DS_OK
0x00000007 DSERR_OUTOFMEMORY
0x000001AE DSERR_NOINTERFACE
0x0878000A DS_NO_VIRTUALIZATION
0x08780014 DS_INCOMPLETE
0x80004001 DSERR_UNSUPPORTED
0x80004005 DSERR_GENERIC
0x80070005 DSERR_ACCESSDENIED
0x80070057 DSERR_INVALIDPARAM
0x8878000A DSERR_ALLOCATED
0x8878001E DSERR_CONTROLUNAVAIL
0x88780032 DSERR_INVALIDCALL
0x88780046 DSERR_PRIOLEVELNEEDED
0x88780064 DSERR_BADFORMAT
0x88780078 DSERR_NODRIVER
0x88780082 DSERR_ALREADYINITIALIZED
0x88780096 DSERR_BUFFERLOST
0x887800A0 DSERR_OTHERAPPHASPRIO
0x887800AA DSERR_UNINITIALIZED
0x887810B4 DSERR_BUFFERTOOSMALL
0x887810BE DSERR_DS8_REQUIRED
0x887810C8 DSERR_SENDLOOP
0x887810D2 DSERR_BADSENDBUFFERGUID
0x887810DC DSERR_FXUNAVAILABLE
0x88781161 DSERR_OBJECTNOTFOUND