[9698] | 1 | /* $Id: divewrap.h,v 1.5 2003-01-21 11:20:35 sandervl Exp $ */
|
---|
[422] | 2 |
|
---|
[2174] | 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 | */
|
---|
[422] | 11 |
|
---|
[2174] | 12 |
|
---|
[422] | 13 | #ifndef __DIVEWRAP_H__
|
---|
| 14 | #define __DIVEWRAP_H__
|
---|
| 15 |
|
---|
| 16 | #define INCL_MM_OS2
|
---|
| 17 | #include <os2sel.h>
|
---|
| 18 | #include <dive.h>
|
---|
| 19 |
|
---|
[9698] | 20 | void DiveUnload();
|
---|
| 21 | BOOL DiveLoad();
|
---|
[422] | 22 |
|
---|
[9698] | 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 );
|
---|
[422] | 51 |
|
---|
[522] | 52 | #undef DiveQueryCaps
|
---|
| 53 | #define DiveQueryCaps _DiveQueryCaps
|
---|
[422] | 54 |
|
---|
[522] | 55 | #undef DiveOpen
|
---|
| 56 | #define DiveOpen _DiveOpen
|
---|
[422] | 57 |
|
---|
[522] | 58 | #undef DiveSetupBlitter
|
---|
| 59 | #define DiveSetupBlitter _DiveSetupBlitter
|
---|
[422] | 60 |
|
---|
[522] | 61 | #undef DiveBlitImage
|
---|
| 62 | #define DiveBlitImage _DiveBlitImage
|
---|
[422] | 63 |
|
---|
[522] | 64 | #undef DiveBlitImageLines
|
---|
| 65 | #define DiveBlitImageLines _DiveBlitImageLines
|
---|
[422] | 66 |
|
---|
[522] | 67 | #undef DiveClose
|
---|
| 68 | #define DiveClose _DiveClose
|
---|
[422] | 69 |
|
---|
[522] | 70 | #undef DiveAcquireFrameBuffer
|
---|
| 71 | #define DiveAcquireFrameBuffer _DiveAcquireFrameBuffer
|
---|
[422] | 72 |
|
---|
[522] | 73 | #undef DiveSwitchBank
|
---|
| 74 | #define DiveSwitchBank _DiveSwitchBank
|
---|
[422] | 75 |
|
---|
[522] | 76 | #undef DiveDeacquireFrameBuffer
|
---|
| 77 | #define DiveDeacquireFrameBuffer _DiveDeacquireFrameBuffer
|
---|
[422] | 78 |
|
---|
[522] | 79 | #undef DiveCalcFrameBufferAddress
|
---|
| 80 | #define DiveCalcFrameBufferAddress _DiveCalcFrameBufferAddress
|
---|
[422] | 81 |
|
---|
[522] | 82 | #undef DiveAllocImageBuffer
|
---|
| 83 | #define DiveAllocImageBuffer _DiveAllocImageBuffer
|
---|
[422] | 84 |
|
---|
[522] | 85 | #undef DiveFreeImageBuffer
|
---|
| 86 | #define DiveFreeImageBuffer _DiveFreeImageBuffer
|
---|
[422] | 87 |
|
---|
[522] | 88 | #undef DiveBeginImageBufferAccess
|
---|
| 89 | #define DiveBeginImageBufferAccess _DiveBeginImageBufferAccess
|
---|
[422] | 90 |
|
---|
[522] | 91 | #undef DiveEndImageBufferAccess
|
---|
| 92 | #define DiveEndImageBufferAccess _DiveEndImageBufferAccess
|
---|
[422] | 93 |
|
---|
[522] | 94 | #undef DiveSetDestinationPalette
|
---|
| 95 | #define DiveSetDestinationPalette _DiveSetDestinationPalette
|
---|
[422] | 96 |
|
---|
[522] | 97 | #undef DiveSetSourcePalette
|
---|
| 98 | #define DiveSetSourcePalette _DiveSetSourcePalette
|
---|
[422] | 99 |
|
---|
[522] | 100 | #undef DiveSetTransparentBlitMode
|
---|
| 101 | #define DiveSetTransparentBlitMode _DiveSetTransparentBlitMode
|
---|
[422] | 102 |
|
---|
| 103 |
|
---|
| 104 | #endif
|
---|