home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
graphics
/
gdi
/
gdidemo
/
xform.h
< prev
Wrap
C/C++ Source or Header
|
1997-10-05
|
1KB
|
45 lines
/******************************************************************************\
* This is a part of the Microsoft Source Code Samples.
* Copyright (C) 1993-1997 Microsoft Corporation.
* All rights reserved.
* This source code is only intended as a supplement to
* Microsoft Development Tools and/or WinHelp documentation.
* See these sources for detailed information regarding the
* Microsoft samples programs.
\******************************************************************************/
#ifdef WIN16
#define APIENTRY FAR PASCAL
typedef WORD WPARAM;
//#else
//typedef DWORD WPARAM;
#endif
#define XFORMCLASS "XFORMDEMO"
typedef struct _XFORMDATA
{
#ifndef NOT_IMPLEMENTED
XFORM xForm;
#endif
POINT pObject[4];
int nObject;
} XFORMDATA;
typedef XFORMDATA *PXFORMDATA;
typedef XFORMDATA NEAR *NPXFORMDATA;
typedef XFORMDATA FAR *LPXFORMDATA;
/*
** XFORM WINDOW ROUTINES (xform.c)
*/
HWND FAR CreateXFormWindow(HWND,int);
LONG APIENTRY XFormProc(HWND,UINT,WPARAM,LONG);
BOOL XFormCreateProc(HWND);
VOID XFormDestroyProc(HWND);
BOOL XFormCommandProc(HWND,WPARAM,LONG);
VOID XFormPaintProc(HWND);