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

◆ CredUICmdLinePromptForCredentialsA()

DWORD CredUICmdLinePromptForCredentialsA ( PCSTR  pszTargetName,
PCtxtHandle  pContext,
DWORD  dwAuthError,
PSTR  UserName,
ULONG  ulUserBufferSize,
PSTR  pszPassword,
ULONG  ulPasswordBufferSize,
PBOOL  pfSave,
DWORD  dwFlags 
)
Here is the caller graph for this function:

◆ CredUICmdLinePromptForCredentialsW()

DWORD CredUICmdLinePromptForCredentialsW ( PCWSTR  pszTargetName,
PCtxtHandle  pContext,
DWORD  dwAuthError,
PWSTR  UserName,
ULONG  ulUserBufferSize,
PWSTR  pszPassword,
ULONG  ulPasswordBufferSize,
PBOOL  pfSave,
DWORD  dwFlags 
)

◆ CredUIConfirmCredentialsA()

DWORD CredUIConfirmCredentialsA ( PCSTR  pszTargetName,
BOOL  bConfirm 
)

◆ CredUIConfirmCredentialsW()

DWORD CredUIConfirmCredentialsW ( PCWSTR  pszTargetName,
BOOL  bConfirm 
)

◆ CredUIParseUserNameA()

DWORD CredUIParseUserNameA ( CONST CHAR *  userName,
CHAR *  user,
ULONG  userBufferSize,
CHAR *  domain,
ULONG  domainBufferSize 
)
Here is the caller graph for this function:

◆ CredUIParseUserNameW()

DWORD CredUIParseUserNameW ( CONST WCHAR *  UserName,
WCHAR *  user,
ULONG  userBufferSize,
WCHAR *  domain,
ULONG  domainBufferSize 
)

◆ CredUIPromptForCredentialsA()

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:

◆ CredUIPromptForCredentialsW()

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.

◆ CredUIReadSSOCredA()

DWORD CredUIReadSSOCredA ( PCSTR  pszRealm,
PSTR *  ppszUsername 
)

◆ CredUIReadSSOCredW()

DWORD CredUIReadSSOCredW ( PCWSTR  pszRealm,
PWSTR *  ppszUsername 
)

◆ CredUIStoreSSOCredA()

DWORD CredUIStoreSSOCredA ( PCSTR  pszRealm,
PCSTR  pszUsername,
PCSTR  pszPassword,
BOOL  bPersist 
)

◆ CredUIStoreSSOCredW()

DWORD CredUIStoreSSOCredW ( PCWSTR  pszRealm,
PCWSTR  pszUsername,
PCWSTR  pszPassword,
BOOL  bPersist 
)