Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

CREDUI_INFO (Structures)
 
.

Check out the formatting tips on the right for help formatting and making links.

Use the template below then delete this header:

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

C# Signature:

  [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
  public struct CREDUI_INFO
  {
            public int cbSize;
            public IntPtr hwndParent;
            public string pszMessageText;
            public string pszCaptionText;
            public IntPtr hbmBanner;
  }

VB .NET Signature:

    <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
    Public Structure CREDUI_INFO
    Public cbSize As Integer
    Public hwndParent As IntPtr
    Public pszMessageText As String
    Public pszCaptionText As String
    Public hbmBanner As IntPtr
    End Structure

User-Defined Types:

None.

Notes:

- Removed "[MarshalAs(UnmanagedType.LPWStr)]" attributes on pswMessageText and pszCaptionText.

  These are no longer needed as CredUIPromptForCredentials has been modified to remove the explicit Unicode version.

Documentation
CREDUI_INFO on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions