Skip Menu |

This queue is for tickets about the Win32API-File CPAN distribution.

Report information
The Basics
Id: 63877
Status: resolved
Priority: 0/
Queue: Win32API-File

People
Owner: Nobody in particular
Requestors: chris [...] bingosnet.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Add [Set|Get]StdHandle functions
Date: Mon, 13 Dec 2010 15:30:56 +0000
To: bug-Win32API-File [...] rt.cpan.org
From: "Chris 'BinGOs' Williams" <chris [...] bingosnet.co.uk>
Hi, Attached is a patch to add the GetStdHandle and SetStdHandle functions. These are documented as: http://msdn.microsoft.com/en-us/library/ms686244%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/ms683231%28v=vs.85%29.aspx This code is lifted directly from Win32::Console where they are undocumented 'private' functions. It would be extremely useful if these were available in a core module, Win32API::File seems to be the best fit. Many thanks, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================

Message body is not shown because sender requested not to inline it.

Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

version 0.1201 also adds constants STD_ERROR_HANDLE STD_INPUT_HANDLE STD_OUTPUT_HANDLE -- Alexandr Ciornii, http://chorny.net