?/TD>
Microsoft DirectX 9.0

Return Values Enumerated Type


The DirectXSetup function can return the following values. It can also return a standard Component Object Model (COM) error.

Syntax

typedef enum {
    DSETUPERR_SUCCESS,
    DSETUPERR_SUCCESS_RESTART,
    DSETUPERR_BADWINDOWSVERSION,
    DSETUPERR_CANTFINDDIR,
    DSETUPERR_CANTFINDINF,
    DSETUPERR_INTERNAL,
    DSETUPERR_NOTADMIN,
    DSETUPERR_NOCOPY,
    DSETUPERR_OUTOFDISKSPACE,
    DSETUPERR_SOURCEFILENOTFOUND,
    DSETUPERR_UNSUPPORTEDPROCESSOR,
    DSETUPERR_MISSINGCAB_MANAGEDDX,
    DSETUPERR_NODOTNETFRAMEWORKINSTALLED
} Return Values;

Constants

DSETUPERR_SUCCESS

Setup was successful, and no restart is required.

DSETUPERR_SUCCESS_RESTART

Setup was successful, and a restart is required.

DSETUPERR_BADWINDOWSVERSION

Microsoft?DirectX?does not support the Microsoft 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_NOTADMIN

The current user does not have administrative privileges. On Windows 2000 systems, the user may need administrative privileges for some setup operations.

DSETUPERR_NOCOPY

A file's version could not be verified or was incorrect.

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_UNSUPPORTEDPROCESSOR

The processor type is unsupported. DirectX 9.0 supports only Pentium or K6-compatible or higher processors.

DSETUPERR_MISSINGCAB_MANAGEDDX

ManagedDX.CAB is missing from the DirectX package.

DSETUPERR_NODOTNETFRAMEWORKINSTALLED

The Microsoft .NET Framework is not installed and is required for Managed DirectX.

Enumerated Type Information

Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.