home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lxapi32.zip / SKELETON / Dev32 / idc.c < prev    next >
C/C++ Source or Header  |  2002-04-26  |  683b  |  29 lines

  1. /* $Id: idc.c,v 1.2 2002/04/26 23:09:38 smilcke Exp $ */
  2.  
  3. /*
  4.  * idc.c
  5.  * Autor:               Stefan Milcke
  6.  * Erstellt am:         08.11.2001
  7.  * Letzte Aenderung am: 31.12.2001
  8.  *
  9. */
  10. extern "C" {               // 16-bit header files are not C++ aware
  11. #define INCL_NOPMAPI
  12. #define INCL_DOSINFOSEG
  13. #include <os2.h>
  14. }
  15. #include <devtype.h>
  16. #include <devhelp.h>
  17. #include <strategy.h>
  18. #include <stacktoflat.h>
  19. #include <linux/types.h>
  20.  
  21. //packet pointer must reference a structure on the stack
  22.  
  23. WORD32 __far IDCEntry(ULONG cmd, ULONG packet);
  24. #pragma aux IDCEntry "IDC_ENTRY" parm reverse [ecx edx]
  25. WORD32 __far IDCEntry(ULONG cmd, ULONG packet)
  26. {
  27.  return 0;
  28. }
  29.