Desktop Functions: Smart Device Functions:
|
Search Results for "SystemInformation" in [All]netapi32
string computerName = SystemInformation.ComputerName; kernel322: GetProcessId To use with an handle to a thread kernel object. (Possibly obtained by NtQuerySystemInformation with SYSTEM_INFORMATION_CLASS.SystemHandleInformation) To use with an handle to a thread kernel object. (Possibly obtained by NtQuerySystemInformation with SYSTEM_INFORMATION_CLASS.SystemHandleInformation) shell32
abd.rc.bottom = SystemInformation.PrimaryMonitorSize.Height
abd.rc.right = SystemInformation.PrimaryMonitorSize.Width
abd.rc.right = SystemInformation.PrimaryMonitorSize.Width
abd.rc.bottom = SystemInformation.PrimaryMonitorSize.Height ntdll
public static extern NtStatus NtQuerySystemInformation(SYSTEM_INFORMATION_CLASS InfoClass, IntPtr Info, uint Size, out uint Length);
Declare Function NtQuerySystemInformation Lib "ntdll.dll" (TODO) As TODO
public static IntPtr NtQuerySystemInformation(SYSTEM_INFORMATION_CLASS infoClass, uint infoLength = 0)
var result = NtQuerySystemInformation(infoClass, infoPtr, infoLength, out infoLength);
result = (UInt32)NativeMethods.NtQuerySystemInformation(NativeMethods.SYSTEM_INFORMATION_CLASS.SystemMemoryListInformation, buff, result, out returnSize);
static extern UInt32 NtSetSystemInformation(NtSystemInformation.SYSTEM_INFORMATION_CLASS InfoClass, IntPtr Info, UInt32 Length);
Declare Function NtSetSystemInformation Lib "ntdll.dll" (TODO) As TODO This works in the same manner as NtQuerySystemInformation.
public static void SetSystemInformation(NtSystemInformation.SYSTEM_INFORMATION_CLASS InfoClass, IntPtr Info, UInt32 Length)
result = NtSetSystemInformationKernel(InfoClass, Info, Length);
result = (UInt32)NativeMethods.NtQuerySystemInformation(NativeMethods.SYSTEM_INFORMATION_CLASS.SystemMemoryListInformation, buff, result, out returnSize); Enums9: SystemMetric This set of constants has been replaced in .NET (2002 - 2003) by the [System.Windows.Forms.SystemInformation] class. This contains all the information about the system metrics. .NET [SystemInformation] on MSDN user3210: DragDetect
if (range.Height > SystemInformation.DragSize.Height
|| range.Width > SystemInformation.DragSize.Width)
to.Left = System.Windows.Forms.SystemInformation.VirtualScreen.Right - form.Width;
to.Top = System.Windows.Forms.SystemInformation.VirtualScreen.Bottom -
System.Windows.Forms.SystemInformation.CaptionHeight -
(System.Windows.Forms.SystemInformation.FrameBorderSize.Height * 2);
to.Right = System.Windows.Forms.SystemInformation.VirtualScreen.Right;
to.Bottom = System.Windows.Forms.SystemInformation.VirtualScreen.Bottom;
to->Left = System::Windows::Forms::SystemInformation::VirtualScreen.Rig ht - 32;
to->Top = System::Windows::Forms::SystemInformation::VirtualScreen.Bot tom -32;
to->Right = System::Windows::Forms::SystemInformation::VirtualScreen.Rig ht;
to->Bottom = System::Windows::Forms::SystemInformation::VirtualScreen.Bot tom; Use SystemInformation.CaretBlinkTime property [SystemInformation] on MSDN System.Windows.Forms.SystemInformation.DoubleClickTime (http://msdn.microsoft.com/en-us/library/system.windows.forms.systeminformation.doubleclicktime.aspx) 14: GetScrollBarInfo
SystemInformation.HorizontalScrollbar*
SystemInformation.VerticalScrollbar* 15: GetScrollInfo
int BORDERWIDTH = SystemInformation.Border3DSize.Width;
int SCROLLBARWIDTH = SystemInformation.VerticalScrollBarWidth; 16: GetSystemMetrics System.Windows.Forms.SystemInformation class The System.Windows.Forms.Screen class contains all you might need to know about multiple monitors. The SystemInformation class also gives some information about available monitors. 18: ScrollWindowEx
ScrollRect.Right = this.Width - SystemInformation.VerticalScrollBarWidth;
static extern TODO SystemInformation(TODO);
Declare Function SystemInformation Lib "user32.dll" (TODO) As TODO The [System.Windows.Forms.SystemInformation] managed class, which uses SystemParametersInfo internally, has many (but not all) static properties containing user information, system setup, and preferences. |