LIBMAIN.LST 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Listing:
  2. 1 IMPLEMENTATION MODULE LibMain;
  3. 2
  4. 3 PROCEDURE LIBMAIN(hInstance: Windows.HANDLE; wDataSeg, cbHeapSize: WORD;
  5. ***** ^ undeclared identifier
  6. ***** ^ not supported yet
  7. ***** ^ undeclared identifier
  8. 4 lpszCmdLine: Windows.LPSTR): INTEGER;
  9. ***** ^ undeclared identifier
  10. ***** ^ not supported yet
  11. 5
  12. 6 VAR
  13. 7 Ret: INTEGER;
  14. 8 BEGIN
  15. 9 Ret := 1;
  16. 10 IF hInstance = 0 THEN (* Call initialization procedure *)
  17. ***** ^ not supported yet
  18. 11 (* if this is the first instance *)
  19. 12 IF Windows.LocalInit(wDataSeg, 0, cbHeapSize) = 0 THEN
  20. ***** ^ undeclared identifier
  21. ***** ^ not supported yet
  22. ***** ^ not supported yet
  23. ***** ^ not supported yet
  24. 13 Ret := 0; (* error *)
  25. 14 END;
  26. 15 END;
  27. 16 RETURN Ret;
  28. 17 END LIBMAIN;
  29. ***** ^ not supported yet
  30. 18
  31. 19
  32. 20
  33. 21 PROCEDURE WEP(nParam: INTEGER) : INTEGER;
  34. 22
  35. 23 BEGIN
  36. 24 IF nParam = Windows.WEP_SYSTEM_EXIT THEN
  37. ***** ^ undeclared identifier
  38. ***** ^ not supported yet
  39. 25 RETURN 1; (* system exit *)
  40. 26 END;
  41. 27
  42. 28 IF nParam = Windows.WEP_FREE_DLL THEN
  43. ***** ^ undeclared identifier
  44. ***** ^ not supported yet
  45. 29 RETURN 1; (* use count is zero - DLL freed *)
  46. 30 ELSE
  47. 31 RETURN 1; (* undefined, just return *)
  48. 32 END;
  49. 33 END WEP;
  50. ***** ^ not supported yet
  51. 34
  52. 35 END LibMain.
  53. ***** ^ not supported yet
  54. 17 errors