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.
 
 
 
 
 
 

94 lines
1.6 KiB

/*++
Copyright (c) 1994-1998, Microsoft Corporation All rights reserved.
Module Name:
main.h
Abstract:
This module contains the header information for the main routines of the
Control Panel interface of the 32bit MAIN.CPL.
Revision History:
--*/
#ifndef _MAIN_H
#define _MAIN_H
#define USECOMM
#define OEMRESOURCE
#define STRICT
#ifdef WIN32
#define INC_OLE2
#define CONST_VTABLE
#endif
//
// Include Files.
//
#include <windows.h>
#include <windowsx.h>
#include <dlgs.h>
#include <cpl.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <shellapi.h>
#include <shlobjp.h>
#include <commctrl.h>
#include <shfusion.h>
#include <strsafe.h>
#ifndef RC_INVOKED
#include <prsht.h>
#include <debug.h> // for ASSERT
#endif
//
// Constant Declarations.
//
#define PATHMAX MAX_PATH
#define HELP_FILE TEXT("mouse.hlp") // Help file for the mouse control panel
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
//
// Typedef Declarations.
//
#ifndef NOARROWS
typedef struct
{
short lineup; // lineup/down, pageup/down are relative
short linedown; // changes. top/bottom and the thumb
short pageup; // elements are absolute locations, with
short pagedown; // top & bottom used as limits.
short top;
short bottom;
short thumbpos;
short thumbtrack;
BYTE flags; // flags set on return
} ARROWVSCROLL, NEAR *PARROWVSCROLL, FAR *LPARROWVSCROLL;
#define UNKNOWNCOMMAND 1
#define OVERFLOW 2
#define UNDERFLOW 4
#endif
#endif