2017-10-19 05:48:23 +03:00
|
|
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
2014-01-04 17:00:08 +04:00
|
|
|
// Cedar Communication Module
|
|
|
|
|
|
|
|
|
|
|
|
// CM.h
|
|
|
|
// Header of CM.c
|
|
|
|
|
2021-04-05 05:48:25 +03:00
|
|
|
#ifdef OS_WIN32
|
|
|
|
|
|
|
|
#ifndef CM_H
|
|
|
|
#define CM_H
|
|
|
|
|
|
|
|
#include "GlobalConst.h"
|
|
|
|
|
|
|
|
#include "Mayaqua/MayaType.h"
|
2014-01-04 17:00:08 +04:00
|
|
|
|
|
|
|
// Constants
|
|
|
|
#define CM_REG_KEY "Software\\" GC_REG_COMPANY_NAME "\\" CEDAR_PRODUCT_STR " VPN\\Client Manager"
|
|
|
|
#define SECURE_MANAGER_KEY "Software\\" GC_REG_COMPANY_NAME "\\" CEDAR_PRODUCT_STR " VPN\\SmartCard Manager"
|
|
|
|
#define CM_TRAFFIC_REG_KEY "Software\\" GC_REG_COMPANY_NAME "\\" CEDAR_PRODUCT_STR " VPN\\Traffic Test Tool"
|
|
|
|
#define CM_VGC_REG_KEY "Software\\University of Tsukuba\\VPN Gate Client Plugin"
|
|
|
|
|
|
|
|
|
|
|
|
#define CM_TRY_EXEC_UI_HELPER_INTERVAL 5000
|
|
|
|
|
|
|
|
#define CM_DEFAULT_WIDTH 800
|
|
|
|
#define CM_DEFAULT_HEIGHT 600
|
|
|
|
|
|
|
|
#define WM_CM_NOTIFY (WM_APP + 999)
|
|
|
|
|
|
|
|
#define CM_IMPORT_FILENAME_MSG 1267
|
|
|
|
#define CM_IMPORT_FILENAME_MSG_OVERWRITE 1268
|
|
|
|
|
|
|
|
#define CM_NUM_RECENT 8
|
|
|
|
|
|
|
|
#define PUBLIC_SERVER_HTML "http://www.softether.com/jp/special/se2hub.aspx"
|
|
|
|
#define PUBLIC_SERVER_HTML_EN "http://www.softether.com/jp/special/se2hub_en.aspx"
|
|
|
|
#define PUBLIC_SERVER_TAG L"help:no; status:no; DialogWidth:600px; dialogHeight=700px"
|
|
|
|
#define PUBLIC_SERVER_NAME "public.softether.com"
|
|
|
|
|
|
|
|
#define VOICE_SSK 0 // ssk
|
|
|
|
#define VOICE_AHO 1 // aho
|
|
|
|
|
|
|
|
// The code for external export
|
|
|
|
|
|
|
|
// Structure
|
|
|
|
|
|
|
|
// Function prototype
|
|
|
|
void CMExec();
|
|
|
|
void CmTraffic(HWND hWnd);
|
|
|
|
void *CmStartUacHelper();
|
|
|
|
void CmStopUacHelper(void *p);
|
|
|
|
void *CmExecUiHelperMain();
|
|
|
|
UINT CmGetSecureBitmapId(char *dest_hostname);
|
|
|
|
|
2021-04-05 05:48:25 +03:00
|
|
|
#endif // CM_H
|
2014-01-04 17:00:08 +04:00
|
|
|
|
2021-04-05 05:48:25 +03:00
|
|
|
#endif // OS_WIN32
|