HMODULE LoadSecurityDll(int, const char *);
void UnloadSecurityDll(void);
- BOOL WINAPI SSP_LogonUser(PTSTR, PTSTR, PTSTR);
+ BOOL WINAPI SSP_LogonUser(unsigned char *, unsigned char *, unsigned char *);
BOOL WINAPI SSP_ValidateNTLMCredentials(PVOID, int, char *);
const char * WINAPI SSP_ValidateNegotiateCredentials(PVOID, int, PBOOL, int *, char *);
const char * WINAPI SSP_MakeChallenge(PVOID, int);
/* Initialize auth identity structure */
ZeroMemory(&ai, sizeof(ai));
- ai.Domain = (void *)szDomain;
+ ai.Domain = (unsigned char *)szDomain;
ai.DomainLength = lstrlen(szDomain);
- ai.User = (void *)szUser;
+ ai.User = (unsigned char *)szUser;
ai.UserLength = lstrlen(szUser);
- ai.Password = (void *)szPassword;
+ ai.Password = (unsigned char *)szPassword;
ai.PasswordLength = lstrlen(szPassword);
#if defined(UNICODE) || defined(_UNICODE)
ai.Flags = SEC_WINNT_AUTH_IDENTITY_UNICODE;