Leaked source code of windows server 2003
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.
|
|
#define BAIL_ON_WIN32_ERROR(dwError) \
if (dwError) {\ goto error; \ }
#define BAIL_ON_HRESULT_ERROR(hr) \
if (FAILED(hr)) { \ goto error; \ }
#define BAIL_ON_WMI_ERROR_WITH_WIN32(hr, dwError) { \
dwError = Win32FromWmiHresult(hr); \ if (dwError) { \ goto error; \ } \ } typedef struct _IPSEC_NFA_OBJECT{ LPWSTR pszDistinguishedName; LPWSTR pszIpsecName; LPWSTR pszIpsecID; DWORD dwIpsecDataType; LPBYTE pIpsecData; DWORD dwIpsecDataLen; LPWSTR pszIpsecOwnersReference; LPWSTR pszIpsecFilterReference; LPWSTR pszIpsecNegPolReference; DWORD dwWhenChanged; LPWSTR pszDescription; }IPSEC_NFA_OBJECT, *PIPSEC_NFA_OBJECT;
typedef struct _IPSEC_ISAKMP_OBJECT{ LPWSTR pszDistinguishedName; LPWSTR pszIpsecName; LPWSTR pszIpsecID; DWORD dwIpsecDataType; LPBYTE pIpsecData; DWORD dwIpsecDataLen; LPWSTR * ppszIpsecNFAReferences; DWORD dwNFACount; DWORD dwWhenChanged; }IPSEC_ISAKMP_OBJECT, *PIPSEC_ISAKMP_OBJECT;
typedef struct _IPSEC_FILTER_OBJECT{ LPWSTR pszDistinguishedName; LPWSTR pszIpsecName; LPWSTR pszIpsecID; DWORD dwIpsecDataType; LPBYTE pIpsecData; DWORD dwIpsecDataLen; LPWSTR * ppszIpsecNFAReferences; DWORD dwNFACount; DWORD dwWhenChanged; LPWSTR pszDescription; }IPSEC_FILTER_OBJECT, *PIPSEC_FILTER_OBJECT;
typedef struct _IPSEC_NEGPOL_OBJECT{ LPWSTR pszDistinguishedName; LPWSTR pszIpsecName; LPWSTR pszIpsecID; DWORD dwIpsecDataType; LPBYTE pIpsecData; DWORD dwIpsecDataLen; LPWSTR pszIpsecNegPolAction; LPWSTR pszIpsecNegPolType; LPWSTR * ppszIpsecNFAReferences; DWORD dwNFACount; DWORD dwWhenChanged; LPWSTR pszDescription; }IPSEC_NEGPOL_OBJECT, *PIPSEC_NEGPOL_OBJECT;
typedef struct _IPSEC_POLICY_OBJECT{ LPWSTR pszIpsecOwnersReference; LPWSTR pszIpsecName; LPWSTR pszIpsecID; DWORD dwIpsecDataType; LPBYTE pIpsecData; DWORD dwIpsecDataLen; LPWSTR pszIpsecISAKMPReference; DWORD NumberofRules; DWORD NumberofRulesReturned; LPWSTR * ppszIpsecNFAReferences; PIPSEC_NFA_OBJECT * ppIpsecNFAObjects; DWORD NumberofFilters; PIPSEC_FILTER_OBJECT * ppIpsecFilterObjects; DWORD NumberofNegPols; PIPSEC_NEGPOL_OBJECT *ppIpsecNegPolObjects; DWORD NumberofISAKMPs; PIPSEC_ISAKMP_OBJECT * ppIpsecISAKMPObjects; DWORD dwWhenChanged; LPWSTR pszDescription; PRSOP_INFO pRsopInfo; }IPSEC_POLICY_OBJECT, *PIPSEC_POLICY_OBJECT;
|