?/TD>
Microsoft DirectX 9.0

DSETUP_CB_PROGRESS Structure


Passed as a parameter to the application-defined DirectXSetupCallbackFunction. It contains valid information only when the Reason parameter is DSETUP_CB_MSG_PROGRESS. Callback functions can use it to get status information on the upgrade that is about to be done.

Syntax

typedef struct _DSETUP_CB_PROGRESS {
    DWORD dwPhase;
    DWORD dwInPhaseMaximum;
    DWORD dwInPhaseProgress;
    DWORD dwOverallMaximum;
    DWORD dwOverallProgress;
} DSETUP_CB_PROGRESS;

Members

dwPhase
Flag indicating the phase of the install progress. Can be any of the DSETUP_CB_PROGRESS_PHASE flags.
dwInPhaseMaximum
This is the maximum number of files that will need to be extracted or copied during the DSETUP_EXTRACTING or DSETUP_COPYING phase. This is parameter is only used for the DSETUP_EXTRACTING and DSETUP_COPYING phases; otherwise it is zero and can be ignored.
dwInPhaseProgress
This is the current number of files that have been extracted or copied during the DSETUP_EXTRACTING or DSETUP_COPYING phase. This is parameter is only used for the DSETUP_EXTRACTING and DSETUP_COPYING phases; otherwise it is zero and can be ignored.
dwOverallMaximum
This is the total number of files for both the DSETUP_EXTRACTING and DSETUP_COPYING phase that need to be performed. This is parameter is only used for the DSETUP_EXTRACTING and DSETUP_COPYING phases; otherwise it is zero and can be ignored.
dwOverallProgress
This is the current number of files that have been extract or copied in relation to the dwOverallMaximum value. This is parameter is only used for the DSETUP_EXTRACTING and DSETUP_COPYING phases; otherwise it is zero and can be ignored.

Structure Information

Headerdsetup.h
Minimum operating systems Windows 98

See Also

DirectXSetupCallbackFunction


© 2002 Microsoft Corporation. All rights reserved.