UiInfo structure (ndattrib.h)

The UiInfo structure is used to display repair messages to the user.

Syntax

typedef struct tagUiInfo {
  UI_INFO_TYPE type;
  union {
    LPWSTR           pwzNull;
    ShellCommandInfo ShellInfo;
    LPWSTR           pwzHelpUrl;
    LPWSTR           pwzDui;
  };
} UiInfo, *PUiInfo;

Members

type

Type: UI_INFO_TYPE

The type of user interface (UI) to use. This can be one of the values shown in the following members.

pwzNull

Type: LPWSTR

No additional UI is required. Used when type is set to UIT_NONE.

ShellInfo

Type: ShellCommandInfo

Execute a shell command. Used when type is set to UIT_SHELL_COMMAND.

pwzHelpUrl

Type: LPWSTR

Launches a help pane. Used when type is set to UIT_HELP_PANE.

pwzDui

Type: LPWSTR

Use a direct user interface. Used when type is set to UIT_DUI.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header ndattrib.h

See also

FreeUiInfo

UI_INFO_TYPE