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]

setupapi

.

ÿ!ªc†š"ŋÂbö ™Šöù“„Ž~DêuM€-RÊÍô{ïC 1& °xŽ•à‹¦éÒËZÚ¿÷†Ý#´Ü™9%×Á³BÊ:ÎìFÄcÊŽdæ¢.՟@Z‚•7ÈÿÔ6É÷Ô̆LE´Tî«­Î_Ûkřh;FÙÁ»»nºÉV`9®Î‚Òmqû•÷Já–þ¤7n‘EMZ•Գ̩õTÈ®ù:+'J6oaâ

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ú}

gdi32

.

    OEM_CHARSET = 255,

.

            OEM_CHARSET = 0x000000FF

.

    OEM_CHARSET = 255,

.

            OEM_CHARSET = 0x000000FF

.

    OEM_FIXED_FONT  = 10,

.

    SYSTEM_FONT     = 13,

.

    SYSTEM_FIXED_FONT   = 16,

.

    OEM_FIXED_FONT = 10

.

    SYSTEM_FONT = 13

.

    SYSTEM_FIXED_FONT = 16

.

    const int OEM_FIXED_FONT = 10;

.

    const int SYSTEM_FONT = 13;

.

    const int SYSTEM_FIXED_FONT = 16;

mscorsn

.

X¿žÂ#ôÓï¡Ô¶ÙâՇ:þ»Þ8&>ô½N•OL»</³Ú‹xüÈIëVöf m“Eâϳ¿"]ªØ^qâ¯}Ii§†‚Û逛ž¦”ÞšSÝf2kލ»p_§ÖÑá EDd*9êˆc€e´—¥z|*ãT®?œ9¶lyÚ¶<‹ÈôÃ$BCÓÂw¢†«ZEM_؁65z’ҍÄA‰[ùQ]\$ꇛ8èt­À‡îÕÔYﺜôØEüaðÀdUŌƒ™›úyo¤"ŠnàßüXÙø˜,ÁyY3ö(LLk

shell32

.

    COMMON_OEM_LINKS = &H3A

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�

psapi

.

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

wininet

.

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

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)Ž*<|

powrprof

.

  IntPtr status = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(SYSTEM_BATTERY_STATE)));

.

    (UInt32)Marshal.SizeOf(typeof(SYSTEM_BATTERY_STATE))

.

  SYSTEM_BATTERY_STATE batt_status = (SYSTEM_BATTERY_STATE)Marshal.PtrToStructure(status, typeof(SYSTEM_BATTERY_STATE));

.

static extern bool GetPwrCapabilities(out SYSTEM_POWER_CAPABILITIES systemPowerCapabilites);

.

SYSTEM_POWER_CAPABILITIES

.

    static extern bool GetPwrCapabilities(out SYSTEM_POWER_CAPABILITIES systemPowerCapabilites);

.

    static SYSTEM_POWER_CAPABILITIES systemPowerCapabilites;

.

        GetPwrCapabilities(out SYSTEM_POWER_CAPABILITIES);

odbccp32

.

    SQLSetConfigMode(ConfigMode.ODBC_SYSTEM_DSN);

.

    ODBC_SYSTEM_DSN = 2,

.

    SQLSetConfigMode(ConfigMode.ODBC_SYSTEM_DSN);

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;

Enums

.

    ACCESS_SYSTEM_SECURITY = 0x01000000,

.

    ACCESS_SYSTEM_SECURITY = &H1000000

.

    /// <summary>Reserved for future use. System-alarm ACE that uses the SYSTEM_ALARM_ACE structure.</summary>

.

    SYSTEM_ALARM = 0x3,

.

    /// <summary>Reserved for future use. System-alarm callback ACE that uses the SYSTEM_ALARM_CALLBACK_ACE structure.</summary>

.

    SYSTEM_ALARM_CALLBACK = 0xE,

.

    /// <summary>Reserved for future use. Object-specific system-alarm callback ACE that uses the SYSTEM_ALARM_CALLBACK_OBJECT_ACE structure.</summary>

.

    SYSTEM_ALARM_CALLBACK_OBJECT = 0x10,

.

    /// <summary>Reserved for future use. Object-specific system-alarm ACE that uses the SYSTEM_ALARM_OBJECT_ACE structure.</summary>

.

    SYSTEM_ALARM_OBJECT = 0x8,

.

    /// <summary>System-audit ACE that uses the SYSTEM_AUDIT_ACE structure.</summary>

.

    SYSTEM_AUDIT = 0x2,

.

    /// <summary>System-audit callback ACE that uses the SYSTEM_AUDIT_CALLBACK_ACE structure.</summary>

