OS4 DepotLogo by Alkaron 
(anonymous IP: 18.219.112.111,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (595)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4364

Full index file
Recent index file

 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
 
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-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment