FreeRDP
credui.c File Reference
#include <winpr/crt.h>
#include <winpr/credui.h>

Functions

DWORD CredUIPromptForCredentialsW (PCREDUI_INFOW pUiInfo, PCWSTR pszTargetName, PCtxtHandle pContext, DWORD dwAuthError, PWSTR pszUserName, ULONG ulUserNameBufferSize, PWSTR pszPassword, ULONG ulPasswordBufferSize, BOOL *save, DWORD dwFlags)
 
DWORD CredUIPromptForCredentialsA (PCREDUI_INFOA pUiInfo, PCSTR pszTargetName, PCtxtHandle pContext, DWORD dwAuthError, PSTR pszUserName, ULONG ulUserNameBufferSize, PSTR pszPassword, ULONG ulPasswordBufferSize, BOOL *save, DWORD dwFlags)
 
DWORD CredUIParseUserNameW (CONST WCHAR *UserName, WCHAR *user, ULONG userBufferSize, WCHAR *domain, ULONG domainBufferSize)
 
DWORD CredUIParseUserNameA (CONST CHAR *userName, CHAR *user, ULONG userBufferSize, CHAR *domain, ULONG domainBufferSize)
 
DWORD CredUICmdLinePromptForCredentialsW (PCWSTR pszTargetName, PCtxtHandle pContext, DWORD dwAuthError, PWSTR UserName, ULONG ulUserBufferSize, PWSTR pszPassword, ULONG ulPasswordBufferSize, PBOOL pfSave, DWORD dwFlags)
 
DWORD CredUICmdLinePromptForCredentialsA (PCSTR pszTargetName, PCtxtHandle pContext, DWORD dwAuthError, PSTR UserName, ULONG ulUserBufferSize, PSTR pszPassword, ULONG ulPasswordBufferSize, PBOOL pfSave, DWORD dwFlags)
 
DWORD CredUIConfirmCredentialsW (PCWSTR pszTargetName, BOOL bConfirm)
 
DWORD CredUIConfirmCredentialsA (PCSTR pszTargetName, BOOL bConfirm)
 
DWORD CredUIStoreSSOCredW (PCWSTR pszRealm, PCWSTR pszUsername, PCWSTR pszPassword, BOOL bPersist)
 
DWORD CredUIStoreSSOCredA (PCSTR pszRealm, PCSTR pszUsername, PCSTR pszPassword, BOOL bPersist)
 
DWORD CredUIReadSSOCredW (PCWSTR pszRealm, PWSTR *ppszUsername)
 
DWORD CredUIReadSSOCredA (PCSTR pszRealm, PSTR *ppszUsername)
 

Function Documentation

DWORD CredUICmdLinePromptForCredentialsA ( PCSTR  pszTargetName,
PCtxtHandle  pContext,
DWORD  dwAuthError,
PSTR  UserName,
ULONG  ulUserBufferSize,
PSTR  pszPassword,
ULONG  ulPasswordBufferSize,
PBOOL  pfSave,
DWORD  dwFlags 
)
DWORD CredUICmdLinePromptForCredentialsW ( PCWSTR  pszTargetName,
PCtxtHandle  pContext,
DWORD  dwAuthError,
PWSTR  UserName,
ULONG  ulUserBufferSize,
PWSTR  pszPassword,
ULONG  ulPasswordBufferSize,
PBOOL  pfSave,
DWORD  dwFlags 
)
DWORD CredUIConfirmCredentialsA ( PCSTR  pszTargetName,
BOOL  bConfirm 
)
DWORD CredUIConfirmCredentialsW ( PCWSTR  pszTargetName,
BOOL  bConfirm 
)
DWORD CredUIParseUserNameA ( CONST CHAR *  userName,
CHAR *  user,
ULONG  userBufferSize,
CHAR *  domain,
ULONG  domainBufferSize 
)

Here is the caller graph for this function:

DWORD CredUIParseUserNameW ( CONST WCHAR *  UserName,
WCHAR *  user,
ULONG  userBufferSize,
WCHAR *  domain,
ULONG  domainBufferSize 
)
DWORD CredUIPromptForCredentialsA ( PCREDUI_INFOA  pUiInfo,
PCSTR  pszTargetName,
PCtxtHandle  pContext,
DWORD  dwAuthError,
PSTR  pszUserName,
ULONG  ulUserNameBufferSize,
PSTR  pszPassword,
ULONG  ulPasswordBufferSize,
BOOL *  save,
DWORD  dwFlags 
)

Here is the caller graph for this function:

DWORD CredUIPromptForCredentialsW ( PCREDUI_INFOW  pUiInfo,
PCWSTR  pszTargetName,
PCtxtHandle  pContext,
DWORD  dwAuthError,
PWSTR  pszUserName,
ULONG  ulUserNameBufferSize,
PWSTR  pszPassword,
ULONG  ulPasswordBufferSize,
BOOL *  save,
DWORD  dwFlags 
)

WinPR: Windows Portable Runtime Credentials Management UI

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

DWORD CredUIReadSSOCredA ( PCSTR  pszRealm,
PSTR *  ppszUsername 
)
DWORD CredUIReadSSOCredW ( PCWSTR  pszRealm,
PWSTR *  ppszUsername 
)
DWORD CredUIStoreSSOCredA ( PCSTR  pszRealm,
PCSTR  pszUsername,
PCSTR  pszPassword,
BOOL  bPersist 
)
DWORD CredUIStoreSSOCredW ( PCWSTR  pszRealm,
PCWSTR  pszUsername,
PCWSTR  pszPassword,
BOOL  bPersist 
)