AnyConnect Secure Mobility Client
5.1.10.233
stdafx.h
1
/******************************************************************************\
2
* This sample is supplied as is with no implied warranty.
3
* It is designed to assist you in using the Cisco AnyConnect VPN API.
4
* It is assumed that you will build a production application and
5
* refer to this sample as a reference only.
6
\*****************************************************************************/
7
8
// stdafx.h : include file for standard system include files,
9
// or project specific include files that are used frequently,
10
// but are changed infrequently
11
12
#pragma once
13
14
#ifndef _SECURE_ATL
15
#define _SECURE_ATL 1
16
#endif
17
18
#ifndef VC_EXTRALEAN
19
#define VC_EXTRALEAN
// Exclude rarely-used stuff from Windows headers
20
#endif
21
22
// Modify the following defines if you have to target a platform prior to the ones specified below.
23
// Refer to MSDN for the latest info on corresponding values for different platforms.
24
#ifndef WINVER
// Allow use of features specific to Windows XP or later.
25
#define WINVER 0x0501
// Change this to the appropriate value to target other versions of Windows.
26
#endif
27
28
#ifndef _WIN32_WINNT
// Allow use of features specific to Windows XP or later.
29
#define _WIN32_WINNT 0x0501
// Change this to the appropriate value to target other versions of Windows.
30
#endif
31
32
#ifndef _WIN32_WINDOWS
// Allow use of features specific to Windows 98 or later.
33
#define _WIN32_WINDOWS 0x0410
// Change this to the appropriate value to target Windows Me or later.
34
#endif
35
36
#ifndef _WIN32_IE
// Allow use of features specific to IE 6.0 or later.
37
#define _WIN32_IE 0x0600
// Change this to the appropriate value to target other versions of IE.
38
#endif
39
40
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
// some CString constructors will be explicit
41
42
// turns off MFC's hiding of some common and often safely ignored warning messages
43
#define _AFX_ALL_WARNINGS
44
45
#include <afxwin.h>
// MFC core and standard components
46
#include <afxext.h>
// MFC extensions
47
48
49
50
51
52
#ifndef _AFX_NO_OLE_SUPPORT
53
#include <afxdtctl.h>
// MFC support for Internet Explorer 4 Common Controls
54
#endif
55
#ifndef _AFX_NO_AFXCMN_SUPPORT
56
#include <afxcmn.h>
// MFC support for Windows Common Controls
57
#endif
// _AFX_NO_AFXCMN_SUPPORT
58
59
60
61
62
63
64
65
66
67
#ifdef _UNICODE
68
#if defined _M_IX86
69
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
70
#elif defined _M_IA64
71
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
72
#elif defined _M_X64
73
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
74
#else
75
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
76
#endif
77
#endif
78
79
AnyConnect C++ API Documentation by
Cisco Systems