mirror of https://github.com/tongzx/nt5src
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.
92 lines
2.1 KiB
92 lines
2.1 KiB
#define STRICT
|
|
#define UNICODE
|
|
#define _UNICODE
|
|
|
|
#pragma warning (disable : 4211) // ASN.1 stubs have static/extern conflict
|
|
#pragma warning (disable : 4201) // nameless struct/union
|
|
#pragma warning (disable : 4514) // unreferenced inline function has been removed
|
|
#pragma warning (disable : 4100) // unreferenced formal parameter
|
|
#pragma warning (disable : 4127) // conditional expression is constant
|
|
#pragma warning (disable : 4355) // use of "this" in constructor initializer list
|
|
|
|
|
|
|
|
// NT private files
|
|
// Need to be before the windows include files
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
|
|
// Win32 SDK (public)
|
|
#include <windows.h>
|
|
#include <winsock2.h>
|
|
#include <ws2tcpip.h>
|
|
#include <tchar.h>
|
|
#include <winsvc.h>
|
|
#include <mswsock.h>
|
|
|
|
// ANSI
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
#include <limits.h>
|
|
|
|
// Microsoft private
|
|
#include <msasn1.h>
|
|
#include <msper.h>
|
|
#include <ipnatapi.h>
|
|
#include <ipnat.h>
|
|
|
|
extern "C" {
|
|
#include <sainfo.h>
|
|
#include <rasuip.h>
|
|
#include <raserror.h>
|
|
#include <ipexport.h> // needed for interaction with TCP driver
|
|
#include <ipinfo.h>
|
|
#include <tcpinfo.h>
|
|
#include <ntddtcp.h>
|
|
#include <routprot.h> // for struct IP_ADAPTER_BINDING_INFO
|
|
#include <mprerror.h> // for RRAS error codes
|
|
#include <iphlpapi.h>
|
|
#include <ntddip.h>
|
|
#include <iphlpstk.h>
|
|
#include <mprapi.h>
|
|
};
|
|
#include <natio.h>
|
|
|
|
|
|
// Keep this prototype here until it gets included
|
|
// in 'rasuip.h'
|
|
extern "C" {
|
|
extern
|
|
DWORD APIENTRY
|
|
RasGetEntryHrasconnW(
|
|
IN LPCWSTR pszPhonebook,
|
|
IN LPCWSTR pszEntry,
|
|
OUT LPHRASCONN lphrasconn);
|
|
};
|
|
|
|
|
|
// Interface to ipnathlp.dll
|
|
#include "h323icsp.h"
|
|
|
|
// Project
|
|
#include "ldap.h" // ASN.1 structures for LDAP
|
|
#include "h225pp.h"
|
|
#include "h245pp.h"
|
|
#include "util.h"
|
|
#include "h323asn1.h"
|
|
#include "q931msg.h"
|
|
#include "portmgmt.h"
|
|
#include "h323ics.h"
|
|
#include "main.h"
|
|
#include "timer.h"
|
|
#include "gkwsock.h"
|
|
#include "cbridge.h"
|
|
#include "cblist.h"
|
|
#include "intfc.h"
|
|
#include "ldappx.h"
|
|
#include "timerval.h"
|
|
#include "iocompl.h"
|
|
#include "q931info.h"
|