tw2944.pp 671 B

1234567891011121314151617181920212223242526272829303132
  1. { Source provided for Free Pascal Bug Report 2944 }
  2. { Submitted by "marco (gory bugs department)" on 2004-02-06 }
  3. { e-mail: }
  4. {$ifdef fpc}{$mode Delphi}{$endif}
  5. type
  6. {$ifndef fpc}
  7. CodePointer = Pointer;
  8. PCodePointer = PPointer;
  9. {$endif}
  10. WS2StubEntry = record
  11. StubProc : CodePointer;
  12. ProcVar : PCodePointer;
  13. Name : PChar;
  14. end;
  15. LPFN_WSACLEANUP = function : Integer; stdcall;
  16. var WSACleanup : LPFN_WSACLEANUP;
  17. procedure WS2Stub_WSACleanup;
  18. begin
  19. end;
  20. CONST
  21. WS2StubEntryCount = 1;
  22. WS2StubTable : Array [0..WS2StubEntryCount-1] of WS2StubEntry = (
  23. (StubProc: @WS2Stub_WSACleanup; ProcVar: @@WSACleanup; Name: 'WSACleanup'));
  24. begin
  25. end.