home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c034 / 7.ddi / INC11 / PMAVIO.H$ / PMAVIO.bin
Encoding:
Text File  |  1990-01-09  |  1.7 KB  |  47 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. /* common types, constants and function declarations */
  12.  
  13. typedef USHORT HVPS;        /* hpvs */
  14. typedef HVPS far *PHVPS;    /* phpvs */
  15.  
  16. /* VioCreatePS format constants */
  17.  
  18. #define FORMAT_CGA    0x0001
  19. #define FORMAT_4BYTE  0x0003
  20.  
  21. /* options for VioQueryFonts */
  22.  
  23. #define VQF_PUBLIC    0x0001L
  24. #define VQF_PRIVATE   0x0002L
  25.  
  26. USHORT APIENTRY VioAssociate(HDC, HVPS);
  27. USHORT APIENTRY VioCreateLogFont(PFATTRS, LONG, PSTR8, HVPS);
  28. USHORT APIENTRY VioCreatePS(PHVPS, SHORT, SHORT, SHORT, SHORT, HVPS);
  29. USHORT APIENTRY VioDestroyPS(HVPS);
  30. USHORT APIENTRY VioDeleteSetId(LONG, HVPS);
  31. USHORT APIENTRY VioGetDeviceCellSize(PSHORT, PSHORT, HVPS);
  32. USHORT APIENTRY VioGetOrg(PSHORT, PSHORT, HVPS);
  33. USHORT APIENTRY VioQueryFonts(PLONG, PFONTMETRICS, LONG, PLONG,
  34.                               PSZ, ULONG, HVPS);
  35. USHORT APIENTRY VioQuerySetIds(PLONG, PSTR8, PLONG, LONG, HVPS);
  36. USHORT APIENTRY VioSetDeviceCellSize(SHORT, SHORT, HVPS);
  37. USHORT APIENTRY VioSetOrg(SHORT, SHORT, HVPS);
  38. USHORT APIENTRY VioShowPS(SHORT, SHORT, SHORT, HVPS);
  39.  
  40. /************************ Public Function ******************************\
  41.  *
  42.  * WinDefAVioWindowProc -- Default message processing for AVio PS's
  43.  *
  44. \***********************************************************************/
  45.  
  46. MRESULT APIENTRY WinDefAVioWindowProc(HWND, USHORT, MPARAM, MPARAM);
  47.