Desktop Functions: Smart Device Functions:
|
GetStdHandle (kernel32)
C# Signature:
[DllImport("kernel32.dll", SetLastError = true)] VB Signature:
Declare Function GetStdHandle Lib "kernel32.dll" (ByVal nStdHandle As Integer) As IntPtr User-Defined Types:None. Notes:None. Tips & Tricks:Please add some! Sample Code://C#: Get stdout handle const int STD_OUTPUT_HANDLE = -11; IntPtr iStdOut = GetStdHandle( STD_OUTPUT_HANDLE ); Other constants:const int STD_INPUT_HANDLE = -10; const int STD_ERROR_HANDLE = -12; INVALID_HANDLE_VALUE (return value if invalid handle is specified) Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|