| 1 | /* $Id: divewrap.h,v 1.5 2003-01-21 11:20:35 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Wrapper for DIVE functions calls | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1999 Markus Montkowski | 
|---|
| 7 | * | 
|---|
| 8 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 9 | * | 
|---|
| 10 | */ | 
|---|
| 11 |  | 
|---|
| 12 |  | 
|---|
| 13 | #ifndef __DIVEWRAP_H__ | 
|---|
| 14 | #define __DIVEWRAP_H__ | 
|---|
| 15 |  | 
|---|
| 16 | #define INCL_MM_OS2 | 
|---|
| 17 | #include <os2sel.h> | 
|---|
| 18 | #include <dive.h> | 
|---|
| 19 |  | 
|---|
| 20 | void DiveUnload(); | 
|---|
| 21 | BOOL DiveLoad(); | 
|---|
| 22 |  | 
|---|
| 23 | ULONG APIENTRY _DiveOpen ( HDIVE *a, BOOL   b, PVOID  c ); | 
|---|
| 24 | ULONG APIENTRY _DiveQueryCaps ( PDIVE_CAPS a, ULONG      b ); | 
|---|
| 25 | ULONG APIENTRY _DiveSetupBlitter ( HDIVE a, PSETUP_BLITTER b ); | 
|---|
| 26 | ULONG APIENTRY _DiveBlitImage ( HDIVE a, ULONG b, ULONG c ); | 
|---|
| 27 | ULONG APIENTRY _DiveBlitImageLines ( HDIVE a, ULONG b, | 
|---|
| 28 | ULONG c, PBYTE d ); | 
|---|
| 29 | ULONG APIENTRY _DiveClose ( HDIVE a ); | 
|---|
| 30 | ULONG APIENTRY _DiveAcquireFrameBuffer ( HDIVE   a, PRECTL  b ); | 
|---|
| 31 | ULONG APIENTRY _DiveSwitchBank ( HDIVE a, ULONG b ); | 
|---|
| 32 | ULONG APIENTRY _DiveDeacquireFrameBuffer ( HDIVE a ); | 
|---|
| 33 | ULONG APIENTRY _DiveCalcFrameBufferAddress ( HDIVE  a, PRECTL b, | 
|---|
| 34 | PBYTE *c, PULONG d, | 
|---|
| 35 | PULONG e ); | 
|---|
| 36 | ULONG APIENTRY _DiveAllocImageBuffer ( HDIVE  a, PULONG b, | 
|---|
| 37 | FOURCC c, ULONG  d, | 
|---|
| 38 | ULONG  e, ULONG  f, | 
|---|
| 39 | PBYTE  g ); | 
|---|
| 40 | ULONG APIENTRY _DiveFreeImageBuffer ( HDIVE a, ULONG b ); | 
|---|
| 41 | ULONG APIENTRY _DiveBeginImageBufferAccess ( HDIVE  a, ULONG  b, | 
|---|
| 42 | PBYTE *c, PULONG d, | 
|---|
| 43 | PULONG e ); | 
|---|
| 44 | ULONG APIENTRY _DiveEndImageBufferAccess ( HDIVE a, ULONG b ); | 
|---|
| 45 | ULONG APIENTRY _DiveSetDestinationPalette ( HDIVE a, ULONG b, | 
|---|
| 46 | ULONG c, PBYTE d ); | 
|---|
| 47 | ULONG APIENTRY _DiveSetSourcePalette ( HDIVE a, ULONG b, | 
|---|
| 48 | ULONG c, PBYTE d ); | 
|---|
| 49 | ULONG APIENTRY _DiveSetTransparentBlitMode ( HDIVE a, ULONG b, | 
|---|
| 50 | ULONG c, ULONG d ); | 
|---|
| 51 |  | 
|---|
| 52 | #undef  DiveQueryCaps | 
|---|
| 53 | #define DiveQueryCaps _DiveQueryCaps | 
|---|
| 54 |  | 
|---|
| 55 | #undef  DiveOpen | 
|---|
| 56 | #define DiveOpen _DiveOpen | 
|---|
| 57 |  | 
|---|
| 58 | #undef  DiveSetupBlitter | 
|---|
| 59 | #define DiveSetupBlitter _DiveSetupBlitter | 
|---|
| 60 |  | 
|---|
| 61 | #undef  DiveBlitImage | 
|---|
| 62 | #define DiveBlitImage _DiveBlitImage | 
|---|
| 63 |  | 
|---|
| 64 | #undef  DiveBlitImageLines | 
|---|
| 65 | #define DiveBlitImageLines _DiveBlitImageLines | 
|---|
| 66 |  | 
|---|
| 67 | #undef  DiveClose | 
|---|
| 68 | #define DiveClose _DiveClose | 
|---|
| 69 |  | 
|---|
| 70 | #undef  DiveAcquireFrameBuffer | 
|---|
| 71 | #define DiveAcquireFrameBuffer _DiveAcquireFrameBuffer | 
|---|
| 72 |  | 
|---|
| 73 | #undef  DiveSwitchBank | 
|---|
| 74 | #define DiveSwitchBank _DiveSwitchBank | 
|---|
| 75 |  | 
|---|
| 76 | #undef  DiveDeacquireFrameBuffer | 
|---|
| 77 | #define DiveDeacquireFrameBuffer _DiveDeacquireFrameBuffer | 
|---|
| 78 |  | 
|---|
| 79 | #undef  DiveCalcFrameBufferAddress | 
|---|
| 80 | #define DiveCalcFrameBufferAddress _DiveCalcFrameBufferAddress | 
|---|
| 81 |  | 
|---|
| 82 | #undef  DiveAllocImageBuffer | 
|---|
| 83 | #define DiveAllocImageBuffer _DiveAllocImageBuffer | 
|---|
| 84 |  | 
|---|
| 85 | #undef  DiveFreeImageBuffer | 
|---|
| 86 | #define DiveFreeImageBuffer _DiveFreeImageBuffer | 
|---|
| 87 |  | 
|---|
| 88 | #undef  DiveBeginImageBufferAccess | 
|---|
| 89 | #define DiveBeginImageBufferAccess _DiveBeginImageBufferAccess | 
|---|
| 90 |  | 
|---|
| 91 | #undef  DiveEndImageBufferAccess | 
|---|
| 92 | #define DiveEndImageBufferAccess _DiveEndImageBufferAccess | 
|---|
| 93 |  | 
|---|
| 94 | #undef  DiveSetDestinationPalette | 
|---|
| 95 | #define DiveSetDestinationPalette _DiveSetDestinationPalette | 
|---|
| 96 |  | 
|---|
| 97 | #undef  DiveSetSourcePalette | 
|---|
| 98 | #define DiveSetSourcePalette _DiveSetSourcePalette | 
|---|
| 99 |  | 
|---|
| 100 | #undef  DiveSetTransparentBlitMode | 
|---|
| 101 | #define DiveSetTransparentBlitMode _DiveSetTransparentBlitMode | 
|---|
| 102 |  | 
|---|
| 103 |  | 
|---|
| 104 | #endif | 
|---|