Last change
on this file was 10602, checked in by sandervl, 21 years ago |
DT: Added wrappers for calling window handlers
|
File size:
662 bytes
|
Rev | Line | |
---|
[10602] | 1 | // $Id: callwrap.h,v 1.2 2004-05-11 09:08:20 sandervl Exp $
|
---|
[10379] | 2 |
|
---|
| 3 | /*
|
---|
| 4 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
| 5 | * Win32 Exception handling + misc functions for OS/2
|
---|
| 6 | *
|
---|
| 7 | * Copyright 2003 Innotek Systemberatung GmbH (sandervl@innotek.de)
|
---|
| 8 | *
|
---|
| 9 | */
|
---|
| 10 | #ifndef __CALLWRAP_H__
|
---|
| 11 | #define __CALLWRAP_H__
|
---|
| 12 |
|
---|
| 13 | #ifdef __cplusplus
|
---|
| 14 | extern "C" {
|
---|
| 15 | #endif
|
---|
| 16 |
|
---|
| 17 | // Callback wrapper that supports handlers with the wrong (non-stdcall)
|
---|
| 18 | // calling convention
|
---|
| 19 | DWORD CDECL WrapCallback2(WNDPROC lpfnFunction, DWORD param1, DWORD param2);
|
---|
| 20 |
|
---|
[10602] | 21 | DWORD WIN32API WrapCallback4(WNDPROC lpfnFunction, DWORD param1, DWORD param2, DWORD param3, DWORD param4);
|
---|
| 22 |
|
---|
[10379] | 23 | #ifdef __cplusplus
|
---|
| 24 | }
|
---|
| 25 | #endif
|
---|
| 26 |
|
---|
| 27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.