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 "EM_" in [All]

shell32

.

    COMMON_OEM_LINKS = &H3A

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;

.

public static extern int GetSystemPowerStatusEx2(SYSTEM_POWER_STATUS_EX2 pSystemPowerStatusEx2, [MarshalAs(UnmanagedType.U4), In] int dwLen, [MarshalAs(UnmanagedType.Bool), In] bool fUpdate);

.

SYSTEM_POWER_STATUS_EX2

.

SYSTEM_POWER_STATUS_EX2 SystemPowerStatusEx2 = new SYSTEM_POWER_STATUS_EX2();

.

public static extern int GetSystemPowerStatusEx2(ref SYSTEM_POWER_STATUS_EX2 pSystemPowerStatusEx2, [MarshalAs(UnmanagedType.U4), In] int dwLen, [MarshalAs(UnmanagedType.Bool), In] bool fUpdate);

.

SYSTEM_POWER_STATUS_EX2

.

SYSTEM_POWER_STATUS_EX2 SystemPowerStatusEx2 = new SYSTEM_POWER_STATUS_EX2();

.

    const int EM_LINESCROLL = 0x00B6;

.

        SendMessage(Handle, EM_LINESCROLL, 0, Row);

.

0 - SYSMEM_CHANGED: Memory division changed successfully

.

1 - SYSMEM_MUSTREBOOT: Need to reboot to accept memory division changes

.

2 - SYSMEM_REBOOTPENDING: Cannot change memory division because the system should be rebooted after the previous call before

.

3 - SYSMEM_FAILED: Change failed. Use GetLastError to get more details.

.

internal class SYSTEM_POWER_STATUS_EX

.

Structure SYSTEM_POWER_STATUS_EX

.
Documentation
[SYSTEM_POWER_STATUS_EX] on MSDN

advapi32

.

        case SecurityEntity.SE_SYSTEM_ENVIRONMENT_NAME:

.

        case SecurityEntity.SE_SYSTEM_PROFILE_NAME:

.

      SE_SYSTEM_PROFILE_NAME,

.

      SE_SYSTEM_ENVIRONMENT_NAME,

.

    /// for ACCESS_SYSTEM_SECURITY access, and then disable the privilege.

.

    ACCESS_SYSTEM_SECURITY = ACCESS_MASK.ACCESS_SYSTEM_SECURITY,

.

    SERVICE_FILE_SYSTEM_DRIVER = 0x00000002,

.

    SERVICE_SYSTEM_START = 0x00000001,