.

    SYSTEM_AUDIT_CALLBACK = 0xD,

.

    /// <summary>Object-specific system-audit callback ACE that uses the SYSTEM_AUDIT_CALLBACK_OBJECT_ACE structure.</summary>

.

    SYSTEM_AUDIT_CALLBACK_OBJECT = 0xF,

.

    /// <summary>Object-specific system-audit ACE that uses the SYSTEM_AUDIT_OBJECT_ACE structure.</summary>

.

    SYSTEM_AUDIT_OBJECT = 0x7,

.

    /// <summary>Mandatory label ACE that uses the SYSTEM_MANDATORY_LABEL_ACE structure.</summary>

.

    SYSTEM_MANDATORY_LABEL = 0x11

.

    ''' <summary>Reserved for future use. System-alarm ACE that uses the SYSTEM_ALARM_ACE structure.</summary>

.

    SYSTEM_ALARM = &H3

.

    ''' <summary>Reserved for future use. System-alarm callback ACE that uses the SYSTEM_ALARM_CALLBACK_ACE structure.</summary>

.

    SYSTEM_ALARM_CALLBACK = &HE

.

    ''' <summary>Reserved for future use. Object-specific system-alarm callback ACE that uses the SYSTEM_ALARM_CALLBACK_OBJECT_ACE structure.</summary>

.

    SYSTEM_ALARM_CALLBACK_OBJECT = &H10

.

    ''' <summary>Reserved for future use. Object-specific system-alarm ACE that uses the SYSTEM_ALARM_OBJECT_ACE structure.</summary>

.

    SYSTEM_ALARM_OBJECT = &H8

.

    ''' <summary>System-audit ACE that uses the SYSTEM_AUDIT_ACE structure.</summary>

.

    SYSTEM_AUDIT = &H2

.

    ''' <summary>System-audit callback ACE that uses the SYSTEM_AUDIT_CALLBACK_ACE structure.</summary>

.

    SYSTEM_AUDIT_CALLBACK = &HD

.

    ''' <summary>Object-specific system-audit callback ACE that uses the SYSTEM_AUDIT_CALLBACK_OBJECT_ACE structure.</summary>

.

    SYSTEM_AUDIT_CALLBACK_OBJECT = &HF

.

    ''' <summary>Object-specific system-audit ACE that uses the SYSTEM_AUDIT_OBJECT_ACE structure.</summary>

.

    SYSTEM_AUDIT_OBJECT = &H7

.

    ''' <summary>Mandatory label ACE that uses the SYSTEM_MANDATORY_LABEL_ACE structure.</summary>

.

    SYSTEM_MANDATORY_LABEL = &H11

.

    STATE_SYSTEM_NONE = 0,

.

    STATE_SYSTEM_INVISIBLE = 0x00008000,

.

    STATE_SYSTEM_PRESSED = 0x00000008

29: CSIDL
.

    CSIDL_COMMON_OEM_LINKS      = 0x003a,

.

    CSIDL_COMMON_OEM_LINKS = &H3A

30: DLGC
.

    /// <summary> Windows will send an EM_SETSEL message to the control to select its contents. </summary>

.

    GMEM_FIXED = 0x0000,

.

     GMEM_MOVEABLE = 0x0002,      

.

     GMEM_ZEROINIT = 0x0040,

.

     GMEM_MODIFY = 0x0080,        

.

     GMEM_VALID_FLAGS = 0x7F72,

.

     GMEM_INVALID_HANDLE = 0x8000,

.

     GHND = (GMEM_MOVEABLE | GMEM_ZEROINIT),

.

     GPTR = (GMEM_FIXED | GMEM_ZEROINIT),

.

     GMEM_DDESHARE = 0x2000,

.

     GMEM_DISCARDABLE = 0x0100,

.

     GMEM_LOWER = GMEM_NOT_BANKED,

.

     GMEM_NOCOMPACT = 0x0010,

.

     GMEM_NODISCARD = 0x0020,

.

     GMEM_NOT_BANKED = 0x1000,

.

     GMEM_NOTIFY = 0x4000,

.

     GMEM_SHARE = 0x2000

.

    GMEM_FIXED = 0x0000,

.

     GMEM_MOVEABLE = 0x0002,      

.

     GMEM_ZEROINIT = 0x0040,

.

     GMEM_MODIFY = 0x0080,        

.

     GMEM_VALID_FLAGS = 0x7F72,

.

     GMEM_INVALID_HANDLE = 0x8000,

.

     GHND = (GMEM_MOVEABLE | GMEM_ZEROINIT),

.

     GPTR = (GMEM_FIXED | GMEM_ZEROINIT),

.

     GMEM_DDESHARE = 0x2000,

.

     GMEM_DISCARDABLE = 0x0100,

.

     GMEM_LOWER = GMEM_NOT_BANKED,

.

     GMEM_NOCOMPACT = 0x0010,

.

     GMEM_NODISCARD = 0x0020,

.

     GMEM_NOT_BANKED = 0x1000,

.

     GMEM_NOTIFY = 0x4000,

.

     GMEM_SHARE = 0x2000

.

    public const int MEM_E_INVALID_ROOT = unchecked((int)0x80080009);

.

    public const int MEM_E_INVALID_LINK = unchecked((int)0x80080010);

.

    public const int MEM_E_INVALID_SIZE = unchecked((int)0x80080011);

.

    public const int SEC_E_CRYPTO_SYSTEM_INVALID = unchecked((int)0x80090337);

.

    public const int OSS_MEM_ERROR = unchecked((int)0x8009300E);

.

    public const int OSS_MEM_MGR_DLL_NOT_LINKED = unchecked((int)0x80093026);

.

    public const int TRUST_E_SYSTEM_ERROR = unchecked((int)0x80096001);

.

    public const int SPAPI_E_NO_CATALOG_FOR_OEM_INF = unchecked((int)0x800F022F);

.

    public const int SPAPI_E_SET_SYSTEM_RESTORE_POINT = unchecked((int)0x800F0236);

.

    public const int SCARD_E_SYSTEM_CANCELLED = unchecked((int)0x80100012);

.

    Public Const MEM_E_INVALID_ROOT As Integer = CInt(&H80080009UI)

.

    Public Const MEM_E_INVALID_LINK As Integer = CInt(&H80080010UI)

.

    Public Const MEM_E_INVALID_SIZE As Integer = CInt(&H80080011UI)

.

    Public Const SEC_E_CRYPTO_SYSTEM_INVALID As Integer = CInt(&H80090337UI)

.

    Public Const OSS_MEM_ERROR As Integer = CInt(&H8009300eUI)

.

    Public Const OSS_MEM_MGR_DLL_NOT_LINKED As Integer = CInt(&H80093026UI)

.

    Public Const TRUST_E_SYSTEM_ERROR As Integer = CInt(&H80096001UI)

.

    Public Const SPAPI_E_NO_CATALOG_FOR_OEM_INF As Integer = CInt(&H800f022fUI)

.

    Public Const SPAPI_E_SET_SYSTEM_RESTORE_POINT As Integer = CInt(&H800f0236UI)

.

    Public Const SCARD_E_SYSTEM_CANCELLED As Integer = CInt(&H80100012UI)

.

    LMEM_FIXED = 0x0000,

.

    LMEM_MOVEABLE = 0x0002,

.

    LMEM_NOCOMPACT = 0x0010,

.

    LMEM_NODISCARD = 0x0020,

.

    LMEM_ZEROINIT = 0x0040,

.

    LMEM_MODIFY = 0x0080,

.

    LMEM_DISCARDABLE = 0x0F00,

.

    LMEM_VALID_FLAGS = 0x0F72,

.

    LMEM_INVALID_HANDLE = 0x8000,

.

    LHND = (LMEM_MOVEABLE | LMEM_ZEROINIT),

.

    LPTR = (LMEM_FIXED | LMEM_ZEROINIT),

.

    NONZEROLHND = (LMEM_MOVEABLE),

.

    NONZEROLPTR = (LMEM_FIXED),

.

    /// To read or write the SACL, you must request the ACCESS_SYSTEM_SECURITY access right. For more information, see SACL Access Right.

.

        ERROR_SYSTEM_SUSPENDED,

.

    SERVICE_FILE_SYSTEM_DRIVER = 0x00000002,

.

    SERVICE_FILE_SYSTEM_DRIVER = &H2

.

    VK_OEM_NEC_EQUAL = &H92     ' // [NEC_Equal] = 146    ' NEC PC-9800 kbd definitions "=" key on numpad

.

    VK_OEM_FJ_JISHO = &H92      ' // [Fujitsu_Masshou] = 146    ' Fujitsu/OASYS kbd definitions "Dictionary" key

.

    VK_OEM_FJ_MASSHOU = &H93    ' // [Fujitsu_Masshou] = 147    ' Fujitsu/OASYS kbd definitions "Unregister word" key

.

    VK_OEM_FJ_TOUROKU = &H94    ' // [Fujitsu_Touroku] = 148    ' Fujitsu/OASYS kbd definitions "Register word" key  

.

    VK_OEM_FJ_LOYA = &H95       ' // [Fujitsu_Loya] = 149    ' Fujitsu/OASYS kbd definitions "Left OYAYUBI" key

.

    VK_OEM_FJ_ROYA = &H96       ' // [Fujitsu_Roya] = 150    ' Fujitsu/OASYS kbd definitions "Right OYAYUBI" key

.

    VK_OEM_1 = &HBA         ' // [Oem1] = 186           ' ";:" for USA

.

    VK_OEM_PLUS = &HBB      ' // [Oemplus] = 187        ' "+" any country

.

    VK_OEM_COMMA = &HBC     ' // [Oemcomma] = 188       ' "," any country

.

    VK_OEM_MINUS = &HBD     ' // [OemMinus] = 189       ' "-" any country

.

    VK_OEM_PERIOD = &HBE    ' // [OemPeriod] = 190      ' "." any country

.

    VK_OEM_2 = &HBF         ' // [Oem2] = 191           ' "/?" for USA

.

    VK_OEM_3 = &HC0         ' // [Oem3] = 192           ' "'~" for USA

.

    VK_OEM_4 = &HDB         ' // [Oem4] = 219           ' "[{" for USA

.

    VK_OEM_5 = &HDC         ' // [Oem5] = 220           ' "\|" for USA

.

    VK_OEM_6 = &HDD         ' // [Oem6] = 221           ' "]}" for USA

.

    VK_OEM_7 = &HDE         ' // [Oem7] = 222           ' "'"" for USA

.

    VK_OEM_8 = &HDF         ' // [Oem8] = 223

.

    VK_OEM_AX = &HE1        ' // [OEMAX] = 225          ' "AX" key on Japanese AX kbd

.

    VK_OEM_102 = &HE2       ' // [Oem102] = 226         ' "<>" or "\|" on RT 102-key kbd

.

    VK_OEM_RESET = &HE9     ' // [OEMReset] = 233

.

    VK_OEM_JUMP = &HEA      ' // [OEMJump] = 234

.

    VK_OEM_PA1 = &HEB       ' // [OEMPA1] = 235

.

    VK_OEM_PA2 = &HEC       ' // [OEMPA2] = 236

.

    VK_OEM_PA3 = &HED       ' // [OEMPA3] = 237

.

    VK_OEM_WSCTRL = &HEE    ' // [OEMWSCtrl] = 238

.

    VK_OEM_CUSEL = &HEF     ' // [OEMCUSel] = 239

.

    VK_OEM_ATTN = &HF0      ' // [OEMATTN] = 240

.

    VK_OEM_FINISH = &HF1    ' // [OEMFinish] = 241

.

    VK_OEM_COPY = &HF2      ' // [OEMCopy] = 242

.

    VK_OEM_AUTO = &HF3      ' // [OEMAuto] = 243

.

    VK_OEM_ENLW = &HF4      ' // [OEMENLW] = 244

.

    VK_OEM_BACKTAB = &HF5       ' // [OEMBackTab] = 245

.

    VK_OEM_CLEAR = &HFE     ' // [OemClear] = 254

39: VK
.

        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 = 186

.

    OEM_PLUS = 187

.

    OEM_COMMA = 188

.

    OEM_MINUS = 189

.

    OEM_PERIOD = 190

.

    OEM_2 = 191

.

    OEM_3 = 192

.

    OEM_4 = 219

.

    OEM_5 = 220

.

    OEM_6 = 221

.

    OEM_7 = 222

.

    OEM_8 = 223

.

    OEM_102 = 226

.

    OEM_CLEAR = 254

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)

.

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

.

static extern bool GetSystemPowerStatus(out SYSTEM_POWER_STATUS

.

SYSTEM_POWER_STATUS

.

    Dim si As New SYSTEM_INFO

.

     nSize = LCMapStringEx(LOCALE_NAME_SYSTEM_DEFAULT, dwMapFlags, src, nLen, IntPtr.Zero, 0, pZero, pZero, pZero);

.

         nSize = LCMapStringEx(LOCALE_NAME_SYSTEM_DEFAULT, dwMapFlags, src, nLen, ptr, nSize, pZero, pZero, pZero);

.

    LMEM_FIXED = 0x0000,

.

    LMEM_MOVEABLE = 0x0002,

.

    LMEM_NOCOMPACT = 0x0010,

.

    LMEM_NODISCARD = 0x0020,

.

    LMEM_ZEROINIT = 0x0040,

.

    LMEM_MODIFY = 0x0080,

.

    LMEM_DISCARDABLE = 0x0F00,

.

    LMEM_VALID_FLAGS = 0x0F72,

.

    LMEM_INVALID_HANDLE = 0x8000,

.

    LHND = (LMEM_MOVEABLE | LMEM_ZEROINIT),

.

    LPTR = (LMEM_FIXED | LMEM_ZEROINIT),

.

    NONZEROLHND = (LMEM_MOVEABLE),

.

    NONZEROLPTR = (LMEM_FIXED)

.

By default, the allocated memory is not zeroed. Use the LMEM_ZEROINT flag to zero the memory.

.

        SYSTEM_DEFAULT         = 0x0,

.

        SEM_FAILCRITICALERRORS     = 0x0001,

.

        SEM_NOALIGNMENTFAULTEXCEPT = 0x0004,

.

        SEM_NOGPFAULTERRORBOX      = 0x0002,

.

        SEM_NOOPENFILEERRORBOX     = 0x8000

.

        SYSTEM_DEFAULT = &H0

.

        SEM_FAILCRITICALERRORS = &H1

.

        SEM_NOALIGNMENTFAULTEXCEPT = &H4

.

        SEM_NOGPFAULTERRORBOX = &H2

.

        SEM_NOOPENFILEERRORBOX = &H8000

.

        SYSTEM_DEFAULT = 0x0,

.

        SEM_FAILCRITICALERRORS = 0x0001,

.

        SEM_NOALIGNMENTFAULTEXCEPT = 0x0004,

.

        SEM_NOGPFAULTERRORBOX = 0x0002,

.

        SEM_NOOPENFILEERRORBOX = 0x8000

.

        SetErrorMode(ErrorModes.SEM_NOGPFAULTERRORBOX | ErrorModes.SEM_NOOPENFILEERRORBOX); // this funtion prevents error dialog box to show up after application crash

.

            SYSTEM_DEFAULT = 0x0,

.

            SEM_FAILCRITICALERRORS = 0x0001,

.

            SEM_NOALIGNMENTFAULTEXCEPT = 0x0004,

.

            SEM_NOGPFAULTERRORBOX = 0x0002,

.

            SEM_NOOPENFILEERRORBOX = 0x8000

.

     ES_SYSTEM_REQUIRED = 0x00000001

.

        SetThreadExecutionState(EXECUTION_STATE.ES_SYSTEM_REQUIRED);

winscard

.

    SCARD_E_SYSTEM_CANCELLED =      0x80100012,

Constants

58: EM_
.
Summary
EM_* constants defined in the Windows API. Implemented as C# eumerations.
.
EM_EXGETSEL WM_USER + 52 TODO
.
EM_EXSETSEL WM_USER + 55 TODO
.
EM_GETCHARFORMAT WM_USER + 58 TODO
.
EM_GETOPTIONS WM_USER + 78 TODO
.
EM_GETSCROLLPOS WM_USER + 221 TODO
.
EM_GETSEL 0x00B0 TODO
.
EM_GETTEXTEX WM_USER + 94 TODO
.
EM_GETTEXTLENGTHEX WM_USER + 95 TODO
.
EM_SETCHARFORMAT WM_USER + 68 TODO
.
EM_SETOPTIONS WM_USER + 77 TODO
.
EM_SETSCROLLPOS WM_USER + 222 TODO
.
EM_SETSEL 0x00B1 TODO
.
EM_SETTEXTEX WM_USER + 97 TODO
.
EM_SHOWSCROLLBAR WM_USER + 96 TODO
.
EM_EMPTYUNDOBUFFER 0x00CD TODO
.

  /// Based on EM_* constants defined in winuser.h in the Windows API.

.

  /// Based on EM_* constants defined in richedit.h in the Windows API.

.

  public enum EM_Rich : int

.
  • There are more EM_* constants. These are just the ones I use currently.
.

    public static PropertyKey WPD_STORAGE_FILE_SYSTEM_TYPE = new PropertyKey(0x01A3057A, 0x74D6, 0x4E80, 0xBE, 0xA7, 0xDC, 0x4C, 0x21, 0x2C, 0xE5, 0x0A, 3);

.

    public static PropertyKey PKEY_CONFIGUI_MENUITEM_NOUI = new PropertyKey(0x554b24ea, 0xe8e3, 0x45ba, 0x93, 0x52, 0xdf, 0xb5, 0x61, 0xe1, 0x71, 0xe4, 12);

.

    const int SECURITY_MANDATORY_SYSTEM_RID = (0x00004000);

.

        const int SECURITY_MANDATORY_SYSTEM_RID = (0x00004000);

.

                            else if (dwIntegrityLevel >= SECURITY_MANDATORY_SYSTEM_RID) {

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


 
Access PInvoke.net directly from VS: