Return Values

The DirectXSetup function can return the following values. It can also return a standard COM error.

DSETUPERR_SUCCESS
Setup was successful and no restart is required.
DSETUPERR_SUCCESS_RESTART
Setup was successful and a restart is required.
DSETUPERR_BADSOURCESIZE
A file's size could not be verified or was incorrect.
DSETUPERR_BADSOURCETIME
A file's date and time could not be verified or were incorrect.
DSETUPERR_BADWINDOWSVERSION
DirectX does not support the Windows version on the system.
DSETUPERR_CANTFINDDIR
The setup program could not find the working directory.
DSETUPERR_CANTFINDINF
A required .inf file could not be found.
DSETUPERR_INTERNAL
An internal error occurred.
DSETUPERR_NOCOPY
A file's version could not be verified or was incorrect.
DSETUPERR_NOTPREINSTALLEDONNT
The version of Windows NT on the system does not contain the current version of DirectX. An older version of DirectX may be present, or DirectX may be absent altogether.
DSETUPERR_OUTOFDISKSPACE
The setup program ran out of disk space during installation.
DSETUPERR_SOURCEFILENOTFOUND
One of the required source files could not be found.
DSETUPERR_UNKNOWNOS
The operating system on your system is not currently supported.
DSETUPERR_USERHITCANCEL
The Cancel button was pressed before the application was fully installed.