Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.5 KiB

  1. package Win32;
  2. #
  3. # Documentation for all Win32:: functions are in Win32.pod (which is a
  4. # standard part of development versions of Perl 5.6, and is also
  5. # included with the latest builds of the ActivePerl distribution.)
  6. #
  7. $VERSION = $VERSION = '0.151';
  8. require Exporter;
  9. require DynaLoader;
  10. @ISA = qw(Exporter DynaLoader);
  11. @EXPORT =
  12. qw(
  13. NULL
  14. WIN31_CLASS
  15. OWNER_SECURITY_INFORMATION
  16. GROUP_SECURITY_INFORMATION
  17. DACL_SECURITY_INFORMATION
  18. SACL_SECURITY_INFORMATION
  19. MB_ICONHAND
  20. MB_ICONQUESTION
  21. MB_ICONEXCLAMATION
  22. MB_ICONASTERISK
  23. MB_ICONWARNING
  24. MB_ICONERROR
  25. MB_ICONINFORMATION
  26. MB_ICONSTOP
  27. );
  28. # Routines available in core:
  29. # Win32::GetLastError
  30. # Win32::LoginName
  31. # Win32::NodeName
  32. # Win32::DomainName
  33. # Win32::FsType
  34. # Win32::GetCwd
  35. # Win32::GetOSVersion
  36. # Win32::FormatMessage ERRORCODE
  37. # Win32::Spawn COMMAND, ARGS, PID
  38. # Win32::GetTickCount
  39. # Win32::IsWinNT
  40. # Win32::IsWin95
  41. # We won't bother with the constant stuff, too much of a hassle. Just hard
  42. # code it here.
  43. sub NULL { (0);}
  44. sub WIN31_CLASS { &NULL;}
  45. sub OWNER_SECURITY_INFORMATION {(0x00000001);}
  46. sub GROUP_SECURITY_INFORMATION {(0x00000002);}
  47. sub DACL_SECURITY_INFORMATION {(0x00000004);}
  48. sub SACL_SECURITY_INFORMATION {(0x00000008);}
  49. sub MB_ICONHAND { (0x00000010); }
  50. sub MB_ICONQUESTION { (0x00000020); }
  51. sub MB_ICONEXCLAMATION { (0x00000030); }
  52. sub MB_ICONASTERISK { (0x00000040); }
  53. sub MB_ICONWARNING { (0x00000030); }
  54. sub MB_ICONERROR { (0x00000010); }
  55. sub MB_ICONINFORMATION { (0x00000040); }
  56. sub MB_ICONSTOP { (0x00000010); }
  57. bootstrap Win32;
  58. 1;