1Padre::Util::Win32(3) User Contributed Perl DocumentationPadre::Util::Win32(3)
2
3
4

NAME

6       Padre::Util::Win32 - Padre Win32 API Functions
7

DESCRIPTION

9       The "Padre::Util::Win32" package provides an XS wrapper for Win32 API
10       functions
11
12       All functions are exportable and documented for maintenance purposes,
13       but except for in the Padre core distribution you are discouraged in
14       the strongest possible terms from using these functions, as they may be
15       moved, removed or changed at any time without notice.
16

FUNCTIONS

18   "GetLongPathName"
19         Padre::Util::Win32::GetLongPathName($path);
20
21       Converts the specified path $path to its long form.  Returns "undef"
22       for failure, or the long form of the specified path
23
24   "Recycle"
25         Padre::Util::Win32::Recycle($file_to_recycle);
26
27       Move $file_to_recycle to recycle bin Returns "undef" (failed), zero
28       (aborted) or one (success)
29
30   "AllowSetForegroundWindow"
31         Padre::Util::Win32::AllowSetForegroundWindow($pid);
32
33       Enables the specified process $pid to set the foreground window via
34       "SetForegroundWindow"
35
36       <http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx>
37
38   "ExecuteProcessAndWait"
39         Padre::Util::Win32::ExecuteProcessAndWait(
40             directory  => $directory,
41             file       => $file,
42             parameters => $parameters,
43             show       => $show,
44         )
45
46       Execute a background process named "$file $parameters" with the current
47       directory set to $directory and wait for it to end. If you set $show to
48       0, then you have an invisible command line window on win32!
49
50   "GetCurrentProcessMemorySize"
51         Padre::Util::Win32::GetCurrentProcessMemorySize;
52
53       Returns the current process memory size in bytes
54
55   "GetLastErrorString"
56         Padre::Util::Win32::GetLastError;
57
58       Returns the error code of the last Win32 API call.
59
60       The list of error codes could be found at
61       <http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx>.
62
63   "GetLastErrorString"
64         Padre::Util::Win32::GetLastErrorString;
65
66       Returns the string representation for the error code of the last Win32
67       API call.
68
70       Copyright 2008-2011 The Padre development team as listed in Padre.pm.
71
72       This program is free software; you can redistribute it and/or modify it
73       under the same terms as Perl itself.
74
75       The full text of the license can be found in the LICENSE file included
76       with this module.
77
78
79
80perl v5.32.1                      2021-01-27             Padre::Util::Win32(3)
Impressum