nsemail.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _INC_NSEMAIL
  7. #define _INC_NSEMAIL
  8. #if (_WIN32_WINNT >= 0x0600)
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. typedef enum _tag_NAPI_PROVIDER_TYPE {
  13. ProviderType_Application = 1,
  14. ProviderType_Service
  15. } NAPI_PROVIDER_TYPE;
  16. typedef enum _tag_NAPI_PROVIDER_LEVEL {
  17. ProviderLevel_None = 0,
  18. ProviderLevel_Secondary,
  19. ProviderLevel_Primary
  20. } NAPI_PROVIDER_LEVEL;
  21. typedef struct _NAPI_DOMAIN_DESCRIPTION_BLOB {
  22. DWORD AuthLevel;
  23. DWORD cchDomainName;
  24. DWORD OffsetNextDomainDescription;
  25. DWORD OffsetThisDomainName;
  26. } NAPI_DOMAIN_DESCRIPTION_BLOB, *PNAPI_DOMAIN_DESCRIPTION_BLOB;
  27. typedef struct _NAPI_PROVIDER_INSTALLATION_BLOB {
  28. DWORD dwVersion;
  29. DWORD dwProviderType;
  30. DWORD fSupportsWildCard;
  31. DWORD cDomains;
  32. DWORD OffsetFirstDomain;
  33. } NAPI_PROVIDER_INSTALLATION_BLOB, *PNAPI_PROVIDER_INSTALLATION_BLOB;
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif /*(_WIN32_WINNT >= 0x0600)*/
  38. #endif /*_INC_NSEMAIL*/