1 Revision history for Perl extension Win32API::File.
4 - Added GetFileAttributes() function and corresponding constants.
5 (Patches from Kenneth Olwing from 2004-11-12).
6 - cygwin patches from Rafael Kitover and Reini Urban.
7 This includes the addition of the GetFileSize(), getFileSize()
8 setFilePointer() and GetOverlappedResult() methods and the
9 experimental new object oriented interface. All file position
10 operations use either Math::BigInt objects or 8 byte integers
11 (cygwin) for file offsets.
14 - increased version number to show difference to standalone
15 CPAN release of Win32API-File-0.09.zip
20 0.09 [libwin32 version only]
21 - Add AUTHOR and ABSTRACT_FROM to Makefile.PL.
22 - Trivial speed improvements.
23 - Fixed F<test.pl> if Z: is a valid drive letter.
26 - C<GetOsFHandle> now returns false for failure.
27 - New F<buffers.h> supports C++ compilers.
28 - Read-only output-only parameters now generate an error.
29 - Added fileLastError() since C<$^E> is often quickly overwritten.
30 - Complete rewrite of how C constants are made available in Perl.
31 - Added fileConstant(), a nice way to look-up constants at run time.
32 - Added Get/SetHandleInformation and HANDLE_FLAG_* constants.
33 - Added IOCTL_DISK_GET_MEDIA_TYPES since *_STORAGE_* fails for floppy.
34 - Added several example scripts.
38 - Removed prototypes from OsFHandleOpen() and GetOsFHandle() since
39 the C<*> doesn't prevent warnings about bareword file handles and
40 prevents the useful usage message if no arguments given.
41 - Fixed bug due to failed C<(/k/i,/t/i)> in list context returning
42 C<()> not C<(undef,undef)> in modern versions of Perl.
43 - Change order of C<#include>s so can build with Perl5.005 and later.
44 - Fixed C<test.pl> to ignore Perl bug where C<$^E> is truncated.
45 - Turned on C<CAPI> in C<Makefile.PL> for certain versions of Perl.
49 - Switch to new buffers.h and "Hungarian" notation!
50 - Added full documentation!
51 - ReadFile() no longer tries to read more bytes than asked for
52 just because the scalar buffer can hold more bytes!
53 - createFile() does better DWIM for share mode.
54 - Return SV_NO rather than C<0> for Boolean false.
55 - For boolean args, non-empty strings are C<1>, don't convert to int.
56 - Added ":MEDIA_TYPE" export class.
57 - Added C<GENERIC_ALL> and C<GENERIC_EXECUTE> to ":GENERIC_" exports.
58 - Added C<FdGetOsFHandle()> and C<GetOsFHandle()>!
59 - Added C<OsFHandleOpenFd()> and C<OsFHandleOpen()>!
60 - Support calling C<constant()> without the useless integer argument.
61 - Auto-load/export constants with C<()> prototype so can be in-lined.
62 - Added C<IsRecognizedPartition()> and C<IsContainerPartition()>.
63 - Added C<getLogicalDrives()>.
64 - Added ":FILE_" export class for specific types of access to files.
65 - Added C<SECURITY_SQOS_PRESENT> to ":SECURITY_" export class.
66 - Added ":PARTITION_" export class for partition types.
67 - Seriously bulked up the test suite.
70 - "-w" no longer warns that a buffer size of "=99" "isn't numeric".
71 nor if pass undef var for buffer size or output-only parameter.
72 - Added SetErrorMode() and :SEM_.
73 - createFile() sharing now defaults to "rw" to match C RTL.
74 - createFile() was ignoring "r" and "w" in access masks.
77 - Added GetLogicalDrives and GetLogicalDriveStrings.
78 - Added GetDriveType and GetVolumeInformation.
79 - Added DRIVE_* for GetDriveType().
80 - Added FS_* for GetVolumeInformation().
81 - Added createFile(), getLogicalDrives(), and attrLetsToBits() helpers.
82 - CreateFile() returns: INVALID_HANDLE_VALUE->false, 0->"0 but true".
83 - More standardized "Hungarian" notation and uses buffers.h.
84 - Large unsigned values no longer made negative.
87 - Added DDD_* constants to File.pm and moved codes mistakenly
88 exported for :DDD_ to be exported for :Misc.
89 - Split large group of constants to increase efficiency.
90 - Minor cosmetic fixes.
93 - Added DeviceIoControl().
94 - Added some IOCTL_STORAGE_* and IOCTL_DISK_* constants
95 - Taught test.pl to verify all exported functions and constants.
98 - original version; based on Win32API::Registry.