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 
7 #ifndef _INC_NSEMAIL
8 #define _INC_NSEMAIL
9 
10 #if (_WIN32_WINNT >= 0x0600)
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef enum _tag_NAPI_PROVIDER_TYPE {
17   ProviderType_Application   = 1,
18   ProviderType_Service
19 } NAPI_PROVIDER_TYPE;
20 
21 typedef enum _tag_NAPI_PROVIDER_LEVEL {
22   ProviderLevel_None        = 0,
23   ProviderLevel_Secondary,
24   ProviderLevel_Primary
25 } NAPI_PROVIDER_LEVEL;
26 
27 typedef struct _NAPI_DOMAIN_DESCRIPTION_BLOB {
28   DWORD AuthLevel;
29   DWORD cchDomainName;
30   DWORD OffsetNextDomainDescription;
31   DWORD OffsetThisDomainName;
32 } NAPI_DOMAIN_DESCRIPTION_BLOB, *PNAPI_DOMAIN_DESCRIPTION_BLOB;
33 
34 typedef struct _NAPI_PROVIDER_INSTALLATION_BLOB {
35   DWORD dwVersion;
36   DWORD dwProviderType;
37   DWORD fSupportsWildCard;
38   DWORD cDomains;
39   DWORD OffsetFirstDomain;
40 } NAPI_PROVIDER_INSTALLATION_BLOB, *PNAPI_PROVIDER_INSTALLATION_BLOB;
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif /*(_WIN32_WINNT >= 0x0600)*/
46 #endif /*_INC_NSEMAIL*/
47