Annotation of os232sdk/toolkt20/c/os2h/pmavio.h, revision 1.1.1.1

1.1       root        1: /***************************************************************************\
                      2: *
                      3: *   Copyright (c) IBM Corporation 1987, 1989
                      4: *   Copyright (c) MicroSoft Corporation 1987,1989
                      5: *
                      6: * Module Name: PMAVIO.H
                      7: *
                      8: * OS/2 Presentation Manager AVIO constants, types and function declarations
                      9: *
                     10: *
                     11: \***************************************************************************/
                     12: 
                     13: #if !(defined(INCL_32) || defined(INCL_16))
                     14: #ifdef M_I386
                     15:     #define INCL_32
                     16: #else /* not M_I386 */
                     17:     #define INCL_16
                     18: #endif /* M_I386 */
                     19: #endif /* INCL_32 || INCL_16 */
                     20: 
                     21: #ifdef INCL_16
                     22: 
                     23: /* XLATOFF */
                     24:     #define VioAssociate Vio16Associate
                     25:     #define VioCreateLogFont Vio16CreateLogFont
                     26:     #define VioCreatePS Vio16CreatePS
                     27:     #define VioDeleteSetId Vio16DeleteSetId
                     28:     #define VioDestroyPS Vio16DestroyPS
                     29:     #define VioGetDeviceCellSize Vio16GetDeviceCellSize
                     30:     #define VioGetOrg Vio16GetOrg
                     31:     #define VioQueryFonts Vio16QueryFonts
                     32:     #define VioQuerySetIds Vio16QuerySetIds
                     33:     #define VioSetDeviceCellSize Vio16SetDeviceCellSize
                     34:     #define VioSetOrg Vio16SetOrg
                     35:     #define VioShowPS Vio16ShowPS
                     36:     #define WinDefAVioWindowProc Win16DefAVioWindowProc
                     37: /* XLATON */
                     38: 
                     39: typedef USHORT HVPS;        /* hpvs */
                     40: typedef HVPS FAR *PHVPS;    /* phpvs */
                     41: 
                     42: USHORT  APIENTRY VioAssociate(HDC hdc, HVPS hvps);
                     43: USHORT  APIENTRY VioCreateLogFont(PFATTRS pfatattrs, LONG llcid, PSTR8 pName, HVPS hvps);
                     44: USHORT  APIENTRY VioCreatePS(PHVPS phvps, SHORT sdepth, SHORT swidth
                     45:                             , SHORT sFormat, SHORT sAttrs, HVPS hvpsReserved);
                     46: USHORT  APIENTRY VioDeleteSetId(LONG llcid, HVPS hvps);
                     47: USHORT  APIENTRY VioDestroyPS(HVPS hvps);
                     48: USHORT  APIENTRY VioGetDeviceCellSize(PSHORT psHeight, PSHORT psWidth, HVPS hvps);
                     49: USHORT  APIENTRY VioGetOrg(PSHORT psRow, PSHORT psColumn, HVPS hvps);
                     50: USHORT  APIENTRY VioQueryFonts(PLONG plRemfonts, PFONTMETRICS afmMetrics
                     51:                               , LONG lMetricsLength, PLONG plFonts
                     52:                               , PSZ pszFacename, ULONG flOptions, HVPS hvps);
                     53: USHORT  APIENTRY VioQuerySetIds(PLONG allcids, PSTR8 pNames
                     54:                                , PLONG alTypes, LONG lcount, HVPS hvps);
                     55: USHORT  APIENTRY VioSetDeviceCellSize(SHORT sHeight, SHORT sWidth, HVPS hvps);
                     56: USHORT  APIENTRY VioSetOrg(SHORT sRow, SHORT sColumn, HVPS hvps);
                     57: USHORT  APIENTRY VioShowPS(SHORT sDepth, SHORT sWidth, SHORT soffCell, HVPS hvps);
                     58: 
                     59: /************************ Public Function ******************************\
                     60:  * WinDefAVioWindowProc -- Default message processing for AVio PS's
                     61: \***********************************************************************/
                     62: 
                     63: MRESULT APIENTRY WinDefAVioWindowProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);
                     64: 
                     65: #endif /* INCL_16 */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.