Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questiontypedef DWORD (WINAPI* CRED)( PCREDUI_INFO, DWORD, ULONG *, LPCVOID, ULONG, LPVOID *, ULONG *, BOOL *, DWORD ); CRED CredUIPromptForWindowsCredentialsA = NULL; #define CredUIPromptForWindowsCredentials CredUIPromptForWindowsCredentialsA inline bool chargerWindowsVista() { static HINSTANCE hUxTheme = NULL; if ( hUxTheme == NULL ) { hUxTheme = LoadLibrary( "credui.dll" ); if ( hUxTheme != NULL ) { CredUIPromptForWindowsCredentialsA = (CRED) GetProcAddress( hUxTheme, "CredUIPromptForWindowsCredentialsA" ); return true; } } return false; }