require DynaLoader;
@ISA = qw|Exporter DynaLoader|;
- $VERSION = '0.29';
+ $VERSION = '0.34';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
=item Win32::DomainName()
-[CORE] Returns the name of the Microsoft Network domain that the
-owner of the current perl process is logged into. This function does
-B<not> work on Windows 9x.
+[CORE] Returns the name of the Microsoft Network domain or workgroup
+that the owner of the current perl process is logged into. The
+"Workstation" service must be running to determine this
+information. This function does B<not> work on Windows 9x.
=item Win32::ExpandEnvironmentStrings(STRING)
version number of the operating system, the minor version number, the
build number, and a digit indicating the actual operating system.
For the ID, the values are 0 for Win32s, 1 for Windows 9X/Me and 2 for
-Windows NT/2000/XP/2003. In scalar context it returns just the ID.
+Windows NT/2000/XP/2003/Vista. In scalar context it returns just the ID.
Currently known values for ID MAJOR and MINOR are as follows:
PRODUCTTYPE provides additional information about the system. It should
be one of the following integer values:
- 1 - Workstation (NT 4, 2000 Pro, XP Home, XP Pro)
+ 1 - Workstation (NT 4, 2000 Pro, XP Home, XP Pro, Vista)
2 - Domaincontroller
3 - Server
Currently the possible values for the OS name are
- Win32s Win95 Win98 WinMe WinNT3.51 WinNT4 Win2000 WinXP/.Net Win2003
+ Win32s Win95 Win98 WinMe WinNT3.51 WinNT4 Win2000 WinXP/.Net Win2003 WinVista
This routine is just a simple interface into GetOSVersion(). More
specific or demanding situations should use that instead. Another
(8.3) path components where available. For path components where the
file system has not generated the short form the returned path will
use the long form, so this function might still for instance return a
-path containing spaces. Compare with Win32::GetFullPathName() and
+path containing spaces. Returns C<undef> when the PATHNAME does not
+exist. Compare with Win32::GetFullPathName() and
Win32::GetLongPathName().
=item Win32::GetProcAddress(INSTANCE, PROCNAME)
current process/thread is running belongs to the local group of
Administrators in the built-in system domain; returns 0 if not.
On Windows Vista it will only return non-zero if the process is
-actually running with elevated privileges. Returns the undefined
-value and prints a warning if an error occurred. This function always
+actually running with elevated privileges. Returns C<undef>
+and prints a warning if an error occurred. This function always
returns 1 on Win9X.
=item Win32::IsWinNT()