.

    ''' for ACCESS_SYSTEM_SECURITY access and then disable the privilege.

.

    ACCESS_SYSTEM_SECURITY = ACCESS_MASK.ACCESS_SYSTEM_SECURITY

.

    SERVICE_FILE_SYSTEM_DRIVER = &H2

.

    SERVICE_SYSTEM_START = &H1

.

        CREATE_IGNORE_SYSTEM_DEFAULT    = 0x80000000,

.

    CREATE_IGNORE_SYSTEM_DEFAULT = &H80000000

.

      private enum ServiceType { SERVICE_KERNEL_DRIVER = 0x1, SERVICE_FILE_SYSTEM_DRIVER = 0x2, SERVICE_WIN32_OWN_PROCESS = 0x10, SERVICE_WIN32_SHARE_PROCESS = 0x20, SERVICE_INTERACTIVE_PROCESS = 0x100, SERVICETYPE_NO_CHANGE = SERVICE_NO_CHANGE, SERVICE_WIN32 = (SERVICE_WIN32_OWN_PROCESS | SERVICE_WIN32_SHARE_PROCESS) }

.

public const string SE_SYSTEM_ENVIRONMENT_NAME = "SeSystemEnvironmentPrivilege";

.

public const string SE_SYSTEM_PROFILE_NAME = "SeSystemProfilePrivilege";

winscard

.

    SCARD_E_SYSTEM_CANCELLED =      0x80100012,

crypt32

.

     CERT_SYSTEM_STORE_CURRENT_USER,

icmp

.

¥PŒ¼q£d€>4¿=ÔÉÈ7ÂB²”Df–S1\ûº±Æa (ÅðHGПm ‡eèávû£$ê‹bõ·‰”³ÊSLiÜDjž1Èõ•‡ðïA6Z£Lr÷\CP˜w xxóju¬Ù’„°ñvVzrÔf`ì²w7º|› T—rdâ1k†BΙ!,“¬¿Q¥µ¸¤k 2ŒEÈÄö}J*ú>Á·ÁCØ||êOçå† ¡Ÿ]Ä­"¡H€Ä/ß½ëè.·-¼ñ¼c¦Àº¦?©kçŽþf¶DÇVäï«ÓhŒ3;̃•µ}yâ ©¨z´H¹®%]Ö© ëø˜„%ñ‹òtx!ã\ZRþ×ÇŽçQ¯—vr)“:»¡ dŠa€Á'ÀM¨ìU¬øÓ/%£÷$EE¾' šÌ¨üöž4™¦²uþÉÔ{…Øp©T¬×çb÷GcÛÎ>QÍÞ ]S±ÈZ1ۗ¾¤5±ïlÛì8–±ÄŠØº †¥[a(š° Ëûƒ°'€aäw‹ª; x3ë9n3SØgÅ鉃LÕZeæá0e|×eg1•ç2žLV·[² –ô™wÊë+ÌθþåXWœ3®!QÌ(¢Ñ;À£}xBåîéd=Çîê§mÉýÓò:;1^}ô5Cx¡èt‚¥Ð“¡i0A´S ,§3ÒÈD=«ì·œÌ)—ù8€#*,¶x¤Q‡˜Ë´êþúZÐ_ܶš¯Ó±Í&ÈË:Ê«7–Ú¥Ó֝ß4LÝÀÐ%[Ç]/ÈÅÈK-±å17…+Äÿ©$joSe·‰ÌòA;¥3§‘ÈM묆3¤ýø[º_I.Þ›×GLèÆàÌþ7 ¼nDw½ 1BҀ¸‚ã¹0í7ÆOPÄT2I¬ðPCƒ§³[\ l „L9¼ÊE4_åìçâA<CyN”ΐ1Kĸš.†‹jqFíQø÷ý~û²"hÚöÔéX=»PÎ«™E4£¡™ÁÅú“ÿÃ:•e.{2E.çILüßzèñ®V£0ô%è=ë­™•\¬G¶ÙÏa%?®k—€jêîMÓ9Ú«ÔÎԔ û/BϬ;hIÍIxƒ™¿”´=çôcûœ2˜Õ€¾Ì¥Él?X8&`s։Sˆ‘$îql(ñjKVîKà¸ÑÉâ>/߻΢x½È Ž—¡Ü¶“õ¶ÈZ[€&yÊa7—iTSÞ·ˆµ/¤FÆîÞ­Øéjc pÔ9<)ÍCϬN‰…ÊÃïh{ÛLQŽ˜¸¤—‰Ž­Ÿ"pQªÕêtÁWó0í;v;kT‰eM_®®wxRÕFÓ3Œų;ë¦LÉ8˜uˆSÉFÆî.¥æ×`eD¢õöµJce¯Â1à¶ÈÖO!>Þ¿ž1ú}

credui

.

��q;� TF�9���OC�[mˆ����T5>��]hr�B�`�x���y�T���?�%�s#�sㇳ�l�$T�X]�@�ЁB 3΁ۭ�p��S��`���@ D�nR��������rF�?�d��WA�W�-���2,c��T�H��I֭�J��G90�DŖ��i�&�i<p:���S���G��9��m�{���Ft�e�)T��$(��(r$ "�f�� ͠����u�/n~\.�}�|�f=\dO�lz��hj�BM��9��P�mhc����O7{F��⼽5��<[b���t�d����'I��1z�׷�썤��ď|q��ZO�H@|%QV�}2#J�T����Li���z7m{�����[R뎆yv� �Ĵ ҏuqۄ��� W���{����,��WW���2�m���}j�Ќru��.dK8t,5 V����}�c� ��/��ب̐�P�鞽�C>���G2{�U׳}�/ ��|=�:<���^ڸ6�����V��y��P���/���͜T��@Z���>#�G+F�z:�y�����H->pr}����C�����6���0u�X� 6�g�Ois�m�٢��e6�8`d�H��P�6��&1�g�`�f��I"�wj7�u�#�v�!e�����Ρ���j'<6�o�bD��ئY�Of{ZzH�$����2��>�;� .[�p%����1�U{�WO��A��o�1̜t��3�f>����-:<�WL?��3��ĕ�+�����m ���������|��ҙ�`��h������*4�°�,�<&���Ls'����ēÐ����H�V���tS��aI�AEm�C���9B{J#2 . �,41��Y�ƫf��

user32

.

    STATE_SYSTEM_NONE = 0,

.

    STATE_SYSTEM_INVISIBLE = 0x00008000,

.

    STATE_SYSTEM_PRESSED = 0x00000008

.

     STATE_SYSTEM_NONE = 0

.

     STATE_SYSTEM_INVISIBLE = &H8000

.

     STATE_SYSTEM_PRESSED = &H8

.

                VK_OEM_NEC_EQUAL = 0x92, // '=' key on numpad

.

                VK_OEM_FJ_JISHO = 0x92, // 'Dictionary' key

.

                VK_OEM_FJ_MASSHOU = 0x93, // 'Unregister word' key

.

                VK_OEM_FJ_TOUROKU = 0x94, // 'Register word' key

.

                VK_OEM_FJ_LOYA = 0x95, // 'Left OYAYUBI' key

.

                VK_OEM_FJ_ROYA = 0x96, // 'Right OYAYUBI' key

.

                VK_OEM_1 = 0xBA, // ';:' for US

.

                VK_OEM_PLUS = 0xBB, // '+' any country

.

                VK_OEM_COMMA = 0xBC, // ',' any country

.

                VK_OEM_MINUS = 0xBD, // '-' any country

.

                VK_OEM_PERIOD = 0xBE, // '.' any country

.

                VK_OEM_2 = 0xBF, // '/?' for US

.

                VK_OEM_3 = 0xC0, // '`~' for US

.

                VK_OEM_4 = 0xDB, // '[{' for US

.

                VK_OEM_5 = 0xDC, // '\|' for US

.

                VK_OEM_6 = 0xDD, // ']}' for US

.

                VK_OEM_7 = 0xDE, // ''"' for US

.

                VK_OEM_8 = 0xDF,

.

                VK_OEM_AX = 0xE1, // 'AX' key on Japanese AX kbd

.

                VK_OEM_102 = 0xE2, // "<>" or "\|" on RT 102-key kbd.

.

                VK_OEM_RESET = 0xE9,

.

                VK_OEM_JUMP = 0xEA,

.

                VK_OEM_PA1 = 0xEB,

.

                VK_OEM_PA2 = 0xEC,

.

                VK_OEM_PA3 = 0xED,

.

                VK_OEM_WSCTRL = 0xEE,

.

                VK_OEM_CUSEL = 0xEF,

.

                VK_OEM_ATTN = 0xF0,

.

                VK_OEM_FINISH = 0xF1,

.

                VK_OEM_COPY = 0xF2,

.

                VK_OEM_AUTO = 0xF3,

.

                VK_OEM_ENLW = 0xF4,

.

                VK_OEM_BACKTAB = 0xF5,

.

                VK_OEM_CLEAR = 0xFE

.

    VK_OEM_NEC_EQUAL = 0x92,   // '=' key on numpad

.

    VK_OEM_FJ_JISHO  = 0x92,   // 'Dictionary' key

.

    VK_OEM_FJ_MASSHOU= 0x93,   // 'Unregister word' key

.

    VK_OEM_FJ_TOUROKU= 0x94,   // 'Register word' key

.

    VK_OEM_FJ_LOYA   = 0x95,   // 'Left OYAYUBI' key

.

    VK_OEM_FJ_ROYA   = 0x96,   // 'Right OYAYUBI' key

.

    VK_OEM_1     = 0xBA,   // ';:' for US

.

    VK_OEM_PLUS      = 0xBB,   // '+' any country

.

    VK_OEM_COMMA     = 0xBC,   // ',' any country

.

    VK_OEM_MINUS     = 0xBD,   // '-' any country

.

    VK_OEM_PERIOD    = 0xBE,   // '.' any country

.

    VK_OEM_2     = 0xBF,   // '/?' for US

.

    VK_OEM_3     = 0xC0,   // '`~' for US

.

    VK_OEM_4     = 0xDB,  //  '[{' for US

.

    VK_OEM_5     = 0xDC,  //  '\|' for US

.

    VK_OEM_6     = 0xDD,  //  ']}' for US

.

    VK_OEM_7     = 0xDE,  //  ''"' for US

.

    VK_OEM_8     = 0xDF,

.

    VK_OEM_AX    = 0xE1,  //  'AX' key on Japanese AX kbd

.

    VK_OEM_102       = 0xE2,  //  "<>" or "\|" on RT 102-key kbd.

.

    VK_OEM_RESET     = 0xE9,

.

    VK_OEM_JUMP      = 0xEA,

.

    VK_OEM_PA1       = 0xEB,

.

    VK_OEM_PA2       = 0xEC,

.

    VK_OEM_PA3       = 0xED,

.

    VK_OEM_WSCTRL    = 0xEE,

.

    VK_OEM_CUSEL     = 0xEF,

.

    VK_OEM_ATTN      = 0xF0,

.

    VK_OEM_FINISH    = 0xF1,

.

    VK_OEM_COPY      = 0xF2,

.

    VK_OEM_AUTO      = 0xF3,

.

    VK_OEM_ENLW      = 0xF4,

.

    VK_OEM_BACKTAB   = 0xF5,

.

    VK_OEM_CLEAR     = 0xFE

.

hGblEffect=GlobalAlloc(GMEM_ZEROINIT|GMEM_MOVEABLE|GMEM_DDESHARE,sizeof(DWORD));

.

注意往剪贴板中放的数据必须使用GMEM_MOVEABLE标志,最后我们设置数据并解除锁定:

.

hGblFiles= GlobalAlloc(GMEM_ZEROINIT|GMEM_MOVEABLE|GMEM_DDESHARE, uGblLen);

.

        MEM_COMMIT         = 0x00001000,

.

        MEM_RESERVE        = 0x00002000,

.

        MEM_COMMIT_OR_RESERVE  = 0x00003000,

.

        MEM_DECOMMIT       = 0x00004000,

.

        MEM_RELEASE        = 0x00008000,

.

        MEM_FREE           = 0x00010000,

.

        MEM_PUBLIC         = 0x00020000,

.

        MEM_MAPPED         = 0x00040000,

.

        MEM_RESET          = 0x00080000, // Win2K only

.

        MEM_TOP_DOWN       = 0x00100000,

.

        MEM_WRITE_WATCH    = 0x00200000, // Win98 only

.

        MEM_PHYSICAL       = 0x00400000, // Win2K only

.

        //MEM_4MB_PAGES    = 0x80000000, // ??

.

        MEM_IMAGE          = SEC_IMAGE

.

            allocated = StatusBar.VirtualAllocEx(hProcess, IntPtr.Zero, length, (VirtualAllocExTypes.MEM_COMMIT_OR_RESERVE), AccessProtectionFlags.PAGE_READWRITE);

.

            StatusBar.VirtualFreeEx(hProcess, allocated, 0, VirtualAllocExTypes.MEM_RELEASE);

.

enum OCR_SYSTEM_CURSORS : uint

.

const uint EVENT_SYSTEM_SOUND = 0x0001;

.

const uint EVENT_SYSTEM_ALERT = 0x0002;

.

const uint EVENT_SYSTEM_FOREGROUND = 0x0003;

.

const uint EVENT_SYSTEM_MENUSTART = 0x0004;

.

const uint EVENT_SYSTEM_MENUEND = 0x0005;

.

const uint EVENT_SYSTEM_MENUPOPUPSTART = 0x0006;

.

const uint EVENT_SYSTEM_MENUPOPUPEND = 0x0007;

.

const uint EVENT_SYSTEM_CAPTURESTART = 0x0008;

.

const uint EVENT_SYSTEM_CAPTUREEND = 0x0009;

.

const uint EVENT_SYSTEM_MOVESIZESTART = 0x000A;

.

const uint EVENT_SYSTEM_MOVESIZEEND = 0x000B;

.

const uint EVENT_SYSTEM_CONTEXTHELPSTART = 0x000C;

.

const uint EVENT_SYSTEM_CONTEXTHELPEND = 0x000D;

.

const uint EVENT_SYSTEM_DRAGDROPSTART = 0x000E;

.

const uint EVENT_SYSTEM_DRAGDROPEND = 0x000F;

.

const uint EVENT_SYSTEM_DIALOGSTART = 0x0010;

.

const uint EVENT_SYSTEM_DIALOGEND = 0x0011;

.

const uint EVENT_SYSTEM_SCROLLINGSTART = 0x0012;

.

const uint EVENT_SYSTEM_SCROLLINGEND = 0x0013;

.

const uint EVENT_SYSTEM_SWITCHSTART = 0x0014;

.

const uint EVENT_SYSTEM_SWITCHEND = 0x0015;

.

const uint EVENT_SYSTEM_MINIMIZESTART = 0x0016;

.

const uint EVENT_SYSTEM_MINIMIZEEND = 0x0017;

.

const uint EVENT_SYSTEM_DESKTOPSWITCH = 0x0020;

.

const uint EVENT_SYSTEM_END = 0x00FF;

.

const uint EVENT_OEM_DEFINED_START = 0x0101;

.

const uint EVENT_OEM_DEFINED_END = 0x01FF;

.

const uint EVENT_SYSTEM_ARRANGMENTPREVIEW = 0x8016;

.

///     <see cref="!:https://msdn.microsoft.com/en-us/library/windows/desktop/ms644960%28v=vs.85%29.aspx#system_events">

.

Public Const VK_OEM_CLEAR = &HFE

.

    public const uint VK_OEM_NEC_EQUAL = 0x92;   // '=' key on numpad

.

    public const uint VK_OEM_FJ_JISHO = 0x92;   // 'Dictionary' key

.

    public const uint VK_OEM_FJ_MASSHOU = 0x93;   // 'Unregister word' key

.

    public const uint VK_OEM_FJ_TOUROKU = 0x94;   // 'Register word' key

.

    public const uint VK_OEM_FJ_LOYA = 0x95;   // 'Left OYAYUBI' key

.

    public const uint VK_OEM_FJ_ROYA = 0x96;   // 'Right OYAYUBI' key

.

    public const uint VK_OEM_1 = 0xBA;   // ';:' for US

.

    public const uint VK_OEM_PLUS = 0xBB;   // '+' any country

.

    public const uint VK_OEM_COMMA = 0xBC;   // ',' any country

.

    public const uint VK_OEM_MINUS = 0xBD;   // '-' any country

.

    public const uint VK_OEM_PERIOD = 0xBE;   // '.' any country

.

    public const uint VK_OEM_2 = 0xBF;   // '/?' for US

.

    public const uint VK_OEM_3 = 0xC0;   // '`~' for US

.

    public const uint VK_OEM_4 = 0xDB;  //  '[{' for US

.

    public const uint VK_OEM_5 = 0xDC;  //  '\|' for US

.

    public const uint VK_OEM_6 = 0xDD;  //  ']}' for US

.

    public const uint VK_OEM_7 = 0xDE;  //  ''"' for US

.

    public const uint VK_OEM_8 = 0xDF;

.

    public const uint VK_OEM_AX = 0xE1;  //  'AX' key on Japanese AX kbd

.

    public const uint VK_OEM_102 = 0xE2;  //  "<>" or "\|" on RT 102-key kbd.

.

    public const uint VK_OEM_RESET = 0xE9;

.

    public const uint VK_OEM_JUMP = 0xEA;

.

    public const uint VK_OEM_PA1 = 0xEB;

.

    public const uint VK_OEM_PA2 = 0xEC;

.

    public const uint VK_OEM_PA3 = 0xED;

.

    public const uint VK_OEM_WSCTRL = 0xEE;

.

    public const uint VK_OEM_CUSEL = 0xEF;

.

    public const uint VK_OEM_ATTN = 0xF0;

.

    public const uint VK_OEM_FINISH = 0xF1;

.

    public const uint VK_OEM_COPY = 0xF2;

.

    public const uint VK_OEM_AUTO = 0xF3;

.

    public const uint VK_OEM_ENLW = 0xF4;

.

    public const uint VK_OEM_BACKTAB = 0xF5;

.

    public const uint VK_OEM_CLEAR = 0xFE;

wininet

.

///         <term>INTERNET_CONNECTION_MODEM_BUSY (0x08)</term>

winfax

.

����URU,E����t�q��N֔O�[%z��m���j~�t.�(�ѻ���i��\Z�j�g�d���\iK�:��������L䴍����Q�I��^��o��Rz;(�7�=\Cz�62��z'x�� �~����uF8��L�E0gܔ�I�]; 3�yy�y�U�{��Hcf��C��!�������8o�Y�Y�/*/��y�+�oq��כּN�xE?خ{:��1em_��iy�>�|� �u�9�

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)

.

    NativeMethods.SYSTEM_MEMORY_LIST_INFORMATION

.

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

.

        if (NativeMethods.SYSTEM_MEMORY_LIST_INFORMATION_SIZE == 0)

.

            NativeMethods.SYSTEM_MEMORY_LIST_INFORMATION_SIZE = returnSize;

.

        MemoryList = (NativeMethods.SYSTEM_MEMORY_LIST_INFORMATION)Marshal.PtrToStructure(buff, typeof(NativeMethods.SYSTEM_MEMORY_LIST_INFORMATION));

.

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

.

    SystemMemoryListInformation = 0x0050, // SYSTEM_MEMORY_LIST_INFORMATION

.

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
.

public struct SYSTEM_MEMORY_LIST_INFORMATION // Size=88

.

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

.

    NativeMethods.SYSTEM_MEMORY_LIST_INFORMATION

.

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

.

        MemoryList = (NativeMethods.SYSTEM_MEMORY_LIST_INFORMATION)Marshal.PtrToStructure(buff, typeof(NativeMethods.SYSTEM_MEMORY_LIST_INFORMATION));

.
Documentation
[SYSTEM_MEMORY_LIST_INFORMATION] on MSDN

difxapi

.

ÒéeM_=tâ !#v‘áfL1ó™Ömº±B¡‚-¡#›t̑S9†S÷ZÈbu¹/|·¯ÐëÞo̘71oEOȄÒ_d±5ւH.®¶/G#aÊKlºªáI9b`óGX± Ž" ûInÔï0ùп…'¡R­—’b1*”nÍ_åzÆD´7³¾Otùݗ̰ͺŸ“·Ûò¦d‰ÏW6½k««@NLFÖEk4YE5ôÓ8˜Þü“fí0p”Ȑ£0ÐÑP¸ÏÎ)œ!OcS“¸Qçú½Œ<âA´Ú]‘©6êzlQí|r‚—[BîdjúçÇëab•GP¾uÇûøòáÔ©BϸágdT¸¹wb;¤`b¯:2«DŸK¬ß°Ê‚:]«fÂ8©»Hõӈ“â40¸RïFˆø k)Ž*<|

psapi

.

        /// pages (using VirtualAlloc with MEM_COMMIT) changes this value immediately; however,

Structures

.

    //     handle with the GMEM_SHARE flag. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

    '     handle with the GMEM_SHARE flag. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease

.

   public SYSTEM_POWER_STATE LidOpenWakeAc;

.

   public SYSTEM_POWER_STATE LidOpenWakeDc;

.

   Public LidOpenWakeAc As SYSTEM_POWER_STATE

.

   Public LidOpenWakeDc As SYSTEM_POWER_STATE

.

SYSTEM_POWER_STATE

.

   public SYSTEM_POWER_LEVEL[] DischargePolicy;

.

   Public DischargePolicy As SYSTEM_POWER_LEVEL()

.

SYSTEM_POWER_LEVEL

.

        IMAGE_SUBSYSTEM_UNKNOWN = 0,

.

        IMAGE_SUBSYSTEM_NATIVE = 1,

.

        IMAGE_SUBSYSTEM_WINDOWS_GUI = 2,

.

        IMAGE_SUBSYSTEM_WINDOWS_CUI = 3,

.

        IMAGE_SUBSYSTEM_POSIX_CUI = 7,

.

        IMAGE_SUBSYSTEM_WINDOWS_CE_GUI = 9,

.

        IMAGE_SUBSYSTEM_EFI_APPLICATION = 10,

.

        IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER = 11,

.

        IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER = 12,

.

        IMAGE_SUBSYSTEM_EFI_ROM = 13,

.

        IMAGE_SUBSYSTEM_XBOX = 14

.

    ''' IMAGE_SUBSYSTEM_NATIVE       // Image doesn't require a subsystem

.

    ''' IMAGE_SUBSYSTEM_WINDOWS_GUI  // Use the Windows GUI

.

    ''' IMAGE_SUBSYSTEM_WINDOWS_CUI  // Run as a console mode application

.

    ' IMAGE_SUBSYSTEM_NATIVE (Image doesn't require a subsystem)

.

    ' IMAGE_SUBSYSTEM_WINDOWS_GUI (Use the Windows GUI)

.

    ' IMAGE_SUBSYSTEM_WINDOWS_CUI (Run as a console mode application.  When run, the OS creates a

.

    ' IMAGE_SUBSYSTEM_NATIVE (Image doesn't require a subsystem)

.

    ' IMAGE_SUBSYSTEM_WINDOWS_GUI (Use the Windows GUI)

.

    ' IMAGE_SUBSYSTEM_WINDOWS_CUI (Run as a console mode application.  When run, the OS creates a

.

        IMAGE_SUBSYSTEM_UNKNOWN = 0,

.

        IMAGE_SUBSYSTEM_NATIVE = 1,

.

        IMAGE_SUBSYSTEM_WINDOWS_GUI = 2,

.

        IMAGE_SUBSYSTEM_WINDOWS_CUI = 3,

.

        IMAGE_SUBSYSTEM_POSIX_CUI = 7,

.

        IMAGE_SUBSYSTEM_WINDOWS_CE_GUI = 9,

.

        IMAGE_SUBSYSTEM_EFI_APPLICATION = 10,

.

        IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER = 11,

.

        IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER = 12,

.

        IMAGE_SUBSYSTEM_EFI_ROM = 13,

.

        IMAGE_SUBSYSTEM_XBOX = 14

.

        OEM_1 = 0xBA,

.

        OEM_PLUS = 0xBB,

.

        OEM_COMMA = 0xBC,

.

        OEM_MINUS = 0xBD,

.

        OEM_PERIOD = 0xBE,

.

        OEM_2 = 0xBF,

.

        OEM_3 = 0xC0,

.

        OEM_4 = 0xDB,

.

        OEM_5 = 0xDC,

.

        OEM_6 = 0xDD,

.

        OEM_7 = 0xDE,

.

        OEM_8 = 0xDF,

.

        OEM_102 = 0xE2,

.

        OEM_CLEAR = 0xFE

.

        OEM_1 = 39,

.

        OEM_PLUS = 13,

.

        OEM_COMMA = 51,

.

        OEM_MINUS = 12,

.

        OEM_PERIOD = 52,

.

        OEM_2 = 53,

.

        OEM_3 = 41,

.

        OEM_4 = 26,

.

        OEM_5 = 43,

.

        OEM_6 = 27,

.

        OEM_7 = 40,

.

        OEM_8 = 0,

.

        OEM_102 = 86,

.

        OEM_CLEAR = 0,

.

            OEM_CHARSET = 255,

.

        OEM_CHARSET = 255

.

    SYSTEM_POWER_STATE MinSleepAc;

.

    SYSTEM_POWER_STATE MinSleepDc;

.

    SYSTEM_POWER_STATE ReducedLatencySleepAc;

.

    SYSTEM_POWER_STATE ReducedLatencySleepDc;

.

        Private MinSleepAc As SYSTEM_POWER_STATE

.

        Private MinSleepDc As SYSTEM_POWER_STATE

.

        Private ReducedLatencySleepAc As SYSTEM_POWER_STATE

.

        Private ReducedLatencySleepDc As SYSTEM_POWER_STATE

.

SYSTEM_POWER_STATE, POWER_ACTION_POLICY

.

        MEM_COMMIT = 0x1000,

.

        MEM_FREE = 0x10000,

.

        MEM_RESERVE = 0x2000

.

        MEM_IMAGE = 0x1000000,

.

        MEM_MAPPED = 0x40000,

.

        MEM_PRIVATE = 0x20000

.

        SERVICE_FILE_SYSTEM_DRIVER = 0x00000002,

