Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

90 lines
1.1 KiB

/*++
Copyright (c) 1994-1995, Microsoft Corporation All rights reserved.
Module Name:
mapctl.h
Abstract:
This module contains the information for the map control of the
Regional Settings applet.
Revision History:
--*/
#ifndef _MAPCTL_H
#define _MAPCTL_H
//
// Constant Declarations.
//
#define MAPRGN_DISABLE (-1)
#define MAPRGN_NORMAL (0)
#define MAPRGN_HIGHLIGHT (1)
#define MAPN_TOUCH 0
#define MAPN_SELECT 1
//
// Typedef Declarations.
//
typedef struct
{
NMHDR hdr;
int index;
} NFYMAPEVENT;
#define MAPCTL_MAX_INDICES 256
//
// Function Prototypes.
//
BOOL
RegisterMapControlStuff(
HINSTANCE instance);
void
MapControlSetSeaRegionHighlight(
HWND window,
int index,
int value,
int x,
int cx);
void
MapControlSetLandRegionHighlight(
HWND window,
int index,
int value,
int x,
int cx);
void
MapControlInvalidateDirtyRegions(
HWND window);
void
MapControlRotateTo(
HWND window,
int x,
BOOL animate);
#endif // _MAPCTL_H