OS4 DepotLogo by Marko 
(anonymous IP: 3.238.125.76,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (334)
   o Datatype (50)
   o Demo (199)
   o Development (582)
   o Document (21)
   o Driver (97)
   o Emulation (145)
   o Game (952)
   o Graphics (488)
   o Library (108)
   o Network (224)
   o Office (62)
   o Utility (886)
   o Video (65)

Total files: 4213

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Library » Misc » libwin32.rar

Libwin32

Description: Wrapper for Windows API functions
Download: libwin32.rar       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 46kb
Version: 0.2
Date: 20 Apr 11
Author: Fredrik Wikström
Submitter: Fredrik Wikström
Email: fredrik/a500 org
Homepage: http://www.a500.org/
Category: development/library/misc
Replaces: development/library/misc/libwin32.lha
License: BSD
Distribute: yes
Min OS Version: 4.0
FileID: 6340
 
Images:
 
Videos:
Comments: 7
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Currently the following Windows API functions are implemented:
CloseHandle
CreateDirectory
CreateFile
DeleteFile
FileTimeToLocalFileTime
FileTimeToSystemTime
FindClose
FindFirstFile
FindNextFile
GetFileSize
GetFileSizeEx
GetFileTime
GetLastError
ReadFile
RemoveDirectory
SetEndOfFile
SetFilePointer
SetFileTime
SetLastError
SetLastErrorEx
WriteFile

Installation:

Copy libwin32/release/SDK/#? all SDK:

Usage:

gcc blah1.o blah2.o ... -o blah-exe -lwin32 -lauto

Changes:

0.2 (19-Apr-2011)
 - Completely rewritten from scratch and simplified (currently only file
   related functions are implemented)
 - SetFilePointer should now work the same as on Windows (i.e. allows seeking
   beyond end of file)
 - Some additional functions like filetime conversion and creating/deleting
   directories are now implemented

0.1 (5-Mar-2008)
 - First released version



Copyright (c) 2004-2022 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment