Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SYSTEM_INFO" in [All]

Structures

.
Summary
The SYSTEM_INFO structure contains information about the current computer system. This includes the architecture and type of the processor, the number of processors in the system, the page size, and other such information.
.

public struct SYSTEM_INFO

.

Public Structure SYSTEM_INFO

.
Documentation
[SYSTEM_INFO] on MSDN

kernel32

.

    Dim si As New SYSTEM_INFO

.

        Win32API.SYSTEM_INFO sysinfo = new Win32API.SYSTEM_INFO();

.

    internal static extern void GetSystemInfo([MarshalAs(UnmanagedType.Struct)] ref SYSTEM_INFO lpSystemInfo);

.

    internal struct SYSTEM_INFO

.

        Win32API.SYSTEM_INFO sysinfo = new Win32API.SYSTEM_INFO();

.

    internal static extern void GetSystemInfo([MarshalAs(UnmanagedType.Struct)] ref SYSTEM_INFO lpSystemInfo);

.

    internal struct SYSTEM_INFO

.

internal static extern void GetNativeSystemInfo(ref SYSTEM_INFO lpSystemInfo);

.

Private Declare Sub GetNativeSystemInfo Lib "kernel32" (<MarshalAs(UnmanagedType.Struct)> ByRef lpSystemInfo As SYSTEM_INFO)

.

SYSTEM_INFO

.

    internal struct SYSTEM_INFO

.

    internal static extern void GetNativeSystemInfo(ref SYSTEM_INFO lpSystemInfo);

.

    internal static extern void GetSystemInfo(ref SYSTEM_INFO lpSystemInfo);

.

      SYSTEM_INFO sysInfo = new SYSTEM_INFO();

.

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)

.

namespace System_Info

.

public static extern void GetSystemInfo(out SYSTEM_INFO Info);

.

    public struct SYSTEM_INFO_UNION

.

    public struct SYSTEM_INFO

.

        public SYSTEM_INFO_UNION CpuInfo;

.

        NativeMethods.SYSTEM_INFO

.

    Dim si As New SYSTEM_INFO

ntdll

.

public static extern NtStatus NtQuerySystemInformation(SYSTEM_INFORMATION_CLASS InfoClass, IntPtr Info, uint Size, out uint Length);

.

NtStatus, SYSTEM_INFORMATION_CLASS

.

public static IntPtr NtQuerySystemInformation(SYSTEM_INFORMATION_CLASS infoClass, uint infoLength = 0)

.

        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);

.

public static void SetSystemInformation(NtSystemInformation.SYSTEM_INFORMATION_CLASS InfoClass, IntPtr Info, UInt32 Length)

.

public enum SYSTEM_INFORMATION_CLASS

.

Declare Function SYSTEM_INFORMATION_CLASS Lib "ntdll.dll" (TODO) As TODO

.
Documentation
[SYSTEM_INFORMATION_CLASS] on MSDN
.
Summary
Structure returned by NtQuerySystemInformation in response to SYSTEM_INFORMATION_CLASS.SystemMemoryListInformation = 0x0050
.

        result = (UInt32)NativeMethods.NtQuerySystemInformation(NativeMethods.SYSTEM_INFORMATION_CLASS.SystemMemoryListInformation, buff, result, out returnSize);

coredll

.

    public static extern void GetSystemInfo(out SYSTEM_INFO lpSystemInfo);

.

    Declare Function GetSystemInfo Lib "coredll.dll" (ByVal lpSystemInfo AS SYSTEM_INFO)

.

[SYSTEM_INFO] on MSDN

.

    public struct SYSTEM_INFO_WCE30

.

    public struct SYSTEM_INFO_WCE50

.

    public static extern void GetSystemInfo30(out SYSTEM_INFO_WCE30 pSi);

.

    public static extern void GetSystemInfo50(out SYSTEM_INFO_WCE50 pSi);

.

        SYSTEM_INFO_WCE50 si;

.

        SYSTEM_INFO_WCE30 si;


 
Access PInvoke.net directly from VS: