home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c034 / 7.ddi / INCLUDE / PMAVIO.H$ / PMAVIO.bin
Encoding:
Text File  |  1989-11-06  |  2.0 KB  |  54 lines

  1. /***************************************************************************\
  2. *
  3. * Module Name: PMAVIO.H
  4. *
  5. * OS/2 Presentation Manager AVIO constants, types and function declarations
  6. *
  7. * Copyright (c) 1989-1990, Microsoft Corporation.  All rights reserved.
  8. *
  9. \***************************************************************************/
  10.  
  11. #define PMAVIO_INCLUDED
  12.  
  13. /* common types, constants and function declarations */
  14.  
  15. typedef USHORT HVPS;        /* hpvs */
  16. typedef HVPS far *PHVPS;    /* phpvs */
  17.  
  18. /* VioCreatePS format constants */
  19.  
  20. #define FORMAT_CGA    0x0001
  21. #define FORMAT_4BYTE    0x0003
  22.  
  23. /* options for VioQueryFonts */
  24.  
  25. #define VQF_PUBLIC    0x0001L
  26. #define VQF_PRIVATE    0x0002L
  27.  
  28. USHORT APIENTRY VioAssociate(HDC hdc, HVPS hvps);
  29. USHORT APIENTRY VioCreateLogFont(PFATTRS pfat, LONG lcid, PSTR8 pstr8Name,
  30.                  HVPS hvps);
  31. USHORT APIENTRY VioCreatePS(PHVPS phvps, SHORT cRows, SHORT cColumn,
  32.                 SHORT fFormat, SHORT cAttrBytes, HVPS hvps);
  33. USHORT APIENTRY VioDeleteSetId(LONG llcid, HVPS hvps);
  34. USHORT APIENTRY VioDestroyPS(HVPS hvps);
  35. USHORT APIENTRY VioGetDeviceCellSize(PSHORT psHeight, PSHORT psWidth,
  36.                      HVPS hvps);
  37. USHORT APIENTRY VioGetOrg(PSHORT psRow, PSHORT psColumn, HVPS hvps);
  38. USHORT APIENTRY VioQueryFonts(PLONG plRemfonts, PFONTMETRICS afmMetrics,
  39.                   LONG lMetricsLength, PLONG plFonts,
  40.                   PSZ pszFacename, ULONG flOptions, HVPS hvps);
  41. USHORT APIENTRY VioQuerySetIds(PLONG allcids, PSTR8 pNames,
  42.                    PLONG alTypes, LONG lcount, HVPS hvps);
  43. USHORT APIENTRY VioSetDeviceCellSize(SHORT sHeight, SHORT sWidth, HVPS hvps);
  44. USHORT APIENTRY VioSetOrg(SHORT sRow, SHORT sColumn, HVPS hvps);
  45. USHORT APIENTRY VioShowPS(SHORT sDepth, SHORT sWidth, SHORT soffCell,
  46.               HVPS hvps);
  47.  
  48. /************************ Public Function ******************************\
  49.  * WinDefAVioWindowProc -- Default message processing for AVio PS's
  50. \***********************************************************************/
  51.  
  52. MRESULT APIENTRY WinDefAVioWindowProc(HWND hwnd, USHORT msg, MPARAM mp1,
  53.                       MPARAM mp2);
  54.