XFORM.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- /******************************************************************************
- * 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);