Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.3 KiB

  1. //-------------------------------------------------------------
  2. //
  3. // Module: msnsspi.h
  4. //
  5. // Contents: Functions that are supported in private version of
  6. // SSPI provider within the MSN data center for Sicily
  7. //
  8. // History: 10/10/95 SudK Created
  9. //
  10. //-------------------------------------------------------------
  11. #ifndef _MSN_SSPI_H_
  12. #define _MSN_SSPI_H_
  13. #include <dbsqltyp.h>
  14. #define MSN_REQ_EXTENDED_ERROR_CODE 0x01
  15. //
  16. // Signature structure
  17. //
  18. typedef struct _NTLMSSP_MESSAGE_SIGNATURE {
  19. ULONG Version;
  20. ULONG RandomPad;
  21. ULONG CheckSum;
  22. ULONG Nonce;
  23. } NTLMSSP_MESSAGE_SIGNATURE, * PNTLMSSP_MESSAGE_SIGNATURE;
  24. #define NTLMSSP_MESSAGE_SIGNATURE_SIZE sizeof(NTLMSSP_MESSAGE_SIGNATURE)
  25. SECURITY_STATUS SEC_ENTRY
  26. GetHACCT(
  27. PCtxtHandle phContext,
  28. HACCT *phAcct
  29. );
  30. SECURITY_STATUS SEC_ENTRY
  31. MSNGetUserName(
  32. PCtxtHandle ContextHandle,
  33. PCHAR lpszUserName,
  34. DWORD *pcbBytes
  35. );
  36. SECURITY_STATUS SEC_ENTRY
  37. SetMSNSecurityOptions(
  38. PCtxtHandle phContext,
  39. UINT Flags
  40. );
  41. UINT SEC_ENTRY
  42. GetMSNExtendedError(
  43. PCtxtHandle phContext
  44. );
  45. BOOL SEC_ENTRY
  46. SetMSNAccountInfo (
  47. LPSTR pUsername,
  48. LPSTR pPassword
  49. );
  50. #endif