GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PADRE::UTIL::WIN32 (3)

.ds Aq ’

NAME

Padre::Util::Win32 - Padre Win32 API Functions

CONTENTS

DESCRIPTION

The Padre::Util::Win32 package provides an XS wrapper for Win32 API functions

All functions are exportable and documented for maintenance purposes, but except for in the Padre core distribution you are discouraged in the strongest possible terms from using these functions, as they may be moved, removed or changed at any time without notice.

FUNCTIONS

CWGetLongPathName



  Padre::Util::Win32::GetLongPathName($path);



Converts the specified path $path to its long form. Returns undef for failure, or the long form of the specified path

CWRecycle



  Padre::Util::Win32::Recycle($file_to_recycle);



Move $file_to_recycle to recycle bin Returns undef (failed), zero (aborted) or one (success)

CWAllowSetForegroundWindow



  Padre::Util::Win32::AllowSetForegroundWindow($pid);



Enables the specified process $pid to set the foreground window via SetForegroundWindow

<http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx>

CWExecuteProcessAndWait



  Padre::Util::Win32::ExecuteProcessAndWait(
      directory  => $directory,
      file       => $file,
      parameters => $parameters,
      show       => $show,
  )



Execute a background process named "$file $parameters" with the current directory set to $directory and wait for it to end. If you set $show to 0, then you have an invisible command line window on win32!

CWGetCurrentProcessMemorySize



  Padre::Util::Win32::GetCurrentProcessMemorySize;



Returns the current process memory size in bytes

CWGetLastErrorString



  Padre::Util::Win32::GetLastError;



Returns the error code of the last Win32 API call.

The list of error codes could be found at <http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx>.

CWGetLastErrorString



  Padre::Util::Win32::GetLastErrorString;



Returns the string representation for the error code of the last Win32 API call.

COPYRIGHT

Copyright 2008-2013 The Padre development team as listed in Padre.pm.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PADRE::UTIL::WIN32 (3) 2013-11-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.