Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CREDUI_INFO
Collapse the table of content
Expand the table of content

CREDUI_INFO structure

The CREDUI_INFO structure is used to pass information to the CredUIPromptForCredentials function that creates a dialog box used to obtain credentials information.

Syntax


typedef struct _CREDUI_INFO {
  DWORD   cbSize;
  HWND    hwndParent;
  PCTSTR  pszMessageText;
  PCTSTR  pszCaptionText;
  HBITMAP hbmBanner;
} CREDUI_INFO, *PCREDUI_INFO;

Members

cbSize

Set to the size of the CREDUI_INFO structure.

hwndParent

Specifies the handle to the parent window of the dialog box. The dialog box is modal with respect to the parent window. If this member is NULL, the desktop is the parent window of the dialog box.

pszMessageText

Pointer to a string containing a brief message to display in the dialog box. The length of this string should not exceed CREDUI_MAX_MESSAGE_LENGTH.

pszCaptionText

Pointer to a string containing the title for the dialog box. The length of this string should not exceed CREDUI_MAX_CAPTION_LENGTH.

hbmBanner

Bitmap to display in the dialog box. If this member is NULL, a default bitmap is used. The bitmap size is limited to 320x60 pixels.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinCred.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft