OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Development » Library » Misc » libwin32.rar

Description: Wrapper for Windows API functions
Install: libwin32.rar
Size: 46kb 5
Version: 0.2
Date: 20 Apr 11
Author: Fredrik Wikstrom
Submitter: Fredrik Wikstrom
Email: fredrik/a500 org
Homepage: http://www.a500.org/
Category: development/library/misc
License: BSD
Distribute: yes
Min OS Version: 4.0
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-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment