The DirectXSetup function can return the following values.
A file's size could not be verified or was incorrect.
A file's date and time could not be verified or were incorrect.
DirectX does not support the Windows version on the system.
The setup program could not find the working directory.
A required .inf file could not be found.
An internal error occurred.
A file's version could not be verified or was incorrect.
The version of Windows NT on the system does not have all the DirectX 3 components installed.
The setup program ran out of disk space during installation.
One of the required source files could not be found.
The operating system on your system is not currently supported.
The Cancel button was pressed before the application was fully installed.
A 0 is returned if the setup was successful and no restart is required.
A 1 is returned if the setup was successful and a restart is required.