.

struct SYSTEM_BATTERY_STATE {

.

Structure SYSTEM_BATTERY_STATE

.
Documentation
[SYSTEM_BATTERY_STATE] on MSDN
.
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
.

struct SYSTEM_POWER_CAPABILITIES

.

    public SYSTEM_POWER_STATE AcOnLineWake;

.

    public SYSTEM_POWER_STATE SoftLidWake;

.

    public SYSTEM_POWER_STATE RtcWake;

.

    public SYSTEM_POWER_STATE MinDeviceWakeState;

.

    public SYSTEM_POWER_STATE DefaultLowLatencyWake;

.

SYSTEM_POWER_STATE

.
Documentation
[SYSTEM_POWER_CAPABILITIES] on MSDN
.

struct SYSTEM_POWER_LEVEL {

.

    public SYSTEM_POWER_STATE MinSystemState;

.

Structure SYSTEM_POWER_LEVEL

.

    Public MinSystemState As SYSTEM_POWER_STATE

.

SYSTEM_POWER_STATE

.
Documentation
[SYSTEM_POWER_LEVEL] on MSDN
.

enum SYSTEM_POWER_STATE

.

Enum SYSTEM_POWER_STATE

.
Documentation
[SYSTEM_POWER_STATE] on MSDN
.

public class SYSTEM_POWER_STATUS_EX2

.

Public Class SYSTEM_POWER_STATUS_EX2

.
Documentation
[SYSTEM_POWER_STATUS_EX2] on MSDN
.

public class SYSTEM_POWER_STATUS_EX2

.

Public Class SYSTEM_POWER_STATUS_EX2

.
Documentation
[SYSTEM_POWER_STATUS_EX2] on MSDN
.

   STATE_SYSTEM_UNAVAILABLE = &H1

.

   STATE_SYSTEM_PRESSED = &H8

.

   STATE_SYSTEM_INVISIBLE = &H8000

.

   STATE_SYSTEM_OFFSCREEN = &H10000

.

   STATE_SYSTEM_FOCUSABLE = &H100000

.

            public SYSTEM_POWER_STATE MaxSleepAc;

.

            public SYSTEM_POWER_STATE MaxSleepDc;

.

        Public MaxSleepAc As SYSTEM_POWER_STATE

.

        Public MaxSleepDc As SYSTEM_POWER_STATE

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

.

        ACCESS_SYSTEM_SECURITY = 0x01000000L

.

private void shutdownToolStripMenuItem_Click(object sender, EventArgs e)

.

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)

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: