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.
102 lines
2.1 KiB
102 lines
2.1 KiB
//
|
|
// proj.h: Includes all files that are to be part of the precompiled
|
|
// header.
|
|
//
|
|
|
|
#ifndef __PROJ_H__
|
|
#define __PROJ_H__
|
|
|
|
|
|
|
|
//
|
|
// Private Defines
|
|
//
|
|
|
|
//#define SUPPORT_FIFO // Win95 only: support Advanced FIFO dialog
|
|
//#define DCB_IN_REGISTRY // Plug-and-play: The port driver info is stored in the registry
|
|
|
|
|
|
#define STRICT
|
|
|
|
#if DBG > 0 && !defined(DEBUG)
|
|
#define DEBUG
|
|
#endif
|
|
#if DBG > 0 && !defined(FULL_DEBUG)
|
|
#define FULL_DEBUG
|
|
#endif
|
|
|
|
#define UNICODE
|
|
|
|
// Defines for rovcomm.h
|
|
|
|
#define NODA
|
|
#define NOSHAREDHEAP
|
|
#define NOFILEINFO
|
|
#define NOCOLORHELP
|
|
#define NODRAWTEXT
|
|
#define NOPATH
|
|
#define NOSYNC
|
|
#ifndef DEBUG
|
|
#define NOPROFILE
|
|
#endif
|
|
|
|
#define SZ_MODULEA "SERIALUI"
|
|
#define SZ_MODULEW TEXT("SERIALUI")
|
|
|
|
#ifdef DEBUG
|
|
#define SZ_DEBUGSECTION TEXT("SERIALUI")
|
|
#define SZ_DEBUGINI TEXT("unimdm.ini")
|
|
#endif // DEBUG
|
|
|
|
// Includes
|
|
|
|
#define USECOMM
|
|
|
|
#include <windows.h>
|
|
#include <windowsx.h>
|
|
|
|
#include <winerror.h>
|
|
#include <commctrl.h> // needed by shlobj.h and our progress bar
|
|
#include <prsht.h> // Property sheet stuff
|
|
#include <rovcomm.h>
|
|
#include <modemp.h>
|
|
#include <shellapi.h> // for registration functions
|
|
#include <regstr.h>
|
|
|
|
#ifdef WIN95
|
|
#include <setupx.h> // PnP setup/installer services
|
|
#else
|
|
#include <setupapi.h> // PnP setup/installer services
|
|
#endif
|
|
|
|
#define MAXBUFLEN MAX_BUF
|
|
#define MAXMSGLEN MAX_BUF_MSG
|
|
#define MAXMEDLEN MAX_BUF_MED
|
|
#define MAXSHORTLEN MAX_BUF_SHORT
|
|
|
|
#ifndef LINE_LEN
|
|
#define LINE_LEN MAXBUFLEN
|
|
#endif
|
|
|
|
#include <debugmem.h>
|
|
|
|
// local includes
|
|
//
|
|
#include "dll.h"
|
|
#include "cstrings.h" // Read-only string constants
|
|
#include "util.h" // Utility functions
|
|
#include "serialui.h"
|
|
#include "rcids.h"
|
|
#include "dlgids.h"
|
|
|
|
//****************************************************************************
|
|
//
|
|
//****************************************************************************
|
|
|
|
|
|
// Dump flags
|
|
#define DF_DCB 0x00000001
|
|
#define DF_MODEMSETTINGS 0x00000002
|
|
#define DF_DEVCAPS 0x00000004
|
|
|
|
#endif //!__PROJ_H__
|