Artifact db3749c0fedd7c1bd3d3adcfbcfde48200d66d5f:
- File
src/win32/winbase.d
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
0000: 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a /*************** 0010: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a **************** 0020: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a **************** 0030: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a **************** 0040: 2a 2a 2a 2a 2a 2a 2a 2a 5c 0d 0a 2a 20 20 20 20 ********\..* 0050: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0060: 20 20 20 20 20 20 20 20 20 20 20 77 69 6e 62 61 winba 0070: 73 65 2e 64 20 20 20 20 20 20 20 20 20 20 20 20 se.d 0080: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0090: 20 20 20 2a 0d 0a 2a 20 20 20 20 20 20 20 20 20 *..* 00a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 0d *. 00e0: 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .* 00f0: 20 20 20 20 20 20 20 20 20 57 69 6e 64 6f 77 73 Windows 0100: 20 41 50 49 20 68 65 61 64 65 72 20 6d 6f 64 75 API header modu 0110: 6c 65 20 20 20 20 20 20 20 20 20 20 20 20 20 20 le 0120: 20 20 20 20 20 20 20 20 20 2a 0d 0a 2a 20 20 20 *..* 0130: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0150: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0160: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0170: 20 20 20 20 2a 0d 0a 2a 20 20 20 20 20 20 20 20 *..* 0180: 20 20 20 20 20 54 72 61 6e 73 6c 61 74 65 64 20 Translated 0190: 66 72 6f 6d 20 4d 69 6e 47 57 20 41 50 49 20 66 from MinGW API f 01a0: 6f 72 20 4d 53 2d 57 69 6e 64 6f 77 73 20 33 2e or MS-Windows 3. 01b0: 31 30 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 10 * 01c0: 0d 0a 2a 20 20 20 20 20 20 20 20 20 20 20 20 20 ..* 01d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 01f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0200: 20 20 20 20 20 20 20 20 20 20 2a 0d 0a 2a 20 20 *..* 0210: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0220: 20 20 20 20 20 50 6c 61 63 65 64 20 69 6e 74 6f Placed into 0230: 20 70 75 62 6c 69 63 20 64 6f 6d 61 69 6e 20 20 public domain 0240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0250: 20 20 20 20 20 2a 0d 0a 5c 2a 2a 2a 2a 2a 2a 2a *..\******* 0260: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a **************** 0270: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a **************** 0280: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a **************** 0290: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a **************** 02a0: 2f 0d 0a 6d 6f 64 75 6c 65 20 77 69 6e 33 32 2e /..module win32. 02b0: 77 69 6e 62 61 73 65 3b 0d 0a 70 72 61 67 6d 61 winbase;..pragma 02c0: 28 6c 69 62 2c 20 22 6b 65 72 6e 65 6c 33 32 22 (lib, "kernel32" 02d0: 29 3b 0d 0a 0d 0a 2f 2a 2a 0d 0a 54 72 61 6e 73 );..../**..Trans 02e0: 6c 61 74 69 6f 6e 20 4e 6f 74 65 73 3a 0d 0a 54 lation Notes:..T 02f0: 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6d 61 63 he following mac 0300: 72 6f 73 20 61 72 65 20 6f 62 73 6f 6c 65 74 65 ros are obsolete 0310: 2c 20 61 6e 64 20 68 61 76 65 20 6e 6f 20 65 66 , and have no ef 0320: 66 65 63 74 2e 0d 0a 0d 0a 4c 6f 63 6b 53 65 67 fect.....LockSeg 0330: 6d 65 6e 74 28 77 29 2c 20 4d 61 6b 65 50 72 6f ment(w), MakePro 0340: 63 49 6e 73 74 61 6e 63 65 28 70 2c 20 69 29 2c cInstance(p, i), 0350: 20 55 6e 6c 6f 63 6b 52 65 73 6f 75 72 63 65 28 UnlockResource( 0360: 68 29 2c 20 55 6e 6c 6f 63 6b 53 65 67 6d 65 6e h), UnlockSegmen 0370: 74 28 77 29 0d 0a 46 72 65 65 4d 6f 64 75 6c 65 t(w)..FreeModule 0380: 28 6d 29 2c 20 46 72 65 65 50 72 6f 63 49 6e 73 (m), FreeProcIns 0390: 74 61 6e 63 65 28 70 29 2c 20 47 65 74 46 72 65 tance(p), GetFre 03a0: 65 53 70 61 63 65 28 77 29 2c 20 44 65 66 69 6e eSpace(w), Defin 03b0: 65 48 61 6e 64 6c 65 54 61 62 6c 65 28 77 29 0d eHandleTable(w). 03c0: 0a 53 65 74 53 77 61 70 41 72 65 61 53 69 7a 65 .SetSwapAreaSize 03d0: 28 77 29 2c 20 4c 69 6d 69 74 45 6d 73 50 61 67 (w), LimitEmsPag 03e0: 65 73 28 6e 29 2c 20 59 69 65 6c 64 28 29 0d 0a es(n), Yield().. 03f0: 0d 0a 2f 2f 20 54 68 65 20 66 6f 6c 6c 6f 77 69 ..// The followi 0400: 6e 67 20 57 69 6e 31 36 20 66 75 6e 63 74 69 6f ng Win16 functio 0410: 6e 73 20 61 72 65 20 6f 62 73 65 6c 65 74 65 20 ns are obselete 0420: 69 6e 20 57 69 6e 33 32 2e 0d 0a 0d 0a 20 69 6e in Win32..... in 0430: 74 20 5f 68 72 65 61 64 28 48 46 49 4c 45 2c 20 t _hread(HFILE, 0440: 4c 50 56 4f 49 44 2c 20 69 6e 74 29 3b 0d 0a 20 LPVOID, int);.. 0450: 69 6e 74 20 5f 68 77 72 69 74 65 28 48 46 49 4c int _hwrite(HFIL 0460: 45 2c 20 4c 50 43 53 54 52 2c 20 69 6e 74 29 3b E, LPCSTR, int); 0470: 0d 0a 20 48 46 49 4c 45 20 5f 6c 63 6c 6f 73 65 .. HFILE _lclose 0480: 28 48 46 49 4c 45 29 3b 0d 0a 20 48 46 49 4c 45 (HFILE);.. HFILE 0490: 20 5f 6c 63 72 65 61 74 28 4c 50 43 53 54 52 2c _lcreat(LPCSTR, 04a0: 20 69 6e 74 29 3b 0d 0a 20 4c 4f 4e 47 20 5f 6c int);.. LONG _l 04b0: 6c 73 65 65 6b 28 48 46 49 4c 45 2c 20 4c 4f 4e lseek(HFILE, LON 04c0: 47 2c 20 69 6e 74 29 3b 0d 0a 20 48 46 49 4c 45 G, int);.. HFILE 04d0: 20 5f 6c 6f 70 65 6e 28 4c 50 43 53 54 52 2c 20 _lopen(LPCSTR, 04e0: 69 6e 74 29 3b 0d 0a 20 55 49 4e 54 20 5f 6c 72 int);.. UINT _lr 04f0: 65 61 64 28 48 46 49 4c 45 2c 20 4c 50 56 4f 49 ead(HFILE, LPVOI 0500: 44 2c 20 55 49 4e 54 29 3b 0d 0a 20 55 49 4e 54 D, UINT);.. UINT 0510: 20 5f 6c 77 72 69 74 65 28 48 46 49 4c 45 2c 20 _lwrite(HFILE, 0520: 4c 50 43 53 54 52 2c 20 55 49 4e 54 29 3b 0d 0a LPCSTR, UINT);.. 0530: 20 53 49 5a 45 5f 54 20 47 6c 6f 62 61 6c 43 6f SIZE_T GlobalCo 0540: 6d 70 61 63 74 28 44 57 4f 52 44 29 3b 0d 0a 20 mpact(DWORD);.. 0550: 56 4f 49 44 20 47 6c 6f 62 61 6c 46 69 78 28 48 VOID GlobalFix(H 0560: 47 4c 4f 42 41 4c 29 3b 0d 0a 2a 20 4d 53 44 4e GLOBAL);..* MSDN 0570: 20 63 6f 6e 74 72 61 64 69 63 74 73 20 69 74 73 contradicts its 0580: 65 6c 66 20 6f 6e 20 47 6c 6f 62 61 6c 46 6c 61 elf on GlobalFla 0590: 67 73 3a 0d 0a 2a 20 22 54 68 69 73 20 66 75 6e gs:..* "This fun 05a0: 63 74 69 6f 6e 20 69 73 20 70 72 6f 76 69 64 65 ction is provide 05b0: 64 20 6f 6e 6c 79 20 66 6f 72 20 63 6f 6d 70 61 d only for compa 05c0: 74 69 62 69 6c 69 74 79 20 77 69 74 68 20 31 36 tibility with 16 05d0: 2d 62 69 74 20 76 65 72 73 69 6f 6e 73 20 6f 66 -bit versions of 05e0: 20 57 69 6e 64 6f 77 73 2e 22 0d 0a 2a 20 62 75 Windows."..* bu 05f0: 74 20 61 6c 73 6f 20 72 65 71 75 69 72 65 73 20 t also requires 0600: 57 69 6e 64 6f 77 73 20 32 30 30 30 20 6f 72 20 Windows 2000 or 0610: 61 62 6f 76 65 0d 0a 20 55 49 4e 54 20 47 6c 6f above.. UINT Glo 0620: 62 61 6c 46 6c 61 67 73 28 48 47 4c 4f 42 41 4c balFlags(HGLOBAL 0630: 29 3b 0d 0a 20 56 4f 49 44 20 47 6c 6f 62 61 6c );.. VOID Global 0640: 55 6e 66 69 78 28 48 47 4c 4f 42 41 4c 29 3b 0d Unfix(HGLOBAL);. 0650: 0a 20 42 4f 4f 4c 20 47 6c 6f 62 61 6c 55 6e 57 . BOOL GlobalUnW 0660: 69 72 65 28 48 47 4c 4f 42 41 4c 29 3b 0d 0a 20 ire(HGLOBAL);.. 0670: 50 56 4f 49 44 20 47 6c 6f 62 61 6c 57 69 72 65 PVOID GlobalWire 0680: 28 48 47 4c 4f 42 41 4c 29 3b 0d 0a 20 53 49 5a (HGLOBAL);.. SIZ 0690: 45 5f 54 20 4c 6f 63 61 6c 43 6f 6d 70 61 63 74 E_T LocalCompact 06a0: 28 55 49 4e 54 29 3b 0d 0a 20 55 49 4e 54 20 4c (UINT);.. UINT L 06b0: 6f 63 61 6c 46 6c 61 67 73 28 48 4c 4f 43 41 4c ocalFlags(HLOCAL 06c0: 29 3b 0d 0a 20 53 49 5a 45 5f 54 20 4c 6f 63 61 );.. SIZE_T Loca 06d0: 6c 53 68 72 69 6e 6b 28 48 4c 4f 43 41 4c 2c 20 lShrink(HLOCAL, 06e0: 55 49 4e 54 29 3b 0d 0a 0d 0a 2f 2f 20 54 68 65 UINT);....// The 06f0: 73 65 20 61 72 65 20 6e 6f 74 20 72 65 71 75 69 se are not requi 0700: 72 65 64 20 66 6f 72 20 44 4d 44 2e 0d 0a 0d 0a red for DMD..... 0710: 2f 2f 46 49 58 4d 45 3a 0d 0a 2f 2f 20 23 69 66 //FIXME:..// #if 0720: 6e 64 65 66 20 55 4e 44 45 52 5f 43 45 0d 0a 09 ndef UNDER_CE... 0730: 69 6e 74 20 57 69 6e 4d 61 69 6e 28 48 49 4e 53 int WinMain(HINS 0740: 54 41 4e 43 45 2c 20 48 49 4e 53 54 41 4e 43 45 TANCE, HINSTANCE 0750: 2c 20 4c 50 53 54 52 2c 20 69 6e 74 29 3b 0d 0a , LPSTR, int);.. 0760: 23 65 6c 73 65 0d 0a 09 69 6e 74 20 57 69 6e 4d #else...int WinM 0770: 61 69 6e 28 48 49 4e 53 54 41 4e 43 45 2c 20 48 ain(HINSTANCE, H 0780: 49 4e 53 54 41 4e 43 45 2c 20 4c 50 57 53 54 52 INSTANCE, LPWSTR 0790: 2c 20 69 6e 74 29 3b 0d 0a 23 65 6e 64 69 66 0d , int);..#endif. 07a0: 0a 69 6e 74 20 77 57 69 6e 4d 61 69 6e 28 48 49 .int wWinMain(HI 07b0: 4e 53 54 41 4e 43 45 2c 20 48 49 4e 53 54 41 4e NSTANCE, HINSTAN 07c0: 43 45 2c 20 4c 50 57 53 54 52 2c 20 69 6e 74 29 CE, LPWSTR, int) 07d0: 3b 0d 0a 0d 0a 2a 2f 0d 0a 0d 0a 69 6d 70 6f 72 ;....*/....impor 07e0: 74 20 77 69 6e 33 32 2e 77 69 6e 64 65 66 2c 20 t win32.windef, 07f0: 77 69 6e 33 32 2e 77 69 6e 76 65 72 3b 0d 0a 70 win32.winver;..p 0800: 72 69 76 61 74 65 20 69 6d 70 6f 72 74 20 77 69 rivate import wi 0810: 6e 33 32 2e 62 61 73 65 74 79 70 73 2c 20 77 69 n32.basetyps, wi 0820: 6e 33 32 2e 77 33 32 61 70 69 2c 20 77 69 6e 33 n32.w32api, win3 0830: 32 2e 77 69 6e 6e 74 3b 0d 0a 0d 0a 2f 2f 20 46 2.winnt;....// F 0840: 49 58 4d 45 3a 0d 0a 61 6c 69 61 73 20 76 6f 69 IXME:..alias voi 0850: 64 20 76 61 5f 6c 69 73 74 3b 0d 0a 0d 0a 0d 0a d va_list;...... 0860: 2f 2b 0d 0a 2f 2f 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d /+..//---------- 0870: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ---------------- 0880: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 2f 2f ------------..// 0890: 20 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 These functions 08a0: 20 61 72 65 20 70 72 6f 62 6c 65 6d 61 74 69 63 are problematic 08b0: 0d 0a 0d 0a 76 65 72 73 69 6f 6e 28 55 73 65 4e ....version(UseN 08c0: 74 6f 53 4b 65 72 6e 65 6c 29 20 7b 7d 65 6c 73 toSKernel) {}els 08d0: 65 20 7b 0d 0a 09 2f 2a 20 43 41 52 45 46 55 4c e {.../* CAREFUL 08e0: 3a 20 54 68 65 73 65 20 61 72 65 20 65 78 70 6f : These are expo 08f0: 72 74 65 64 20 66 72 6f 6d 20 6e 74 6f 73 6b 72 rted from ntoskr 0900: 6e 6c 2e 65 78 65 20 61 6e 64 20 64 65 63 6c 61 nl.exe and decla 0910: 72 65 64 20 69 6e 20 77 69 6e 64 64 6b 2e 68 0d red in winddk.h. 0920: 0a 09 20 20 20 61 73 20 5f 5f 66 61 73 74 63 61 .. as __fastca 0930: 6c 6c 20 66 75 6e 63 74 69 6f 6e 73 2c 20 62 75 ll functions, bu 0940: 74 20 61 72 65 20 20 65 78 70 6f 72 74 65 64 20 t are exported 0950: 66 72 6f 6d 20 6b 65 72 6e 65 6c 33 32 2e 64 6c from kernel32.dl 0960: 6c 20 61 73 20 5f 5f 73 74 64 63 61 6c 6c 20 2a l as __stdcall * 0970: 2f 0d 0a 09 73 74 61 74 69 63 20 69 66 20 28 5f /...static if (_ 0980: 57 49 4e 33 32 5f 57 49 4e 4e 54 20 3e 3d 20 30 WIN32_WINNT >= 0 0990: 78 35 30 31 29 20 7b 0d 0a 09 20 56 4f 49 44 20 x501) {... VOID 09a0: 49 6e 69 74 69 61 6c 69 7a 65 53 4c 69 73 74 48 InitializeSListH 09b0: 65 61 64 28 50 53 4c 49 53 54 5f 48 45 41 44 45 ead(PSLIST_HEADE 09c0: 52 29 3b 0d 0a 09 7d 0d 0a 09 4c 4f 4e 47 20 49 R);...}...LONG I 09d0: 6e 74 65 72 6c 6f 63 6b 65 64 43 6f 6d 70 61 72 nterlockedCompar 09e0: 65 45 78 63 68 61 6e 67 65 28 4c 50 4c 4f 4e 47 eExchange(LPLONG 09f0: 2c 20 4c 4f 4e 47 2c 20 4c 4f 4e 47 29 3b 0d 0a , LONG, LONG);.. 0a00: 09 2f 2f 20 50 56 4f 49 44 20 57 49 4e 41 50 49 .// PVOID WINAPI 0a10: 20 49 6e 74 65 72 6c 6f 63 6b 65 64 43 6f 6d 70 InterlockedComp 0a20: 61 72 65 45 78 63 68 61 6e 67 65 50 6f 69 6e 74 areExchangePoint 0a30: 65 72 28 50 56 4f 49 44 2a 2c 20 50 56 4f 49 44 er(PVOID*, PVOID 0a40: 2c 20 50 56 4f 49 44 29 3b 0d 0a 09 28 50 56 4f , PVOID);...(PVO 0a50: 49 44 29 49 6e 74 65 72 6c 6f 63 6b 65 64 43 6f ID)InterlockedCo 0a60: 6d 70 61 72 65 45 78 63 68 61 6e 67 65 28 28 4c mpareExchange((L 0a70: 50 4c 4f 4e 47 29 28 64 29 20 20 20 20 28 50 56 PLONG)(d) (PV 0a80: 4f 49 44 29 49 6e 74 65 72 6c 6f 63 6b 65 64 43 OID)InterlockedC 0a90: 6f 6d 70 61 72 65 45 78 63 68 61 6e 67 65 28 28 ompareExchange(( 0aa0: 4c 50 4c 4f 4e 47 29 28 64 29 2c 20 28 4c 4f 4e LPLONG)(d), (LON 0ab0: 47 29 28 65 29 2c 20 28 4c 4f 4e 47 29 28 63 29 G)(e), (LONG)(c) 0ac0: 29 0d 0a 09 4c 4f 4e 47 20 49 6e 74 65 72 6c 6f )...LONG Interlo 0ad0: 63 6b 65 64 44 65 63 72 65 6d 65 6e 74 28 4c 50 ckedDecrement(LP 0ae0: 4c 4f 4e 47 29 3b 0d 0a 09 4c 4f 4e 47 20 49 6e LONG);...LONG In 0af0: 74 65 72 6c 6f 63 6b 65 64 45 78 63 68 61 6e 67 terlockedExchang 0b00: 65 28 4c 50 4c 4f 4e 47 2c 20 4c 4f 4e 47 29 3b e(LPLONG, LONG); 0b10: 0d 0a 09 2f 2f 20 50 56 4f 49 44 20 57 49 4e 41 ...// PVOID WINA 0b20: 50 49 20 49 6e 74 65 72 6c 6f 63 6b 65 64 45 78 PI InterlockedEx 0b30: 63 68 61 6e 67 65 50 6f 69 6e 74 65 72 28 50 56 changePointer(PV 0b40: 4f 49 44 2a 2c 20 50 56 4f 49 44 29 3b 0d 0a 09 OID*, PVOID);... 0b50: 28 50 56 4f 49 44 29 49 6e 74 65 72 6c 6f 63 6b (PVOID)Interlock 0b60: 65 64 45 78 63 68 61 6e 67 65 28 28 4c 50 4c 4f edExchange((LPLO 0b70: 4e 47 29 28 28 50 56 4f 49 44 29 49 6e 74 65 72 NG)((PVOID)Inter 0b80: 6c 6f 63 6b 65 64 45 78 63 68 61 6e 67 65 28 28 lockedExchange(( 0b90: 4c 50 4c 4f 4e 47 29 28 74 29 2c 20 28 4c 4f 4e LPLONG)(t), (LON 0ba0: 47 29 28 76 29 29 0d 0a 09 4c 4f 4e 47 20 49 6e G)(v))...LONG In 0bb0: 74 65 72 6c 6f 63 6b 65 64 45 78 63 68 61 6e 67 terlockedExchang 0bc0: 65 41 64 64 28 4c 50 4c 4f 4e 47 2c 20 4c 4f 4e eAdd(LPLONG, LON 0bd0: 47 29 3b 0d 0a 0d 0a 09 73 74 61 74 69 63 20 69 G);.....static i 0be0: 66 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 20 f (_WIN32_WINNT 0bf0: 3e 3d 20 30 78 35 30 31 29 20 7b 0d 0a 09 50 53 >= 0x501) {...PS 0c00: 4c 49 53 54 5f 45 4e 54 52 59 20 49 6e 74 65 72 LIST_ENTRY Inter 0c10: 6c 6f 63 6b 65 64 46 6c 75 73 68 53 4c 69 73 74 lockedFlushSList 0c20: 28 50 53 4c 49 53 54 5f 48 45 41 44 45 52 29 3b (PSLIST_HEADER); 0c30: 0d 0a 09 7d 0d 0a 09 4c 4f 4e 47 20 49 6e 74 65 ...}...LONG Inte 0c40: 72 6c 6f 63 6b 65 64 49 6e 63 72 65 6d 65 6e 74 rlockedIncrement 0c50: 28 4c 50 4c 4f 4e 47 29 3b 0d 0a 09 73 74 61 74 (LPLONG);...stat 0c60: 69 63 20 69 66 20 28 5f 57 49 4e 33 32 5f 57 49 ic if (_WIN32_WI 0c70: 4e 4e 54 20 3e 3d 20 30 78 35 30 31 29 20 7b 0d NNT >= 0x501) {. 0c80: 0a 09 50 53 4c 49 53 54 5f 45 4e 54 52 59 20 49 ..PSLIST_ENTRY I 0c90: 6e 74 65 72 6c 6f 63 6b 65 64 50 6f 70 45 6e 74 nterlockedPopEnt 0ca0: 72 79 53 4c 69 73 74 28 50 53 4c 49 53 54 5f 48 rySList(PSLIST_H 0cb0: 45 41 44 45 52 29 3b 0d 0a 09 50 53 4c 49 53 54 EADER);...PSLIST 0cc0: 5f 45 4e 54 52 59 20 49 6e 74 65 72 6c 6f 63 6b _ENTRY Interlock 0cd0: 65 64 50 75 73 68 45 6e 74 72 79 53 4c 69 73 74 edPushEntrySList 0ce0: 28 50 53 4c 49 53 54 5f 48 45 41 44 45 52 2c 20 (PSLIST_HEADER, 0cf0: 50 53 4c 49 53 54 5f 45 4e 54 52 59 29 3b 0d 0a PSLIST_ENTRY);.. 0d00: 09 7d 0d 0a 7d 20 2f 2f 20 23 65 6e 64 69 66 20 .}..} // #endif 0d10: 2f 2f 20 20 5f 5f 55 53 45 5f 4e 54 4f 53 4b 52 // __USE_NTOSKR 0d20: 4e 4c 5f 5f 0d 0a 2f 2f 2d 2d 2d 2d 2d 2d 2d 2d NL__..//-------- 0d30: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ---------------- 0d40: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a --------------.. 0d50: 2b 2f 0d 0a 0d 0a 2f 2f 20 43 4f 4d 4d 50 52 4f +/....// COMMPRO 0d60: 50 20 73 74 72 75 63 74 75 72 65 2c 20 75 73 65 P structure, use 0d70: 64 20 62 79 20 47 65 74 43 6f 6d 6d 50 72 6f 70 d by GetCommProp 0d80: 65 72 74 69 65 73 28 29 0d 0a 2f 2f 20 2d 2d 2d erties()..// --- 0d90: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ---------------- 0da0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ---------------- 0db0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 0d 0a ------------.... 0dc0: 2f 2f 20 43 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e // Communication 0dd0: 73 20 70 72 6f 76 69 64 65 72 20 74 79 70 65 0d s provider type. 0de0: 0a 65 6e 75 6d 20 3a 20 44 57 4f 52 44 20 7b 0d .enum : DWORD {. 0df0: 0a 09 50 53 54 5f 55 4e 53 50 45 43 49 46 49 45 ..PST_UNSPECIFIE 0e00: 44 2c 0d 0a 09 50 53 54 5f 52 53 32 33 32 2c 0d D,...PST_RS232,. 0e10: 0a 09 50 53 54 5f 50 41 52 41 4c 4c 45 4c 50 4f ..PST_PARALLELPO 0e20: 52 54 2c 0d 0a 09 50 53 54 5f 52 53 34 32 32 2c RT,...PST_RS422, 0e30: 0d 0a 09 50 53 54 5f 52 53 34 32 33 2c 0d 0a 09 ...PST_RS423,... 0e40: 50 53 54 5f 52 53 34 34 39 2c 0d 0a 09 50 53 54 PST_RS449,...PST 0e50: 5f 4d 4f 44 45 4d 2c 20 20 20 20 20 20 2f 2f 20 _MODEM, // 0e60: 3d 20 20 20 20 20 20 36 0d 0a 09 50 53 54 5f 46 = 6...PST_F 0e70: 41 58 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 AX = 0e80: 30 78 30 30 32 31 2c 0d 0a 09 50 53 54 5f 53 43 0x0021,...PST_SC 0e90: 41 4e 4e 45 52 20 20 20 20 20 20 20 20 3d 20 30 ANNER = 0 0ea0: 78 30 30 32 32 2c 0d 0a 09 50 53 54 5f 4e 45 54 x0022,...PST_NET 0eb0: 57 4f 52 4b 5f 42 52 49 44 47 45 20 3d 20 30 78 WORK_BRIDGE = 0x 0ec0: 30 31 30 30 2c 0d 0a 09 50 53 54 5f 4c 41 54 20 0100,...PST_LAT 0ed0: 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 = 0x0 0ee0: 31 30 31 2c 0d 0a 09 50 53 54 5f 54 43 50 49 50 101,...PST_TCPIP 0ef0: 5f 54 45 4c 4e 45 54 20 20 20 3d 20 30 78 30 31 _TELNET = 0x01 0f00: 30 32 2c 0d 0a 09 50 53 54 5f 58 32 35 20 20 20 02,...PST_X25 0f10: 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 31 30 = 0x010 0f20: 33 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 4d 61 78 20 62 3..}....// Max b 0f30: 61 75 64 20 72 61 74 65 0d 0a 65 6e 75 6d 20 3a aud rate..enum : 0f40: 20 44 57 4f 52 44 20 7b 0d 0a 09 42 41 55 44 5f DWORD {...BAUD_ 0f50: 30 37 35 20 20 20 20 3d 20 30 78 30 30 30 30 30 075 = 0x00000 0f60: 30 30 31 2c 0d 0a 09 42 41 55 44 5f 31 31 30 20 001,...BAUD_110 0f70: 20 20 20 3d 20 30 78 30 30 30 30 30 30 30 32 2c = 0x00000002, 0f80: 0d 0a 09 42 41 55 44 5f 31 33 34 5f 35 20 20 3d ...BAUD_134_5 = 0f90: 20 30 78 30 30 30 30 30 30 30 34 2c 0d 0a 09 42 0x00000004,...B 0fa0: 41 55 44 5f 31 35 30 20 20 20 20 3d 20 30 78 30 AUD_150 = 0x0 0fb0: 30 30 30 30 30 30 38 2c 0d 0a 09 42 41 55 44 5f 0000008,...BAUD_ 0fc0: 33 30 30 20 20 20 20 3d 20 30 78 30 30 30 30 30 300 = 0x00000 0fd0: 30 31 30 2c 0d 0a 09 42 41 55 44 5f 36 30 30 20 010,...BAUD_600 0fe0: 20 20 20 3d 20 30 78 30 30 30 30 30 30 32 30 2c = 0x00000020, 0ff0: 0d 0a 09 42 41 55 44 5f 31 32 30 30 20 20 20 3d ...BAUD_1200 = 1000: 20 30 78 30 30 30 30 30 30 34 30 2c 0d 0a 09 42 0x00000040,...B 1010: 41 55 44 5f 31 38 30 30 20 20 20 3d 20 30 78 30 AUD_1800 = 0x0 1020: 30 30 30 30 30 38 30 2c 0d 0a 09 42 41 55 44 5f 0000080,...BAUD_ 1030: 32 34 30 30 20 20 20 3d 20 30 78 30 30 30 30 30 2400 = 0x00000 1040: 31 30 30 2c 0d 0a 09 42 41 55 44 5f 34 38 30 30 100,...BAUD_4800 1050: 20 20 20 3d 20 30 78 30 30 30 30 30 32 30 30 2c = 0x00000200, 1060: 0d 0a 09 42 41 55 44 5f 37 32 30 30 20 20 20 3d ...BAUD_7200 = 1070: 20 30 78 30 30 30 30 30 34 30 30 2c 0d 0a 09 42 0x00000400,...B 1080: 41 55 44 5f 39 36 30 30 20 20 20 3d 20 30 78 30 AUD_9600 = 0x0 1090: 30 30 30 30 38 30 30 2c 0d 0a 09 42 41 55 44 5f 0000800,...BAUD_ 10a0: 31 34 34 30 30 20 20 3d 20 30 78 30 30 30 30 31 14400 = 0x00001 10b0: 30 30 30 2c 0d 0a 09 42 41 55 44 5f 31 39 32 30 000,...BAUD_1920 10c0: 30 20 20 3d 20 30 78 30 30 30 30 32 30 30 30 2c 0 = 0x00002000, 10d0: 0d 0a 09 42 41 55 44 5f 33 38 34 30 30 20 20 3d ...BAUD_38400 = 10e0: 20 30 78 30 30 30 30 34 30 30 30 2c 0d 0a 09 42 0x00004000,...B 10f0: 41 55 44 5f 35 36 4b 20 20 20 20 3d 20 30 78 30 AUD_56K = 0x0 1100: 30 30 30 38 30 30 30 2c 0d 0a 09 42 41 55 44 5f 0008000,...BAUD_ 1110: 31 32 38 4b 20 20 20 3d 20 30 78 30 30 30 31 30 128K = 0x00010 1120: 30 30 30 2c 0d 0a 09 42 41 55 44 5f 31 31 35 32 000,...BAUD_1152 1130: 30 30 20 3d 20 30 78 30 30 30 32 30 30 30 30 2c 00 = 0x00020000, 1140: 0d 0a 09 42 41 55 44 5f 35 37 36 30 30 20 20 3d ...BAUD_57600 = 1150: 20 30 78 30 30 30 34 30 30 30 30 2c 0d 0a 09 42 0x00040000,...B 1160: 41 55 44 5f 55 53 45 52 20 20 20 3d 20 30 78 31 AUD_USER = 0x1 1170: 30 30 30 30 30 30 30 0d 0a 7d 0d 0a 0d 0a 2f 2f 0000000..}....// 1180: 20 43 6f 6d 6d 20 63 61 70 61 62 69 6c 69 74 69 Comm capabiliti 1190: 65 73 0d 0a 65 6e 75 6d 20 3a 20 44 57 4f 52 44 es..enum : DWORD 11a0: 20 7b 0d 0a 09 50 43 46 5f 44 54 52 44 53 52 20 {...PCF_DTRDSR 11b0: 20 20 20 20 20 20 20 3d 20 30 78 30 30 30 31 2c = 0x0001, 11c0: 0d 0a 09 50 43 46 5f 52 54 53 43 54 53 20 20 20 ...PCF_RTSCTS 11d0: 20 20 20 20 20 3d 20 30 78 30 30 30 32 2c 0d 0a = 0x0002,.. 11e0: 09 50 43 46 5f 52 4c 53 44 20 20 20 20 20 20 20 .PCF_RLSD 11f0: 20 20 20 3d 20 30 78 30 30 30 34 2c 0d 0a 09 50 = 0x0004,...P 1200: 43 46 5f 50 41 52 49 54 59 5f 43 48 45 43 4b 20 CF_PARITY_CHECK 1210: 20 3d 20 30 78 30 30 30 38 2c 0d 0a 09 50 43 46 = 0x0008,...PCF 1220: 5f 58 4f 4e 58 4f 46 46 20 20 20 20 20 20 20 3d _XONXOFF = 1230: 20 30 78 30 30 31 30 2c 0d 0a 09 50 43 46 5f 53 0x0010,...PCF_S 1240: 45 54 58 43 48 41 52 20 20 20 20 20 20 3d 20 30 ETXCHAR = 0 1250: 78 30 30 32 30 2c 0d 0a 09 50 43 46 5f 54 4f 54 x0020,...PCF_TOT 1260: 41 4c 54 49 4d 45 4f 55 54 53 20 3d 20 30 78 30 ALTIMEOUTS = 0x0 1270: 30 34 30 2c 0d 0a 09 50 43 46 5f 49 4e 54 54 49 040,...PCF_INTTI 1280: 4d 45 4f 55 54 53 20 20 20 3d 20 30 78 30 30 38 MEOUTS = 0x008 1290: 30 2c 0d 0a 09 50 43 46 5f 53 50 45 43 49 41 4c 0,...PCF_SPECIAL 12a0: 43 48 41 52 53 20 20 3d 20 30 78 30 31 30 30 2c CHARS = 0x0100, 12b0: 0d 0a 09 50 43 46 5f 31 36 42 49 54 4d 4f 44 45 ...PCF_16BITMODE 12c0: 20 20 20 20 20 3d 20 30 78 30 32 30 30 0d 0a 7d = 0x0200..} 12d0: 0d 0a 0d 0a 65 6e 75 6d 20 20 3a 20 44 57 4f 52 ....enum : DWOR 12e0: 44 20 7b 0d 0a 09 53 50 5f 50 41 52 49 54 59 20 D {...SP_PARITY 12f0: 20 20 20 20 20 20 3d 20 31 2c 0d 0a 09 53 50 5f = 1,...SP_ 1300: 42 41 55 44 20 20 20 20 20 20 20 20 20 3d 20 32 BAUD = 2 1310: 2c 0d 0a 09 53 50 5f 44 41 54 41 42 49 54 53 20 ,...SP_DATABITS 1320: 20 20 20 20 3d 20 34 2c 0d 0a 09 53 50 5f 53 54 = 4,...SP_ST 1330: 4f 50 42 49 54 53 20 20 20 20 20 3d 20 38 2c 0d OPBITS = 8,. 1340: 0a 09 53 50 5f 48 41 4e 44 53 48 41 4b 49 4e 47 ..SP_HANDSHAKING 1350: 20 20 3d 20 31 36 2c 0d 0a 09 53 50 5f 50 41 52 = 16,...SP_PAR 1360: 49 54 59 5f 43 48 45 43 4b 20 3d 20 33 32 2c 0d ITY_CHECK = 32,. 1370: 0a 09 53 50 5f 52 4c 53 44 20 20 20 20 20 20 20 ..SP_RLSD 1380: 20 20 3d 20 36 34 0d 0a 7d 0d 0a 0d 0a 65 6e 75 = 64..}....enu 1390: 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 44 41 m : DWORD {...DA 13a0: 54 41 42 49 54 53 5f 35 20 20 20 3d 20 31 2c 0d TABITS_5 = 1,. 13b0: 0a 09 44 41 54 41 42 49 54 53 5f 36 20 20 20 3d ..DATABITS_6 = 13c0: 20 32 2c 0d 0a 09 44 41 54 41 42 49 54 53 5f 37 2,...DATABITS_7 13d0: 20 20 20 3d 20 34 2c 0d 0a 09 44 41 54 41 42 49 = 4,...DATABI 13e0: 54 53 5f 38 20 20 20 3d 20 38 2c 0d 0a 09 44 41 TS_8 = 8,...DA 13f0: 54 41 42 49 54 53 5f 31 36 20 20 3d 20 31 36 2c TABITS_16 = 16, 1400: 0d 0a 09 44 41 54 41 42 49 54 53 5f 31 36 58 20 ...DATABITS_16X 1410: 3d 20 33 32 0d 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 = 32..}....enum 1420: 3a 20 57 4f 52 44 20 7b 0d 0a 09 53 54 4f 50 42 : WORD {...STOPB 1430: 49 54 53 5f 31 30 20 20 3d 20 30 78 30 30 30 31 ITS_10 = 0x0001 1440: 2c 0d 0a 09 53 54 4f 50 42 49 54 53 5f 31 35 20 ,...STOPBITS_15 1450: 20 3d 20 30 78 30 30 30 32 2c 0d 0a 09 53 54 4f = 0x0002,...STO 1460: 50 42 49 54 53 5f 32 30 20 20 3d 20 30 78 30 30 PBITS_20 = 0x00 1470: 30 34 2c 0d 0a 09 50 41 52 49 54 59 5f 4e 4f 4e 04,...PARITY_NON 1480: 45 20 20 3d 20 30 78 30 31 30 30 2c 0d 0a 09 50 E = 0x0100,...P 1490: 41 52 49 54 59 5f 4f 44 44 20 20 20 3d 20 30 78 ARITY_ODD = 0x 14a0: 30 32 30 30 2c 0d 0a 09 50 41 52 49 54 59 5f 45 0200,...PARITY_E 14b0: 56 45 4e 20 20 3d 20 30 78 30 34 30 30 2c 0d 0a VEN = 0x0400,.. 14c0: 09 50 41 52 49 54 59 5f 4d 41 52 4b 20 20 3d 20 .PARITY_MARK = 14d0: 30 78 30 38 30 30 2c 0d 0a 09 50 41 52 49 54 59 0x0800,...PARITY 14e0: 5f 53 50 41 43 45 20 3d 20 30 78 31 30 30 30 0d _SPACE = 0x1000. 14f0: 0a 7d 0d 0a 0d 0a 2f 2f 20 75 73 65 64 20 62 79 .}....// used by 1500: 20 64 77 53 65 72 76 69 63 65 4d 61 73 6b 0d 0a dwServiceMask.. 1510: 65 6e 75 6d 20 53 50 5f 53 45 52 49 41 4c 43 4f enum SP_SERIALCO 1520: 4d 4d 20 3d 20 31 3b 0d 0a 0d 0a 73 74 72 75 63 MM = 1;....struc 1530: 74 20 43 4f 4d 4d 50 52 4f 50 20 7b 0d 0a 09 57 t COMMPROP {...W 1540: 4f 52 44 20 20 77 50 61 63 6b 65 74 4c 65 6e 67 ORD wPacketLeng 1550: 74 68 3b 0d 0a 09 57 4f 52 44 20 20 77 50 61 63 th;...WORD wPac 1560: 6b 65 74 56 65 72 73 69 6f 6e 3b 0d 0a 09 44 57 ketVersion;...DW 1570: 4f 52 44 20 64 77 53 65 72 76 69 63 65 4d 61 73 ORD dwServiceMas 1580: 6b 3b 0d 0a 09 44 57 4f 52 44 20 64 77 52 65 73 k;...DWORD dwRes 1590: 65 72 76 65 64 31 3b 0d 0a 09 44 57 4f 52 44 20 erved1;...DWORD 15a0: 64 77 4d 61 78 54 78 51 75 65 75 65 3b 0d 0a 09 dwMaxTxQueue;... 15b0: 44 57 4f 52 44 20 64 77 4d 61 78 52 78 51 75 65 DWORD dwMaxRxQue 15c0: 75 65 3b 0d 0a 09 44 57 4f 52 44 20 64 77 4d 61 ue;...DWORD dwMa 15d0: 78 42 61 75 64 3b 0d 0a 09 44 57 4f 52 44 20 64 xBaud;...DWORD d 15e0: 77 50 72 6f 76 53 75 62 54 79 70 65 3b 0d 0a 09 wProvSubType;... 15f0: 44 57 4f 52 44 20 64 77 50 72 6f 76 43 61 70 61 DWORD dwProvCapa 1600: 62 69 6c 69 74 69 65 73 3b 0d 0a 09 44 57 4f 52 bilities;...DWOR 1610: 44 20 64 77 53 65 74 74 61 62 6c 65 50 61 72 61 D dwSettablePara 1620: 6d 73 3b 0d 0a 09 44 57 4f 52 44 20 64 77 53 65 ms;...DWORD dwSe 1630: 74 74 61 62 6c 65 42 61 75 64 3b 0d 0a 09 57 4f ttableBaud;...WO 1640: 52 44 20 20 77 53 65 74 74 61 62 6c 65 44 61 74 RD wSettableDat 1650: 61 3b 0d 0a 09 57 4f 52 44 20 20 77 53 65 74 74 a;...WORD wSett 1660: 61 62 6c 65 53 74 6f 70 50 61 72 69 74 79 3b 0d ableStopParity;. 1670: 0a 09 44 57 4f 52 44 20 64 77 43 75 72 72 65 6e ..DWORD dwCurren 1680: 74 54 78 51 75 65 75 65 3b 0d 0a 09 44 57 4f 52 tTxQueue;...DWOR 1690: 44 20 64 77 43 75 72 72 65 6e 74 52 78 51 75 65 D dwCurrentRxQue 16a0: 75 65 3b 0d 0a 09 44 57 4f 52 44 20 64 77 50 72 ue;...DWORD dwPr 16b0: 6f 76 53 70 65 63 31 3b 0d 0a 09 44 57 4f 52 44 ovSpec1;...DWORD 16c0: 20 64 77 50 72 6f 76 53 70 65 63 32 3b 0d 0a 09 dwProvSpec2;... 16d0: 57 43 48 41 52 20 5f 77 63 50 72 6f 76 43 68 61 WCHAR _wcProvCha 16e0: 72 3b 0d 0a 0d 0a 09 57 43 48 41 52 2a 20 77 63 r;.....WCHAR* wc 16f0: 50 72 6f 76 43 68 61 72 28 29 20 7b 20 72 65 74 ProvChar() { ret 1700: 75 72 6e 20 26 5f 77 63 50 72 6f 76 43 68 61 72 urn &_wcProvChar 1710: 3b 20 7d 0d 0a 7d 0d 0a 61 6c 69 61 73 20 43 4f ; }..}..alias CO 1720: 4d 4d 50 52 4f 50 2a 20 4c 50 43 4f 4d 4d 50 52 MMPROP* LPCOMMPR 1730: 4f 50 3b 0d 0a 0d 0a 2f 2f 20 2d 2d 2d 2d 2d 2d OP;....// ------ 1740: 2d 2d 2d 2d 0d 0a 0d 0a 2f 2f 20 66 6f 72 20 44 ----....// for D 1750: 45 42 55 47 5f 45 56 45 4e 54 0d 0a 65 6e 75 6d EBUG_EVENT..enum 1760: 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 45 58 43 : DWORD {...EXC 1770: 45 50 54 49 4f 4e 5f 44 45 42 55 47 5f 45 56 45 EPTION_DEBUG_EVE 1780: 4e 54 20 3d 20 31 2c 0d 0a 09 43 52 45 41 54 45 NT = 1,...CREATE 1790: 5f 54 48 52 45 41 44 5f 44 45 42 55 47 5f 45 56 _THREAD_DEBUG_EV 17a0: 45 4e 54 2c 0d 0a 09 43 52 45 41 54 45 5f 50 52 ENT,...CREATE_PR 17b0: 4f 43 45 53 53 5f 44 45 42 55 47 5f 45 56 45 4e OCESS_DEBUG_EVEN 17c0: 54 2c 0d 0a 09 45 58 49 54 5f 54 48 52 45 41 44 T,...EXIT_THREAD 17d0: 5f 44 45 42 55 47 5f 45 56 45 4e 54 2c 0d 0a 09 _DEBUG_EVENT,... 17e0: 45 58 49 54 5f 50 52 4f 43 45 53 53 5f 44 45 42 EXIT_PROCESS_DEB 17f0: 55 47 5f 45 56 45 4e 54 2c 0d 0a 09 4c 4f 41 44 UG_EVENT,...LOAD 1800: 5f 44 4c 4c 5f 44 45 42 55 47 5f 45 56 45 4e 54 _DLL_DEBUG_EVENT 1810: 2c 0d 0a 09 55 4e 4c 4f 41 44 5f 44 4c 4c 5f 44 ,...UNLOAD_DLL_D 1820: 45 42 55 47 5f 45 56 45 4e 54 2c 0d 0a 09 4f 55 EBUG_EVENT,...OU 1830: 54 50 55 54 5f 44 45 42 55 47 5f 53 54 52 49 4e TPUT_DEBUG_STRIN 1840: 47 5f 45 56 45 4e 54 2c 0d 0a 09 52 49 50 5f 45 G_EVENT,...RIP_E 1850: 56 45 4e 54 0d 0a 7d 0d 0a 0d 0a 63 6f 6e 73 74 VENT..}....const 1860: 20 48 46 49 4c 45 20 48 46 49 4c 45 5f 45 52 52 HFILE HFILE_ERR 1870: 4f 52 20 3d 20 63 61 73 74 28 48 46 49 4c 45 29 OR = cast(HFILE) 1880: 20 28 2d 31 29 3b 0d 0a 0d 0a 2f 2f 20 66 6f 72 (-1);....// for 1890: 20 53 65 74 46 69 6c 65 50 6f 69 6e 74 65 72 28 SetFilePointer( 18a0: 29 0d 0a 65 6e 75 6d 20 3a 20 44 57 4f 52 44 20 )..enum : DWORD 18b0: 7b 0d 0a 09 46 49 4c 45 5f 42 45 47 49 4e 20 20 {...FILE_BEGIN 18c0: 20 3d 20 30 2c 0d 0a 09 46 49 4c 45 5f 43 55 52 = 0,...FILE_CUR 18d0: 52 45 4e 54 20 3d 20 31 2c 0d 0a 09 46 49 4c 45 RENT = 1,...FILE 18e0: 5f 45 4e 44 20 20 20 20 20 3d 20 32 0d 0a 7d 0d _END = 2..}. 18f0: 0a 63 6f 6e 73 74 20 44 57 4f 52 44 20 49 4e 56 .const DWORD INV 1900: 41 4c 49 44 5f 53 45 54 5f 46 49 4c 45 5f 50 4f ALID_SET_FILE_PO 1910: 49 4e 54 45 52 20 3d 20 2d 31 3b 0d 0a 0d 0a 0d INTER = -1;..... 1920: 0a 2f 2f 20 66 6f 72 20 4f 70 65 6e 46 69 6c 65 .// for OpenFile 1930: 28 29 0d 0a 64 65 70 72 65 63 61 74 65 64 20 65 ()..deprecated e 1940: 6e 75 6d 20 3a 20 55 49 4e 54 20 7b 0d 0a 09 4f num : UINT {...O 1950: 46 5f 52 45 41 44 20 20 20 20 20 20 20 20 20 20 F_READ 1960: 20 20 20 3d 20 30 2c 0d 0a 09 4f 46 5f 57 52 49 = 0,...OF_WRI 1970: 54 45 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 TE = 1980: 30 78 30 30 30 31 2c 0d 0a 09 4f 46 5f 52 45 41 0x0001,...OF_REA 1990: 44 57 52 49 54 45 20 20 20 20 20 20 20 20 3d 20 DWRITE = 19a0: 30 78 30 30 30 32 2c 0d 0a 09 4f 46 5f 53 48 41 0x0002,...OF_SHA 19b0: 52 45 5f 43 4f 4d 50 41 54 20 20 20 20 20 3d 20 RE_COMPAT = 19c0: 30 2c 0d 0a 09 4f 46 5f 53 48 41 52 45 5f 45 58 0,...OF_SHARE_EX 19d0: 43 4c 55 53 49 56 45 20 20 3d 20 30 78 30 30 31 CLUSIVE = 0x001 19e0: 30 2c 0d 0a 09 4f 46 5f 53 48 41 52 45 5f 44 45 0,...OF_SHARE_DE 19f0: 4e 59 5f 57 52 49 54 45 20 3d 20 30 78 30 30 32 NY_WRITE = 0x002 1a00: 30 2c 0d 0a 09 4f 46 5f 53 48 41 52 45 5f 44 45 0,...OF_SHARE_DE 1a10: 4e 59 5f 52 45 41 44 20 20 3d 20 30 78 30 30 33 NY_READ = 0x003 1a20: 30 2c 0d 0a 09 4f 46 5f 53 48 41 52 45 5f 44 45 0,...OF_SHARE_DE 1a30: 4e 59 5f 4e 4f 4e 45 20 20 3d 20 30 78 30 30 34 NY_NONE = 0x004 1a40: 30 2c 0d 0a 09 4f 46 5f 50 41 52 53 45 20 20 20 0,...OF_PARSE 1a50: 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 31 30 = 0x010 1a60: 30 2c 0d 0a 09 4f 46 5f 44 45 4c 45 54 45 20 20 0,...OF_DELETE 1a70: 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 32 30 = 0x020 1a80: 30 2c 0d 0a 09 4f 46 5f 56 45 52 49 46 59 20 20 0,...OF_VERIFY 1a90: 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 34 30 = 0x040 1aa0: 30 2c 0d 0a 09 4f 46 5f 43 41 4e 43 45 4c 20 20 0,...OF_CANCEL 1ab0: 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 38 30 = 0x080 1ac0: 30 2c 0d 0a 09 4f 46 5f 43 52 45 41 54 45 20 20 0,...OF_CREATE 1ad0: 20 20 20 20 20 20 20 20 20 3d 20 30 78 31 30 30 = 0x100 1ae0: 30 2c 0d 0a 09 4f 46 5f 50 52 4f 4d 50 54 20 20 0,...OF_PROMPT 1af0: 20 20 20 20 20 20 20 20 20 3d 20 30 78 32 30 30 = 0x200 1b00: 30 2c 0d 0a 09 4f 46 5f 45 58 49 53 54 20 20 20 0,...OF_EXIST 1b10: 20 20 20 20 20 20 20 20 20 3d 20 30 78 34 30 30 = 0x400 1b20: 30 2c 0d 0a 09 4f 46 5f 52 45 4f 50 45 4e 20 20 0,...OF_REOPEN 1b30: 20 20 20 20 20 20 20 20 20 3d 20 30 78 38 30 30 = 0x800 1b40: 30 0d 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 44 0..}....enum : D 1b50: 57 4f 52 44 20 7b 0d 0a 09 4e 4d 50 57 41 49 54 WORD {...NMPWAIT 1b60: 5f 4e 4f 57 41 49 54 20 20 20 20 20 20 20 20 20 _NOWAIT 1b70: 20 20 3d 20 20 31 2c 0d 0a 09 4e 4d 50 57 41 49 = 1,...NMPWAI 1b80: 54 5f 57 41 49 54 5f 46 4f 52 45 56 45 52 20 20 T_WAIT_FOREVER 1b90: 20 20 20 3d 20 2d 31 2c 0d 0a 09 4e 4d 50 57 41 = -1,...NMPWA 1ba0: 49 54 5f 55 53 45 5f 44 45 46 41 55 4c 54 5f 57 IT_USE_DEFAULT_W 1bb0: 41 49 54 20 3d 20 20 30 0d 0a 7d 0d 0a 0d 0a 2f AIT = 0..}..../ 1bc0: 2f 20 66 6f 72 20 43 6c 65 61 72 43 6f 6d 6d 45 / for ClearCommE 1bd0: 72 72 6f 72 28 29 0d 0a 63 6f 6e 73 74 20 44 57 rror()..const DW 1be0: 4f 52 44 0d 0a 09 43 45 5f 52 58 4f 56 45 52 20 ORD...CE_RXOVER 1bf0: 20 20 3d 20 30 78 30 30 30 31 2c 0d 0a 09 43 45 = 0x0001,...CE 1c00: 5f 4f 56 45 52 52 55 4e 20 20 3d 20 30 78 30 30 _OVERRUN = 0x00 1c10: 30 32 2c 0d 0a 09 43 45 5f 52 58 50 41 52 49 54 02,...CE_RXPARIT 1c20: 59 20 3d 20 30 78 30 30 30 34 2c 0d 0a 09 43 45 Y = 0x0004,...CE 1c30: 5f 46 52 41 4d 45 20 20 20 20 3d 20 30 78 30 30 _FRAME = 0x00 1c40: 30 38 2c 0d 0a 09 43 45 5f 42 52 45 41 4b 20 20 08,...CE_BREAK 1c50: 20 20 3d 20 30 78 30 30 31 30 2c 0d 0a 09 43 45 = 0x0010,...CE 1c60: 5f 54 58 46 55 4c 4c 20 20 20 3d 20 30 78 30 31 _TXFULL = 0x01 1c70: 30 30 2c 0d 0a 09 43 45 5f 50 54 4f 20 20 20 20 00,...CE_PTO 1c80: 20 20 3d 20 30 78 30 32 30 30 2c 0d 0a 09 43 45 = 0x0200,...CE 1c90: 5f 49 4f 45 20 20 20 20 20 20 3d 20 30 78 30 34 _IOE = 0x04 1ca0: 30 30 2c 0d 0a 09 43 45 5f 44 4e 53 20 20 20 20 00,...CE_DNS 1cb0: 20 20 3d 20 30 78 30 38 30 30 2c 0d 0a 09 43 45 = 0x0800,...CE 1cc0: 5f 4f 4f 50 20 20 20 20 20 20 3d 20 30 78 31 30 _OOP = 0x10 1cd0: 30 30 2c 0d 0a 09 43 45 5f 4d 4f 44 45 20 20 20 00,...CE_MODE 1ce0: 20 20 3d 20 30 78 38 30 30 30 3b 0d 0a 0d 0a 2f = 0x8000;..../ 1cf0: 2f 20 66 6f 72 20 43 6f 70 79 50 72 6f 67 72 65 / for CopyProgre 1d00: 73 73 52 6f 75 74 69 6e 65 20 63 61 6c 6c 62 61 ssRoutine callba 1d10: 63 6b 2e 0d 0a 65 6e 75 6d 20 3a 20 44 57 4f 52 ck...enum : DWOR 1d20: 44 20 7b 0d 0a 09 50 52 4f 47 52 45 53 53 5f 43 D {...PROGRESS_C 1d30: 4f 4e 54 49 4e 55 45 20 3d 20 30 2c 0d 0a 09 50 ONTINUE = 0,...P 1d40: 52 4f 47 52 45 53 53 5f 43 41 4e 43 45 4c 20 20 ROGRESS_CANCEL 1d50: 20 3d 20 31 2c 0d 0a 09 50 52 4f 47 52 45 53 53 = 1,...PROGRESS 1d60: 5f 53 54 4f 50 20 20 20 20 20 3d 20 32 2c 0d 0a _STOP = 2,.. 1d70: 09 50 52 4f 47 52 45 53 53 5f 51 55 49 45 54 20 .PROGRESS_QUIET 1d80: 20 20 20 3d 20 33 0d 0a 7d 0d 0a 0d 0a 65 6e 75 = 3..}....enu 1d90: 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 43 41 m : DWORD {...CA 1da0: 4c 4c 42 41 43 4b 5f 43 48 55 4e 4b 5f 46 49 4e LLBACK_CHUNK_FIN 1db0: 49 53 48 45 44 20 3d 20 30 2c 0d 0a 09 43 41 4c ISHED = 0,...CAL 1dc0: 4c 42 41 43 4b 5f 53 54 52 45 41 4d 5f 53 57 49 LBACK_STREAM_SWI 1dd0: 54 43 48 20 20 3d 20 31 0d 0a 7d 0d 0a 0d 0a 2f TCH = 1..}..../ 1de0: 2f 20 43 6f 70 79 46 69 6c 65 45 78 28 29 0d 0a / CopyFileEx().. 1df0: 65 6e 75 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a enum : DWORD {.. 1e00: 09 43 4f 50 59 5f 46 49 4c 45 5f 46 41 49 4c 5f .COPY_FILE_FAIL_ 1e10: 49 46 5f 45 58 49 53 54 53 20 3d 20 31 2c 0d 0a IF_EXISTS = 1,.. 1e20: 09 43 4f 50 59 5f 46 49 4c 45 5f 52 45 53 54 41 .COPY_FILE_RESTA 1e30: 52 54 41 42 4c 45 20 20 20 20 3d 20 32 0d 0a 7d RTABLE = 2..} 1e40: 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 44 57 4f 52 44 ....enum : DWORD 1e50: 20 7b 0d 0a 09 46 49 4c 45 5f 4d 41 50 5f 43 4f {...FILE_MAP_CO 1e60: 50 59 20 20 20 20 20 20 20 3d 20 31 2c 0d 0a 09 PY = 1,... 1e70: 46 49 4c 45 5f 4d 41 50 5f 57 52 49 54 45 20 20 FILE_MAP_WRITE 1e80: 20 20 20 20 3d 20 32 2c 0d 0a 09 46 49 4c 45 5f = 2,...FILE_ 1e90: 4d 41 50 5f 52 45 41 44 20 20 20 20 20 20 20 3d MAP_READ = 1ea0: 20 34 2c 0d 0a 09 46 49 4c 45 5f 4d 41 50 5f 41 4,...FILE_MAP_A 1eb0: 4c 4c 5f 41 43 43 45 53 53 20 3d 20 30 78 30 30 LL_ACCESS = 0x00 1ec0: 30 46 30 30 31 46 0d 0a 7d 0d 0a 0d 0a 65 6e 75 0F001F..}....enu 1ed0: 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 4d 55 m : DWORD {...MU 1ee0: 54 45 58 5f 41 4c 4c 5f 41 43 43 45 53 53 20 20 TEX_ALL_ACCESS 1ef0: 20 20 20 20 20 3d 20 30 78 30 30 31 66 30 30 30 = 0x001f000 1f00: 31 2c 0d 0a 09 4d 55 54 45 58 5f 4d 4f 44 49 46 1,...MUTEX_MODIF 1f10: 59 5f 53 54 41 54 45 20 20 20 20 20 3d 20 30 78 Y_STATE = 0x 1f20: 30 30 30 30 30 30 30 31 2c 0d 0a 09 53 45 4d 41 00000001,...SEMA 1f30: 50 48 4f 52 45 5f 41 4c 4c 5f 41 43 43 45 53 53 PHORE_ALL_ACCESS 1f40: 20 20 20 3d 20 30 78 30 30 31 66 30 30 30 33 2c = 0x001f0003, 1f50: 0d 0a 09 53 45 4d 41 50 48 4f 52 45 5f 4d 4f 44 ...SEMAPHORE_MOD 1f60: 49 46 59 5f 53 54 41 54 45 20 3d 20 30 78 30 30 IFY_STATE = 0x00 1f70: 30 30 30 30 30 32 2c 0d 0a 09 45 56 45 4e 54 5f 000002,...EVENT_ 1f80: 41 4c 4c 5f 41 43 43 45 53 53 20 20 20 20 20 20 ALL_ACCESS 1f90: 20 3d 20 30 78 30 30 31 66 30 30 30 33 2c 0d 0a = 0x001f0003,.. 1fa0: 09 45 56 45 4e 54 5f 4d 4f 44 49 46 59 5f 53 54 .EVENT_MODIFY_ST 1fb0: 41 54 45 20 20 20 20 20 3d 20 30 78 30 30 30 30 ATE = 0x0000 1fc0: 30 30 30 32 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 43 72 0002..}....// Cr 1fd0: 65 61 74 65 4e 61 6d 65 64 50 69 70 65 28 29 0d eateNamedPipe(). 1fe0: 0a 65 6e 75 6d 20 3a 20 44 57 4f 52 44 20 7b 0d .enum : DWORD {. 1ff0: 0a 09 50 49 50 45 5f 41 43 43 45 53 53 5f 49 4e ..PIPE_ACCESS_IN 2000: 42 4f 55 4e 44 20 20 3d 20 31 2c 0d 0a 09 50 49 BOUND = 1,...PI 2010: 50 45 5f 41 43 43 45 53 53 5f 4f 55 54 42 4f 55 PE_ACCESS_OUTBOU 2020: 4e 44 20 3d 20 32 2c 0d 0a 09 50 49 50 45 5f 41 ND = 2,...PIPE_A 2030: 43 43 45 53 53 5f 44 55 50 4c 45 58 20 20 20 3d CCESS_DUPLEX = 2040: 20 33 0d 0a 7d 0d 0a 0d 0a 63 6f 6e 73 74 20 44 3..}....const D 2050: 57 4f 52 44 0d 0a 09 50 49 50 45 5f 54 59 50 45 WORD...PIPE_TYPE 2060: 5f 42 59 54 45 20 20 20 20 20 20 20 20 3d 20 30 _BYTE = 0 2070: 2c 0d 0a 09 50 49 50 45 5f 54 59 50 45 5f 4d 45 ,...PIPE_TYPE_ME 2080: 53 53 41 47 45 20 20 20 20 20 3d 20 34 2c 0d 0a SSAGE = 4,.. 2090: 09 50 49 50 45 5f 52 45 41 44 4d 4f 44 45 5f 42 .PIPE_READMODE_B 20a0: 59 54 45 20 20 20 20 3d 20 30 2c 0d 0a 09 50 49 YTE = 0,...PI 20b0: 50 45 5f 52 45 41 44 4d 4f 44 45 5f 4d 45 53 53 PE_READMODE_MESS 20c0: 41 47 45 20 3d 20 32 2c 0d 0a 09 50 49 50 45 5f AGE = 2,...PIPE_ 20d0: 57 41 49 54 20 20 20 20 20 20 20 20 20 20 20 20 WAIT 20e0: 20 3d 20 30 2c 0d 0a 09 50 49 50 45 5f 4e 4f 57 = 0,...PIPE_NOW 20f0: 41 49 54 20 20 20 20 20 20 20 20 20 20 20 3d 20 AIT = 2100: 31 3b 0d 0a 0d 0a 2f 2f 20 47 65 74 4e 61 6d 65 1;....// GetName 2110: 64 50 69 70 65 49 6e 66 6f 28 29 0d 0a 63 6f 6e dPipeInfo()..con 2120: 73 74 20 44 57 4f 52 44 0d 0a 09 50 49 50 45 5f st DWORD...PIPE_ 2130: 43 4c 49 45 4e 54 5f 45 4e 44 20 20 3d 20 30 2c CLIENT_END = 0, 2140: 0d 0a 09 50 49 50 45 5f 53 45 52 56 45 52 5f 45 ...PIPE_SERVER_E 2150: 4e 44 20 20 3d 20 31 3b 0d 0a 0d 0a 63 6f 6e 73 ND = 1;....cons 2160: 74 20 44 57 4f 52 44 20 50 49 50 45 5f 55 4e 4c t DWORD PIPE_UNL 2170: 49 4d 49 54 45 44 5f 49 4e 53 54 41 4e 43 45 53 IMITED_INSTANCES 2180: 20 3d 20 32 35 35 3b 0d 0a 0d 0a 2f 2f 20 64 77 = 255;....// dw 2190: 43 72 65 61 74 69 6f 6e 46 6c 61 67 73 20 66 6f CreationFlags fo 21a0: 72 20 43 72 65 61 74 65 50 72 6f 63 65 73 73 28 r CreateProcess( 21b0: 29 20 61 6e 64 20 43 72 65 61 74 65 50 72 6f 63 ) and CreateProc 21c0: 65 73 73 41 73 55 73 65 72 28 29 0d 0a 65 6e 75 essAsUser()..enu 21d0: 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 44 45 m : DWORD {...DE 21e0: 42 55 47 5f 50 52 4f 43 45 53 53 20 20 20 20 20 BUG_PROCESS 21f0: 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 30 = 0x00 2200: 30 30 30 30 30 31 2c 0d 0a 09 44 45 42 55 47 5f 000001,...DEBUG_ 2210: 4f 4e 4c 59 5f 54 48 49 53 5f 50 52 4f 43 45 53 ONLY_THIS_PROCES 2220: 53 20 20 20 20 20 3d 20 30 78 30 30 30 30 30 30 S = 0x000000 2230: 30 32 2c 0d 0a 09 43 52 45 41 54 45 5f 53 55 53 02,...CREATE_SUS 2240: 50 45 4e 44 45 44 20 20 20 20 20 20 20 20 20 20 PENDED 2250: 20 20 3d 20 30 78 30 30 30 30 30 30 30 34 2c 0d = 0x00000004,. 2260: 0a 09 44 45 54 41 43 48 45 44 5f 50 52 4f 43 45 ..DETACHED_PROCE 2270: 53 53 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 SS = 2280: 30 78 30 30 30 30 30 30 30 38 2c 0d 0a 09 43 52 0x00000008,...CR 2290: 45 41 54 45 5f 4e 45 57 5f 43 4f 4e 53 4f 4c 45 EATE_NEW_CONSOLE 22a0: 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 30 = 0x00 22b0: 30 30 30 30 31 30 2c 0d 0a 09 4e 4f 52 4d 41 4c 000010,...NORMAL 22c0: 5f 50 52 49 4f 52 49 54 59 5f 43 4c 41 53 53 20 _PRIORITY_CLASS 22d0: 20 20 20 20 20 20 3d 20 30 78 30 30 30 30 30 30 = 0x000000 22e0: 32 30 2c 0d 0a 09 49 44 4c 45 5f 50 52 49 4f 52 20,...IDLE_PRIOR 22f0: 49 54 59 5f 43 4c 41 53 53 20 20 20 20 20 20 20 ITY_CLASS 2300: 20 20 3d 20 30 78 30 30 30 30 30 30 34 30 2c 0d = 0x00000040,. 2310: 0a 09 48 49 47 48 5f 50 52 49 4f 52 49 54 59 5f ..HIGH_PRIORITY_ 2320: 43 4c 41 53 53 20 20 20 20 20 20 20 20 20 3d 20 CLASS = 2330: 30 78 30 30 30 30 30 30 38 30 2c 0d 0a 09 52 45 0x00000080,...RE 2340: 41 4c 54 49 4d 45 5f 50 52 49 4f 52 49 54 59 5f ALTIME_PRIORITY_ 2350: 43 4c 41 53 53 20 20 20 20 20 3d 20 30 78 30 30 CLASS = 0x00 2360: 30 30 30 31 30 30 2c 0d 0a 09 43 52 45 41 54 45 000100,...CREATE 2370: 5f 4e 45 57 5f 50 52 4f 43 45 53 53 5f 47 52 4f _NEW_PROCESS_GRO 2380: 55 50 20 20 20 20 3d 20 30 78 30 30 30 30 30 32 UP = 0x000002 2390: 30 30 2c 0d 0a 09 43 52 45 41 54 45 5f 55 4e 49 00,...CREATE_UNI 23a0: 43 4f 44 45 5f 45 4e 56 49 52 4f 4e 4d 45 4e 54 CODE_ENVIRONMENT 23b0: 20 20 3d 20 30 78 30 30 30 30 30 34 30 30 2c 0d = 0x00000400,. 23c0: 0a 09 43 52 45 41 54 45 5f 53 45 50 41 52 41 54 ..CREATE_SEPARAT 23d0: 45 5f 57 4f 57 5f 56 44 4d 20 20 20 20 20 3d 20 E_WOW_VDM = 23e0: 30 78 30 30 30 30 30 38 30 30 2c 0d 0a 09 43 52 0x00000800,...CR 23f0: 45 41 54 45 5f 53 48 41 52 45 44 5f 57 4f 57 5f EATE_SHARED_WOW_ 2400: 56 44 4d 20 20 20 20 20 20 20 3d 20 30 78 30 30 VDM = 0x00 2410: 30 30 31 30 30 30 2c 0d 0a 09 43 52 45 41 54 45 001000,...CREATE 2420: 5f 46 4f 52 43 45 44 4f 53 20 20 20 20 20 20 20 _FORCEDOS 2430: 20 20 20 20 20 20 3d 20 30 78 30 30 30 30 32 30 = 0x000020 2440: 30 30 2c 0d 0a 09 42 45 4c 4f 57 5f 4e 4f 52 4d 00,...BELOW_NORM 2450: 41 4c 5f 50 52 49 4f 52 49 54 59 5f 43 4c 41 53 AL_PRIORITY_CLAS 2460: 53 20 3d 20 30 78 30 30 30 30 34 30 30 30 2c 0d S = 0x00004000,. 2470: 0a 09 41 42 4f 56 45 5f 4e 4f 52 4d 41 4c 5f 50 ..ABOVE_NORMAL_P 2480: 52 49 4f 52 49 54 59 5f 43 4c 41 53 53 20 3d 20 RIORITY_CLASS = 2490: 30 78 30 30 30 30 38 30 30 30 2c 0d 0a 09 43 52 0x00008000,...CR 24a0: 45 41 54 45 5f 42 52 45 41 4b 41 57 41 59 5f 46 EATE_BREAKAWAY_F 24b0: 52 4f 4d 5f 4a 4f 42 20 20 20 3d 20 30 78 30 31 ROM_JOB = 0x01 24c0: 30 30 30 30 30 30 2c 0d 0a 09 43 52 45 41 54 45 000000,...CREATE 24d0: 5f 57 49 54 48 5f 55 53 45 52 50 52 4f 46 49 4c _WITH_USERPROFIL 24e0: 45 20 20 20 20 20 3d 20 30 78 30 32 30 30 30 30 E = 0x020000 24f0: 30 30 2c 0d 0a 09 43 52 45 41 54 45 5f 44 45 46 00,...CREATE_DEF 2500: 41 55 4c 54 5f 45 52 52 4f 52 5f 4d 4f 44 45 20 AULT_ERROR_MODE 2510: 20 20 3d 20 30 78 30 34 30 30 30 30 30 30 2c 0d = 0x04000000,. 2520: 0a 09 43 52 45 41 54 45 5f 4e 4f 5f 57 49 4e 44 ..CREATE_NO_WIND 2530: 4f 57 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 OW = 2540: 30 78 30 38 30 30 30 30 30 30 2c 0d 0a 09 50 52 0x08000000,...PR 2550: 4f 46 49 4c 45 5f 55 53 45 52 20 20 20 20 20 20 OFILE_USER 2560: 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 31 30 = 0x10 2570: 30 30 30 30 30 30 2c 0d 0a 09 50 52 4f 46 49 4c 000000,...PROFIL 2580: 45 5f 4b 45 52 4e 45 4c 20 20 20 20 20 20 20 20 E_KERNEL 2590: 20 20 20 20 20 20 3d 20 30 78 32 30 30 30 30 30 = 0x200000 25a0: 30 30 2c 0d 0a 09 50 52 4f 46 49 4c 45 5f 53 45 00,...PROFILE_SE 25b0: 52 56 45 52 20 20 20 20 20 20 20 20 20 20 20 20 RVER 25c0: 20 20 3d 20 30 78 34 30 30 30 30 30 30 30 0d 0a = 0x40000000.. 25d0: 7d 0d 0a 0d 0a 63 6f 6e 73 74 20 44 57 4f 52 44 }....const DWORD 25e0: 20 43 4f 4e 53 4f 4c 45 5f 54 45 58 54 4d 4f 44 CONSOLE_TEXTMOD 25f0: 45 5f 42 55 46 46 45 52 20 3d 20 31 3b 0d 0a 0d E_BUFFER = 1;... 2600: 0a 2f 2f 20 43 72 65 61 74 65 46 69 6c 65 28 29 .// CreateFile() 2610: 0d 0a 65 6e 75 6d 20 3a 20 44 57 4f 52 44 20 7b ..enum : DWORD { 2620: 0d 0a 09 43 52 45 41 54 45 5f 4e 45 57 20 3d 20 ...CREATE_NEW = 2630: 31 2c 0d 0a 09 43 52 45 41 54 45 5f 41 4c 57 41 1,...CREATE_ALWA 2640: 59 53 2c 0d 0a 09 4f 50 45 4e 5f 45 58 49 53 54 YS,...OPEN_EXIST 2650: 49 4e 47 2c 0d 0a 09 4f 50 45 4e 5f 41 4c 57 41 ING,...OPEN_ALWA 2660: 59 53 2c 0d 0a 09 54 52 55 4e 43 41 54 45 5f 45 YS,...TRUNCATE_E 2670: 58 49 53 54 49 4e 47 0d 0a 7d 0d 0a 0d 0a 2f 2f XISTING..}....// 2680: 20 43 72 65 61 74 65 46 69 6c 65 28 29 0d 0a 63 CreateFile()..c 2690: 6f 6e 73 74 20 44 57 4f 52 44 0d 0a 09 46 49 4c onst DWORD...FIL 26a0: 45 5f 46 4c 41 47 5f 57 52 49 54 45 5f 54 48 52 E_FLAG_WRITE_THR 26b0: 4f 55 47 48 20 20 20 20 20 20 3d 20 30 78 38 30 OUGH = 0x80 26c0: 30 30 30 30 30 30 2c 0d 0a 09 46 49 4c 45 5f 46 000000,...FILE_F 26d0: 4c 41 47 5f 4f 56 45 52 4c 41 50 50 45 44 20 20 LAG_OVERLAPPED 26e0: 20 20 20 20 20 20 20 3d 20 30 78 34 30 30 30 30 = 0x40000 26f0: 30 30 30 2c 0d 0a 09 46 49 4c 45 5f 46 4c 41 47 000,...FILE_FLAG 2700: 5f 4e 4f 5f 42 55 46 46 45 52 49 4e 47 20 20 20 _NO_BUFFERING 2710: 20 20 20 20 3d 20 30 78 32 30 30 30 30 30 30 30 = 0x20000000 2720: 2c 0d 0a 09 46 49 4c 45 5f 46 4c 41 47 5f 52 41 ,...FILE_FLAG_RA 2730: 4e 44 4f 4d 5f 41 43 43 45 53 53 20 20 20 20 20 NDOM_ACCESS 2740: 20 3d 20 30 78 31 30 30 30 30 30 30 30 2c 0d 0a = 0x10000000,.. 2750: 09 46 49 4c 45 5f 46 4c 41 47 5f 53 45 51 55 45 .FILE_FLAG_SEQUE 2760: 4e 54 49 41 4c 5f 53 43 41 4e 20 20 20 20 3d 20 NTIAL_SCAN = 2770: 30 78 30 38 30 30 30 30 30 30 2c 0d 0a 09 46 49 0x08000000,...FI 2780: 4c 45 5f 46 4c 41 47 5f 44 45 4c 45 54 45 5f 4f LE_FLAG_DELETE_O 2790: 4e 5f 43 4c 4f 53 45 20 20 20 20 3d 20 30 78 30 N_CLOSE = 0x0 27a0: 34 30 30 30 30 30 30 2c 0d 0a 09 46 49 4c 45 5f 4000000,...FILE_ 27b0: 46 4c 41 47 5f 42 41 43 4b 55 50 5f 53 45 4d 41 FLAG_BACKUP_SEMA 27c0: 4e 54 49 43 53 20 20 20 3d 20 30 78 30 32 30 30 NTICS = 0x0200 27d0: 30 30 30 30 2c 0d 0a 09 46 49 4c 45 5f 46 4c 41 0000,...FILE_FLA 27e0: 47 5f 50 4f 53 49 58 5f 53 45 4d 41 4e 54 49 43 G_POSIX_SEMANTIC 27f0: 53 20 20 20 20 3d 20 30 78 30 31 30 30 30 30 30 S = 0x0100000 2800: 30 2c 0d 0a 09 46 49 4c 45 5f 46 4c 41 47 5f 4f 0,...FILE_FLAG_O 2810: 50 45 4e 5f 52 45 50 41 52 53 45 5f 50 4f 49 4e PEN_REPARSE_POIN 2820: 54 20 3d 20 30 78 30 30 32 30 30 30 30 30 2c 0d T = 0x00200000,. 2830: 0a 09 46 49 4c 45 5f 46 4c 41 47 5f 4f 50 45 4e ..FILE_FLAG_OPEN 2840: 5f 4e 4f 5f 52 45 43 41 4c 4c 20 20 20 20 20 3d _NO_RECALL = 2850: 20 30 78 30 30 31 30 30 30 30 30 3b 0d 0a 0d 0a 0x00100000;.... 2860: 73 74 61 74 69 63 20 69 66 20 28 5f 57 49 4e 33 static if (_WIN3 2870: 32 5f 57 49 4e 4e 54 20 3e 3d 20 30 78 35 30 30 2_WINNT >= 0x500 2880: 29 20 7b 0d 0a 09 63 6f 6e 73 74 20 44 57 4f 52 ) {...const DWOR 2890: 44 20 46 49 4c 45 5f 46 4c 41 47 5f 46 49 52 53 D FILE_FLAG_FIRS 28a0: 54 5f 50 49 50 45 5f 49 4e 53 54 41 4e 43 45 20 T_PIPE_INSTANCE 28b0: 3d 20 30 78 30 30 30 38 30 30 30 30 3b 0d 0a 7d = 0x00080000;..} 28c0: 0d 0a 0d 0a 2f 2f 20 66 6f 72 20 43 72 65 61 74 ....// for Creat 28d0: 65 46 69 6c 65 28 29 0d 0a 63 6f 6e 73 74 20 44 eFile()..const D 28e0: 57 4f 52 44 0d 0a 09 53 45 43 55 52 49 54 59 5f WORD...SECURITY_ 28f0: 41 4e 4f 4e 59 4d 4f 55 53 20 20 20 20 20 20 20 ANONYMOUS 2900: 20 3d 20 53 45 43 55 52 49 54 59 5f 49 4d 50 45 = SECURITY_IMPE 2910: 52 53 4f 4e 41 54 49 4f 4e 5f 4c 45 56 45 4c 2e RSONATION_LEVEL. 2920: 53 65 63 75 72 69 74 79 41 6e 6f 6e 79 6d 6f 75 SecurityAnonymou 2930: 73 3c 3c 31 36 2c 0d 0a 09 53 45 43 55 52 49 54 s<<16,...SECURIT 2940: 59 5f 49 44 45 4e 54 49 46 49 43 41 54 49 4f 4e Y_IDENTIFICATION 2950: 20 20 20 3d 20 53 45 43 55 52 49 54 59 5f 49 4d = SECURITY_IM 2960: 50 45 52 53 4f 4e 41 54 49 4f 4e 5f 4c 45 56 45 PERSONATION_LEVE 2970: 4c 2e 53 65 63 75 72 69 74 79 49 64 65 6e 74 69 L.SecurityIdenti 2980: 66 69 63 61 74 69 6f 6e 3c 3c 31 36 2c 0d 0a 09 fication<<16,... 2990: 53 45 43 55 52 49 54 59 5f 49 4d 50 45 52 53 4f SECURITY_IMPERSO 29a0: 4e 41 54 49 4f 4e 20 20 20 20 3d 20 53 45 43 55 NATION = SECU 29b0: 52 49 54 59 5f 49 4d 50 45 52 53 4f 4e 41 54 49 RITY_IMPERSONATI 29c0: 4f 4e 5f 4c 45 56 45 4c 2e 53 65 63 75 72 69 74 ON_LEVEL.Securit 29d0: 79 49 6d 70 65 72 73 6f 6e 61 74 69 6f 6e 3c 3c yImpersonation<< 29e0: 31 36 2c 0d 0a 09 53 45 43 55 52 49 54 59 5f 44 16,...SECURITY_D 29f0: 45 4c 45 47 41 54 49 4f 4e 20 20 20 20 20 20 20 ELEGATION 2a00: 3d 20 53 45 43 55 52 49 54 59 5f 49 4d 50 45 52 = SECURITY_IMPER 2a10: 53 4f 4e 41 54 49 4f 4e 5f 4c 45 56 45 4c 2e 53 SONATION_LEVEL.S 2a20: 65 63 75 72 69 74 79 44 65 6c 65 67 61 74 69 6f ecurityDelegatio 2a30: 6e 3c 3c 31 36 2c 0d 0a 09 53 45 43 55 52 49 54 n<<16,...SECURIT 2a40: 59 5f 43 4f 4e 54 45 58 54 5f 54 52 41 43 4b 49 Y_CONTEXT_TRACKI 2a50: 4e 47 20 3d 20 30 78 30 30 30 34 30 30 30 30 2c NG = 0x00040000, 2a60: 0d 0a 09 53 45 43 55 52 49 54 59 5f 45 46 46 45 ...SECURITY_EFFE 2a70: 43 54 49 56 45 5f 4f 4e 4c 59 20 20 20 3d 20 30 CTIVE_ONLY = 0 2a80: 78 30 30 30 38 30 30 30 30 2c 0d 0a 09 53 45 43 x00080000,...SEC 2a90: 55 52 49 54 59 5f 53 51 4f 53 5f 50 52 45 53 45 URITY_SQOS_PRESE 2aa0: 4e 54 20 20 20 20 20 3d 20 30 78 30 30 31 30 30 NT = 0x00100 2ab0: 30 30 30 2c 0d 0a 09 53 45 43 55 52 49 54 59 5f 000,...SECURITY_ 2ac0: 56 41 4c 49 44 5f 53 51 4f 53 5f 46 4c 41 47 53 VALID_SQOS_FLAGS 2ad0: 20 3d 20 30 78 30 30 31 46 30 30 30 30 3b 0d 0a = 0x001F0000;.. 2ae0: 0d 0a 0d 0a 2f 2f 20 54 68 72 65 61 64 20 65 78 ....// Thread ex 2af0: 69 74 20 63 6f 64 65 0d 0a 63 6f 6e 73 74 20 44 it code..const D 2b00: 57 4f 52 44 20 53 54 49 4c 4c 5f 41 43 54 49 56 WORD STILL_ACTIV 2b10: 45 20 3d 20 30 78 31 30 33 3b 0d 0a 0d 0a 2f 2a E = 0x103;..../* 2b20: 09 3f 3f 3f 20 54 68 65 20 6f 6e 6c 79 20 64 6f .??? The only do 2b30: 63 75 6d 65 6e 74 61 74 69 6f 6e 20 6f 66 20 74 cumentation of t 2b40: 68 69 73 20 73 65 65 6d 73 20 74 6f 20 62 65 20 his seems to be 2b50: 61 62 6f 75 74 20 57 69 6e 64 6f 77 73 20 43 45 about Windows CE 2b60: 20 61 6e 64 20 74 6f 0d 0a 20 2a 09 73 74 61 74 and to.. *.stat 2b70: 65 20 77 68 61 74 20 5f 64 6f 65 73 6e 27 74 5f e what _doesn't_ 2b80: 20 73 75 70 70 6f 72 74 20 69 74 2e 0d 0a 20 2a support it... * 2b90: 2f 0d 0a 63 6f 6e 73 74 20 44 57 4f 52 44 20 46 /..const DWORD F 2ba0: 49 4e 44 5f 46 49 52 53 54 5f 45 58 5f 43 41 53 IND_FIRST_EX_CAS 2bb0: 45 5f 53 45 4e 53 49 54 49 56 45 20 3d 20 31 3b E_SENSITIVE = 1; 2bc0: 0d 0a 0d 0a 2f 2f 20 47 65 74 42 69 6e 61 72 79 ....// GetBinary 2bd0: 54 79 70 65 28 29 0d 0a 65 6e 75 6d 20 3a 20 44 Type()..enum : D 2be0: 57 4f 52 44 20 7b 0d 0a 09 53 43 53 5f 33 32 42 WORD {...SCS_32B 2bf0: 49 54 5f 42 49 4e 41 52 59 20 3d 20 30 2c 0d 0a IT_BINARY = 0,.. 2c00: 09 53 43 53 5f 44 4f 53 5f 42 49 4e 41 52 59 2c .SCS_DOS_BINARY, 2c10: 0d 0a 09 53 43 53 5f 57 4f 57 5f 42 49 4e 41 52 ...SCS_WOW_BINAR 2c20: 59 2c 0d 0a 09 53 43 53 5f 50 49 46 5f 42 49 4e Y,...SCS_PIF_BIN 2c30: 41 52 59 2c 0d 0a 09 53 43 53 5f 50 4f 53 49 58 ARY,...SCS_POSIX 2c40: 5f 42 49 4e 41 52 59 2c 0d 0a 09 53 43 53 5f 4f _BINARY,...SCS_O 2c50: 53 32 31 36 5f 42 49 4e 41 52 59 0d 0a 7d 0d 0a S216_BINARY..}.. 2c60: 0d 0a 63 6f 6e 73 74 20 73 69 7a 65 5f 74 0d 0a ..const size_t.. 2c70: 09 4d 41 58 5f 43 4f 4d 50 55 54 45 52 4e 41 4d .MAX_COMPUTERNAM 2c80: 45 5f 4c 45 4e 47 54 48 20 3d 20 31 35 2c 0d 0a E_LENGTH = 15,.. 2c90: 09 48 57 5f 50 52 4f 46 49 4c 45 5f 47 55 49 44 .HW_PROFILE_GUID 2ca0: 4c 45 4e 20 20 20 20 20 20 3d 20 33 39 2c 0d 0a LEN = 39,.. 2cb0: 09 4d 41 58 5f 50 52 4f 46 49 4c 45 5f 4c 45 4e .MAX_PROFILE_LEN 2cc0: 20 20 20 20 20 20 20 20 20 3d 20 38 30 3b 0d 0a = 80;.. 2cd0: 0d 0a 2f 2f 20 48 57 5f 50 52 4f 46 49 4c 45 5f ..// HW_PROFILE_ 2ce0: 49 4e 46 4f 0d 0a 63 6f 6e 73 74 20 44 57 4f 52 INFO..const DWOR 2cf0: 44 0d 0a 09 44 4f 43 4b 49 4e 46 4f 5f 55 4e 44 D...DOCKINFO_UND 2d00: 4f 43 4b 45 44 20 20 20 20 20 20 3d 20 31 2c 0d OCKED = 1,. 2d10: 0a 09 44 4f 43 4b 49 4e 46 4f 5f 44 4f 43 4b 45 ..DOCKINFO_DOCKE 2d20: 44 20 20 20 20 20 20 20 20 3d 20 32 2c 0d 0a 09 D = 2,... 2d30: 44 4f 43 4b 49 4e 46 4f 5f 55 53 45 52 5f 53 55 DOCKINFO_USER_SU 2d40: 50 50 4c 49 45 44 20 3d 20 34 2c 0d 0a 09 44 4f PPLIED = 4,...DO 2d50: 43 4b 49 4e 46 4f 5f 55 53 45 52 5f 55 4e 44 4f CKINFO_USER_UNDO 2d60: 43 4b 45 44 20 3d 20 44 4f 43 4b 49 4e 46 4f 5f CKED = DOCKINFO_ 2d70: 55 53 45 52 5f 53 55 50 50 4c 49 45 44 20 7c 20 USER_SUPPLIED | 2d80: 44 4f 43 4b 49 4e 46 4f 5f 55 4e 44 4f 43 4b 45 DOCKINFO_UNDOCKE 2d90: 44 2c 0d 0a 09 44 4f 43 4b 49 4e 46 4f 5f 55 53 D,...DOCKINFO_US 2da0: 45 52 5f 44 4f 43 4b 45 44 20 20 20 3d 20 44 4f ER_DOCKED = DO 2db0: 43 4b 49 4e 46 4f 5f 55 53 45 52 5f 53 55 50 50 CKINFO_USER_SUPP 2dc0: 4c 49 45 44 20 7c 20 44 4f 43 4b 49 4e 46 4f 5f LIED | DOCKINFO_ 2dd0: 44 4f 43 4b 45 44 3b 0d 0a 0d 0a 2f 2f 20 44 72 DOCKED;....// Dr 2de0: 69 76 65 54 79 70 65 28 29 2c 20 52 65 61 6c 44 iveType(), RealD 2df0: 72 69 76 65 54 79 70 65 28 29 0d 0a 65 6e 75 6d riveType()..enum 2e00: 20 3a 20 69 6e 74 20 7b 0d 0a 09 44 52 49 56 45 : int {...DRIVE 2e10: 5f 55 4e 4b 4e 4f 57 4e 20 3d 20 30 2c 0d 0a 09 _UNKNOWN = 0,... 2e20: 44 52 49 56 45 5f 4e 4f 5f 52 4f 4f 54 5f 44 49 DRIVE_NO_ROOT_DI 2e30: 52 2c 0d 0a 09 44 52 49 56 45 5f 52 45 4d 4f 56 R,...DRIVE_REMOV 2e40: 41 42 4c 45 2c 0d 0a 09 44 52 49 56 45 5f 46 49 ABLE,...DRIVE_FI 2e50: 58 45 44 2c 0d 0a 09 44 52 49 56 45 5f 52 45 4d XED,...DRIVE_REM 2e60: 4f 54 45 2c 0d 0a 09 44 52 49 56 45 5f 43 44 52 OTE,...DRIVE_CDR 2e70: 4f 4d 2c 0d 0a 09 44 52 49 56 45 5f 52 41 4d 44 OM,...DRIVE_RAMD 2e80: 49 53 4b 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 47 65 74 ISK..}....// Get 2e90: 46 69 6c 65 54 79 70 65 28 29 0d 0a 65 6e 75 6d FileType()..enum 2ea0: 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 46 49 4c : DWORD {...FIL 2eb0: 45 5f 54 59 50 45 5f 55 4e 4b 4e 4f 57 4e 20 3d E_TYPE_UNKNOWN = 2ec0: 20 30 2c 0d 0a 09 46 49 4c 45 5f 54 59 50 45 5f 0,...FILE_TYPE_ 2ed0: 44 49 53 4b 2c 0d 0a 09 46 49 4c 45 5f 54 59 50 DISK,...FILE_TYP 2ee0: 45 5f 43 48 41 52 2c 0d 0a 09 46 49 4c 45 5f 54 E_CHAR,...FILE_T 2ef0: 59 50 45 5f 50 49 50 45 2c 0d 0a 09 46 49 4c 45 YPE_PIPE,...FILE 2f00: 5f 54 59 50 45 5f 52 45 4d 4f 54 45 20 3d 20 30 _TYPE_REMOTE = 0 2f10: 78 38 30 30 30 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 47 x8000..}....// G 2f20: 65 74 2f 53 65 74 48 61 6e 64 6c 65 49 6e 66 6f et/SetHandleInfo 2f30: 72 6d 61 74 69 6f 6e 28 29 0d 0a 63 6f 6e 73 74 rmation()..const 2f40: 20 44 57 4f 52 44 0d 0a 09 48 41 4e 44 4c 45 5f DWORD...HANDLE_ 2f50: 46 4c 41 47 5f 49 4e 48 45 52 49 54 20 20 20 20 FLAG_INHERIT 2f60: 20 20 20 20 20 20 20 20 3d 20 30 78 30 31 2c 0d = 0x01,. 2f70: 0a 09 48 41 4e 44 4c 45 5f 46 4c 41 47 5f 50 52 ..HANDLE_FLAG_PR 2f80: 4f 54 45 43 54 5f 46 52 4f 4d 5f 43 4c 4f 53 45 OTECT_FROM_CLOSE 2f90: 20 3d 20 30 78 30 32 3b 0d 0a 0d 0a 65 6e 75 6d = 0x02;....enum 2fa0: 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 53 54 44 : DWORD {...STD 2fb0: 5f 49 4e 50 55 54 5f 48 41 4e 44 4c 45 20 20 3d _INPUT_HANDLE = 2fc0: 20 30 78 46 46 46 46 46 46 46 36 2c 0d 0a 09 53 0xFFFFFFF6,...S 2fd0: 54 44 5f 4f 55 54 50 55 54 5f 48 41 4e 44 4c 45 TD_OUTPUT_HANDLE 2fe0: 20 3d 20 30 78 46 46 46 46 46 46 46 35 2c 0d 0a = 0xFFFFFFF5,.. 2ff0: 09 53 54 44 5f 45 52 52 4f 52 5f 48 41 4e 44 4c .STD_ERROR_HANDL 3000: 45 20 20 3d 20 30 78 46 46 46 46 46 46 46 34 0d E = 0xFFFFFFF4. 3010: 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 48 41 4e 44 4c .}....enum HANDL 3020: 45 20 49 4e 56 41 4c 49 44 5f 48 41 4e 44 4c 45 E INVALID_HANDLE 3030: 5f 56 41 4c 55 45 20 3d 20 63 61 73 74 28 48 41 _VALUE = cast(HA 3040: 4e 44 4c 45 29 20 28 2d 31 29 3b 0d 0a 0d 0a 65 NDLE) (-1);....e 3050: 6e 75 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 num : DWORD {... 3060: 47 45 54 5f 54 41 50 45 5f 4d 45 44 49 41 5f 49 GET_TAPE_MEDIA_I 3070: 4e 46 4f 52 4d 41 54 49 4f 4e 20 3d 20 30 2c 0d NFORMATION = 0,. 3080: 0a 09 47 45 54 5f 54 41 50 45 5f 44 52 49 56 45 ..GET_TAPE_DRIVE 3090: 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e 20 3d 20 31 _INFORMATION = 1 30a0: 0d 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 3a 20 44 57 ..}....enum : DW 30b0: 4f 52 44 20 7b 0d 0a 09 53 45 54 5f 54 41 50 45 ORD {...SET_TAPE 30c0: 5f 4d 45 44 49 41 5f 49 4e 46 4f 52 4d 41 54 49 _MEDIA_INFORMATI 30d0: 4f 4e 20 3d 20 30 2c 0d 0a 09 53 45 54 5f 54 41 ON = 0,...SET_TA 30e0: 50 45 5f 44 52 49 56 45 5f 49 4e 46 4f 52 4d 41 PE_DRIVE_INFORMA 30f0: 54 49 4f 4e 20 3d 20 31 0d 0a 7d 0d 0a 0d 0a 2f TION = 1..}..../ 3100: 2f 20 53 65 74 54 68 72 65 61 64 50 72 69 6f 72 / SetThreadPrior 3110: 69 74 79 28 29 2f 47 65 74 54 68 72 65 61 64 50 ity()/GetThreadP 3120: 72 69 6f 72 69 74 79 28 29 0d 0a 65 6e 75 6d 20 riority()..enum 3130: 3a 20 69 6e 74 20 7b 0d 0a 09 54 48 52 45 41 44 : int {...THREAD 3140: 5f 50 52 49 4f 52 49 54 59 5f 49 44 4c 45 20 20 _PRIORITY_IDLE 3150: 20 20 20 20 20 20 20 20 3d 20 2d 31 35 2c 0d 0a = -15,.. 3160: 09 54 48 52 45 41 44 5f 50 52 49 4f 52 49 54 59 .THREAD_PRIORITY 3170: 5f 4c 4f 57 45 53 54 20 20 20 20 20 20 20 20 3d _LOWEST = 3180: 20 20 2d 32 2c 0d 0a 09 54 48 52 45 41 44 5f 50 -2,...THREAD_P 3190: 52 49 4f 52 49 54 59 5f 42 45 4c 4f 57 5f 4e 4f RIORITY_BELOW_NO 31a0: 52 4d 41 4c 20 20 3d 20 20 2d 31 2c 0d 0a 09 54 RMAL = -1,...T 31b0: 48 52 45 41 44 5f 50 52 49 4f 52 49 54 59 5f 4e HREAD_PRIORITY_N 31c0: 4f 52 4d 41 4c 20 20 20 20 20 20 20 20 3d 20 20 ORMAL = 31d0: 20 30 2c 0d 0a 09 54 48 52 45 41 44 5f 50 52 49 0,...THREAD_PRI 31e0: 4f 52 49 54 59 5f 41 42 4f 56 45 5f 4e 4f 52 4d ORITY_ABOVE_NORM 31f0: 41 4c 20 20 3d 20 20 20 31 2c 0d 0a 09 54 48 52 AL = 1,...THR 3200: 45 41 44 5f 50 52 49 4f 52 49 54 59 5f 48 49 47 EAD_PRIORITY_HIG 3210: 48 45 53 54 20 20 20 20 20 20 20 3d 20 20 20 32 HEST = 2 3220: 2c 0d 0a 09 54 48 52 45 41 44 5f 50 52 49 4f 52 ,...THREAD_PRIOR 3230: 49 54 59 5f 54 49 4d 45 5f 43 52 49 54 49 43 41 ITY_TIME_CRITICA 3240: 4c 20 3d 20 20 31 35 2c 0d 0a 09 54 48 52 45 41 L = 15,...THREA 3250: 44 5f 50 52 49 4f 52 49 54 59 5f 45 52 52 4f 52 D_PRIORITY_ERROR 3260: 5f 52 45 54 55 52 4e 20 20 3d 20 32 31 34 37 34 _RETURN = 21474 3270: 38 33 36 34 37 0d 0a 7d 0d 0a 0d 0a 65 6e 75 6d 83647..}....enum 3280: 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 54 49 4d : DWORD {...TIM 3290: 45 5f 5a 4f 4e 45 5f 49 44 5f 55 4e 4b 4e 4f 57 E_ZONE_ID_UNKNOW 32a0: 4e 2c 0d 0a 09 54 49 4d 45 5f 5a 4f 4e 45 5f 49 N,...TIME_ZONE_I 32b0: 44 5f 53 54 41 4e 44 41 52 44 2c 0d 0a 09 54 49 D_STANDARD,...TI 32c0: 4d 45 5f 5a 4f 4e 45 5f 49 44 5f 44 41 59 4c 49 ME_ZONE_ID_DAYLI 32d0: 47 48 54 2c 0d 0a 09 54 49 4d 45 5f 5a 4f 4e 45 GHT,...TIME_ZONE 32e0: 5f 49 44 5f 49 4e 56 41 4c 49 44 20 3d 20 30 78 _ID_INVALID = 0x 32f0: 46 46 46 46 46 46 46 46 0d 0a 7d 0d 0a 0d 0a 63 FFFFFFFF..}....c 3300: 6f 6e 73 74 20 44 57 4f 52 44 0d 0a 09 46 53 5f onst DWORD...FS_ 3310: 43 41 53 45 5f 53 45 4e 53 49 54 49 56 45 20 20 CASE_SENSITIVE 3320: 20 20 20 20 20 20 20 3d 20 20 20 20 20 31 2c 0d = 1,. 3330: 0a 09 46 53 5f 43 41 53 45 5f 49 53 5f 50 52 45 ..FS_CASE_IS_PRE 3340: 53 45 52 56 45 44 20 20 20 20 20 20 3d 20 20 20 SERVED = 3350: 20 20 32 2c 0d 0a 09 46 53 5f 55 4e 49 43 4f 44 2,...FS_UNICOD 3360: 45 5f 53 54 4f 52 45 44 5f 4f 4e 5f 44 49 53 4b E_STORED_ON_DISK 3370: 20 3d 20 20 20 20 20 34 2c 0d 0a 09 46 53 5f 50 = 4,...FS_P 3380: 45 52 53 49 53 54 45 4e 54 5f 41 43 4c 53 20 20 ERSISTENT_ACLS 3390: 20 20 20 20 20 20 3d 20 20 20 20 20 38 2c 0d 0a = 8,.. 33a0: 09 46 53 5f 46 49 4c 45 5f 43 4f 4d 50 52 45 53 .FS_FILE_COMPRES 33b0: 53 49 4f 4e 20 20 20 20 20 20 20 3d 20 20 20 20 SION = 33c0: 31 36 2c 0d 0a 09 46 53 5f 56 4f 4c 5f 49 53 5f 16,...FS_VOL_IS_ 33d0: 43 4f 4d 50 52 45 53 53 45 44 20 20 20 20 20 20 COMPRESSED 33e0: 3d 20 33 32 37 36 38 3b 0d 0a 0d 0a 2f 2f 20 46 = 32768;....// F 33f0: 6c 61 67 73 20 66 6f 72 20 47 6c 6f 62 61 6c 41 lags for GlobalA 3400: 6c 6c 6f 63 0d 0a 63 6f 6e 73 74 20 55 49 4e 54 lloc..const UINT 3410: 0d 0a 09 47 4d 45 4d 5f 46 49 58 45 44 20 20 20 ...GMEM_FIXED 3420: 20 20 20 20 3d 20 30 2c 0d 0a 09 47 4d 45 4d 5f = 0,...GMEM_ 3430: 4d 4f 56 45 41 42 4c 45 20 20 20 20 3d 20 30 78 MOVEABLE = 0x 3440: 30 30 30 32 2c 0d 0a 09 47 4d 45 4d 5f 5a 45 52 0002,...GMEM_ZER 3450: 4f 49 4e 49 54 20 20 20 20 3d 20 30 78 30 30 34 OINIT = 0x004 3460: 30 2c 0d 0a 09 47 50 54 52 20 20 20 20 20 20 20 0,...GPTR 3470: 20 20 20 20 20 20 3d 20 30 78 30 30 34 30 2c 0d = 0x0040,. 3480: 0a 09 47 48 4e 44 20 20 20 20 20 20 20 20 20 20 ..GHND 3490: 20 20 20 3d 20 30 78 30 30 34 32 2c 0d 0a 09 47 = 0x0042,...G 34a0: 4d 45 4d 5f 4d 4f 44 49 46 59 20 20 20 20 20 20 MEM_MODIFY 34b0: 3d 20 30 78 30 30 38 30 2c 20 20 2f 2f 20 75 73 = 0x0080, // us 34c0: 65 64 20 6f 6e 6c 79 20 66 6f 72 20 47 6c 6f 62 ed only for Glob 34d0: 61 6c 52 65 61 6c 6c 6f 63 0d 0a 09 47 4d 45 4d alRealloc...GMEM 34e0: 5f 56 41 4c 49 44 5f 46 4c 41 47 53 20 3d 20 30 _VALID_FLAGS = 0 34f0: 78 37 46 37 32 3b 0d 0a 0d 0a 2f 2b 20 20 2f 2f x7F72;..../+ // 3500: 20 4f 62 73 65 6c 65 74 65 20 66 6c 61 67 73 20 Obselete flags 3510: 28 57 69 6e 31 36 20 6f 6e 6c 79 29 0d 0a 09 47 (Win16 only)...G 3520: 4d 45 4d 5f 4e 4f 43 4f 4d 50 41 43 54 3d 31 36 MEM_NOCOMPACT=16 3530: 3b 0d 0a 09 47 4d 45 4d 5f 4e 4f 44 49 53 43 41 ;...GMEM_NODISCA 3540: 52 44 3d 33 32 3b 0d 0a 09 47 4d 45 4d 5f 44 49 RD=32;...GMEM_DI 3550: 53 43 41 52 44 41 42 4c 45 3d 32 35 36 3b 0d 0a SCARDABLE=256;.. 3560: 09 47 4d 45 4d 5f 4e 4f 54 5f 42 41 4e 4b 45 44 .GMEM_NOT_BANKED 3570: 3d 34 30 39 36 3b 0d 0a 09 47 4d 45 4d 5f 4c 4f =4096;...GMEM_LO 3580: 57 45 52 3d 34 30 39 36 3b 0d 0a 09 47 4d 45 4d WER=4096;...GMEM 3590: 5f 53 48 41 52 45 3d 38 31 39 32 3b 0d 0a 09 47 _SHARE=8192;...G 35a0: 4d 45 4d 5f 44 44 45 53 48 41 52 45 3d 38 31 39 MEM_DDESHARE=819 35b0: 32 3b 0d 0a 0d 0a 09 47 4d 45 4d 5f 4c 4f 43 4b 2;.....GMEM_LOCK 35c0: 43 4f 55 4e 54 3d 32 35 35 3b 0d 0a 0d 0a 2f 2f COUNT=255;....// 35d0: 20 66 6f 72 20 47 6c 6f 62 61 6c 46 6c 61 67 73 for GlobalFlags 35e0: 28 29 0d 0a 09 47 4d 45 4d 5f 44 49 53 43 41 52 ()...GMEM_DISCAR 35f0: 44 45 44 20 20 20 20 20 20 3d 20 31 36 33 38 34 DED = 16384 3600: 3b 0d 0a 09 47 4d 45 4d 5f 49 4e 56 41 4c 49 44 ;...GMEM_INVALID 3610: 5f 48 41 4e 44 4c 45 20 3d 20 33 32 37 36 38 3b _HANDLE = 32768; 3620: 0d 0a 0d 0a 09 47 4d 45 4d 5f 4e 4f 54 49 46 59 .....GMEM_NOTIFY 3630: 20 20 20 20 20 20 20 20 20 3d 20 31 36 33 38 34 = 16384 3640: 3b 0d 0a 2b 2f 0d 0a 0d 0a 63 6f 6e 73 74 20 55 ;..+/....const U 3650: 49 4e 54 0d 0a 09 4c 4d 45 4d 5f 46 49 58 45 44 INT...LMEM_FIXED 3660: 20 20 20 20 20 20 20 20 20 20 3d 20 30 2c 0d 0a = 0,.. 3670: 09 4c 4d 45 4d 5f 4d 4f 56 45 41 42 4c 45 20 20 .LMEM_MOVEABLE 3680: 20 20 20 20 20 3d 20 30 78 30 30 30 32 2c 0d 0a = 0x0002,.. 3690: 09 4c 4d 45 4d 5f 4e 4f 4e 5a 45 52 4f 4c 50 54 .LMEM_NONZEROLPT 36a0: 52 20 20 20 20 3d 20 30 2c 0d 0a 09 4e 4f 4e 5a R = 0,...NONZ 36b0: 45 52 4f 4c 50 54 52 20 20 20 20 20 20 20 20 20 EROLPTR 36c0: 3d 20 30 2c 0d 0a 09 4c 4d 45 4d 5f 4e 4f 4e 5a = 0,...LMEM_NONZ 36d0: 45 52 4f 4c 48 4e 44 20 20 20 20 3d 20 30 78 30 EROLHND = 0x0 36e0: 30 30 32 2c 0d 0a 09 4e 4f 4e 5a 45 52 4f 4c 48 002,...NONZEROLH 36f0: 4e 44 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 ND = 0x0 3700: 30 30 32 2c 0d 0a 09 4c 4d 45 4d 5f 44 49 53 43 002,...LMEM_DISC 3710: 41 52 44 41 42 4c 45 20 20 20 20 3d 20 30 78 30 ARDABLE = 0x0 3720: 46 30 30 2c 0d 0a 09 4c 4d 45 4d 5f 4e 4f 43 4f F00,...LMEM_NOCO 3730: 4d 50 41 43 54 20 20 20 20 20 20 3d 20 30 78 30 MPACT = 0x0 3740: 30 31 30 2c 0d 0a 09 4c 4d 45 4d 5f 4e 4f 44 49 010,...LMEM_NODI 3750: 53 43 41 52 44 20 20 20 20 20 20 3d 20 30 78 30 SCARD = 0x0 3760: 30 32 30 2c 0d 0a 09 4c 4d 45 4d 5f 5a 45 52 4f 020,...LMEM_ZERO 3770: 49 4e 49 54 20 20 20 20 20 20 20 3d 20 30 78 30 INIT = 0x0 3780: 30 34 30 2c 0d 0a 09 4c 50 54 52 20 20 20 20 20 040,...LPTR 3790: 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 = 0x0 37a0: 30 34 30 2c 0d 0a 09 4c 48 4e 44 20 20 20 20 20 040,...LHND 37b0: 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 = 0x0 37c0: 30 34 32 2c 0d 0a 09 4c 4d 45 4d 5f 4d 4f 44 49 042,...LMEM_MODI 37d0: 46 59 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 FY = 0x0 37e0: 30 38 30 2c 0d 0a 09 4c 4d 45 4d 5f 4c 4f 43 4b 080,...LMEM_LOCK 37f0: 43 4f 55 4e 54 20 20 20 20 20 20 3d 20 30 78 30 COUNT = 0x0 3800: 30 46 46 2c 0d 0a 09 4c 4d 45 4d 5f 44 49 53 43 0FF,...LMEM_DISC 3810: 41 52 44 45 44 20 20 20 20 20 20 3d 20 30 78 34 ARDED = 0x4 3820: 30 30 30 2c 0d 0a 09 4c 4d 45 4d 5f 49 4e 56 41 000,...LMEM_INVA 3830: 4c 49 44 5f 48 41 4e 44 4c 45 20 3d 20 30 78 38 LID_HANDLE = 0x8 3840: 30 30 30 3b 0d 0a 0d 0a 0d 0a 0d 0a 2f 2f 20 75 000;........// u 3850: 73 65 64 20 69 6e 20 45 58 43 45 50 54 49 4f 4e sed in EXCEPTION 3860: 5f 52 45 43 4f 52 44 0d 0a 65 6e 75 6d 20 3a 20 _RECORD..enum : 3870: 44 57 4f 52 44 20 7b 0d 0a 09 53 54 41 54 55 53 DWORD {...STATUS 3880: 5f 57 41 49 54 5f 30 20 20 20 20 20 20 20 20 20 _WAIT_0 3890: 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 = 0 38a0: 2c 0d 0a 09 53 54 41 54 55 53 5f 41 42 41 4e 44 ,...STATUS_ABAND 38b0: 4f 4e 45 44 5f 57 41 49 54 5f 30 20 20 20 20 20 ONED_WAIT_0 38c0: 20 20 20 20 20 20 20 3d 20 30 78 30 30 30 30 30 = 0x00000 38d0: 30 38 30 2c 0d 0a 09 53 54 41 54 55 53 5f 55 53 080,...STATUS_US 38e0: 45 52 5f 41 50 43 20 20 20 20 20 20 20 20 20 20 ER_APC 38f0: 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 30 = 0x00 3900: 30 30 30 30 43 30 2c 0d 0a 09 53 54 41 54 55 53 0000C0,...STATUS 3910: 5f 54 49 4d 45 4f 55 54 20 20 20 20 20 20 20 20 _TIMEOUT 3920: 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 = 0 3930: 78 30 30 30 30 30 31 30 32 2c 0d 0a 09 53 54 41 x00000102,...STA 3940: 54 55 53 5f 50 45 4e 44 49 4e 47 20 20 20 20 20 TUS_PENDING 3950: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3960: 3d 20 30 78 30 30 30 30 30 31 30 33 2c 0d 0a 0d = 0x00000103,... 3970: 0a 09 53 54 41 54 55 53 5f 53 45 47 4d 45 4e 54 ..STATUS_SEGMENT 3980: 5f 4e 4f 54 49 46 49 43 41 54 49 4f 4e 20 20 20 _NOTIFICATION 3990: 20 20 20 20 20 3d 20 30 78 34 30 30 30 30 30 30 = 0x4000000 39a0: 35 2c 0d 0a 09 53 54 41 54 55 53 5f 47 55 41 52 5,...STATUS_GUAR 39b0: 44 5f 50 41 47 45 5f 56 49 4f 4c 41 54 49 4f 4e D_PAGE_VIOLATION 39c0: 20 20 20 20 20 20 20 20 3d 20 30 78 38 30 30 30 = 0x8000 39d0: 30 30 30 31 2c 0d 0a 09 53 54 41 54 55 53 5f 44 0001,...STATUS_D 39e0: 41 54 41 54 59 50 45 5f 4d 49 53 41 4c 49 47 4e ATATYPE_MISALIGN 39f0: 4d 45 4e 54 20 20 20 20 20 20 20 3d 20 30 78 38 MENT = 0x8 3a00: 30 30 30 30 30 30 32 2c 0d 0a 09 53 54 41 54 55 0000002,...STATU 3a10: 53 5f 42 52 45 41 4b 50 4f 49 4e 54 20 20 20 20 S_BREAKPOINT 3a20: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 = 3a30: 30 78 38 30 30 30 30 30 30 33 2c 0d 0a 09 53 54 0x80000003,...ST 3a40: 41 54 55 53 5f 53 49 4e 47 4c 45 5f 53 54 45 50 ATUS_SINGLE_STEP 3a50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a60: 20 3d 20 30 78 38 30 30 30 30 30 30 34 2c 0d 0a = 0x80000004,.. 3a70: 0d 0a 09 53 54 41 54 55 53 5f 41 43 43 45 53 53 ...STATUS_ACCESS 3a80: 5f 56 49 4f 4c 41 54 49 4f 4e 20 20 20 20 20 20 _VIOLATION 3a90: 20 20 20 20 20 20 3d 20 30 78 43 30 30 30 30 30 = 0xC00000 3aa0: 30 35 2c 0d 0a 09 53 54 41 54 55 53 5f 49 4e 5f 05,...STATUS_IN_ 3ab0: 50 41 47 45 5f 45 52 52 4f 52 20 20 20 20 20 20 PAGE_ERROR 3ac0: 20 20 20 20 20 20 20 20 20 3d 20 30 78 43 30 30 = 0xC00 3ad0: 30 30 30 30 36 2c 0d 0a 09 53 54 41 54 55 53 5f 00006,...STATUS_ 3ae0: 49 4e 56 41 4c 49 44 5f 48 41 4e 44 4c 45 20 20 INVALID_HANDLE 3af0: 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 = 0x 3b00: 43 30 30 30 30 30 30 38 2c 0d 0a 0d 0a 09 53 54 C0000008,.....ST 3b10: 41 54 55 53 5f 4e 4f 5f 4d 45 4d 4f 52 59 20 20 ATUS_NO_MEMORY 3b20: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b30: 20 3d 20 30 78 43 30 30 30 30 30 31 37 2c 0d 0a = 0xC0000017,.. 3b40: 09 53 54 41 54 55 53 5f 49 4c 4c 45 47 41 4c 5f .STATUS_ILLEGAL_ 3b50: 49 4e 53 54 52 55 43 54 49 4f 4e 20 20 20 20 20 INSTRUCTION 3b60: 20 20 20 20 3d 20 30 78 43 30 30 30 30 30 31 44 = 0xC000001D 3b70: 2c 0d 0a 09 53 54 41 54 55 53 5f 4e 4f 4e 43 4f ,...STATUS_NONCO 3b80: 4e 54 49 4e 55 41 42 4c 45 5f 45 58 43 45 50 54 NTINUABLE_EXCEPT 3b90: 49 4f 4e 20 20 20 20 3d 20 30 78 43 30 30 30 30 ION = 0xC0000 3ba0: 30 32 35 2c 0d 0a 09 53 54 41 54 55 53 5f 49 4e 025,...STATUS_IN 3bb0: 56 41 4c 49 44 5f 44 49 53 50 4f 53 49 54 49 4f VALID_DISPOSITIO 3bc0: 4e 20 20 20 20 20 20 20 20 20 3d 20 30 78 43 30 N = 0xC0 3bd0: 30 30 30 30 32 36 2c 0d 0a 09 53 54 41 54 55 53 000026,...STATUS 3be0: 5f 41 52 52 41 59 5f 42 4f 55 4e 44 53 5f 45 58 _ARRAY_BOUNDS_EX 3bf0: 43 45 45 44 45 44 20 20 20 20 20 20 20 3d 20 30 CEEDED = 0 3c00: 78 43 30 30 30 30 30 38 43 2c 0d 0a 09 53 54 41 xC000008C,...STA 3c10: 54 55 53 5f 46 4c 4f 41 54 5f 44 45 4e 4f 52 4d TUS_FLOAT_DENORM 3c20: 41 4c 5f 4f 50 45 52 41 4e 44 20 20 20 20 20 20 AL_OPERAND 3c30: 3d 20 30 78 43 30 30 30 30 30 38 44 2c 0d 0a 09 = 0xC000008D,... 3c40: 53 54 41 54 55 53 5f 46 4c 4f 41 54 5f 44 49 56 STATUS_FLOAT_DIV 3c50: 49 44 45 5f 42 59 5f 5a 45 52 4f 20 20 20 20 20 IDE_BY_ZERO 3c60: 20 20 20 3d 20 30 78 43 30 30 30 30 30 38 45 2c = 0xC000008E, 3c70: 0d 0a 09 53 54 41 54 55 53 5f 46 4c 4f 41 54 5f ...STATUS_FLOAT_ 3c80: 49 4e 45 58 41 43 54 5f 52 45 53 55 4c 54 20 20 INEXACT_RESULT 3c90: 20 20 20 20 20 20 3d 20 30 78 43 30 30 30 30 30 = 0xC00000 3ca0: 38 46 2c 0d 0a 09 53 54 41 54 55 53 5f 46 4c 4f 8F,...STATUS_FLO 3cb0: 41 54 5f 49 4e 56 41 4c 49 44 5f 4f 50 45 52 41 AT_INVALID_OPERA 3cc0: 54 49 4f 4e 20 20 20 20 20 3d 20 30 78 43 30 30 TION = 0xC00 3cd0: 30 30 30 39 30 2c 0d 0a 09 53 54 41 54 55 53 5f 00090,...STATUS_ 3ce0: 46 4c 4f 41 54 5f 4f 56 45 52 46 4c 4f 57 20 20 FLOAT_OVERFLOW 3cf0: 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 78 = 0x 3d00: 43 30 30 30 30 30 39 31 2c 0d 0a 09 53 54 41 54 C0000091,...STAT 3d10: 55 53 5f 46 4c 4f 41 54 5f 53 54 41 43 4b 5f 43 US_FLOAT_STACK_C 3d20: 48 45 43 4b 20 20 20 20 20 20 20 20 20 20 20 3d HECK = 3d30: 20 30 78 43 30 30 30 30 30 39 32 2c 0d 0a 09 53 0xC0000092,...S 3d40: 54 41 54 55 53 5f 46 4c 4f 41 54 5f 55 4e 44 45 TATUS_FLOAT_UNDE 3d50: 52 46 4c 4f 57 20 20 20 20 20 20 20 20 20 20 20 RFLOW 3d60: 20 20 3d 20 30 78 43 30 30 30 30 30 39 33 2c 0d = 0xC0000093,. 3d70: 0a 09 53 54 41 54 55 53 5f 49 4e 54 45 47 45 52 ..STATUS_INTEGER 3d80: 5f 44 49 56 49 44 45 5f 42 59 5f 5a 45 52 4f 20 _DIVIDE_BY_ZERO 3d90: 20 20 20 20 20 3d 20 30 78 43 30 30 30 30 30 39 = 0xC000009 3da0: 34 2c 0d 0a 09 53 54 41 54 55 53 5f 49 4e 54 45 4,...STATUS_INTE 3db0: 47 45 52 5f 4f 56 45 52 46 4c 4f 57 20 20 20 20 GER_OVERFLOW 3dc0: 20 20 20 20 20 20 20 20 3d 20 30 78 43 30 30 30 = 0xC000 3dd0: 30 30 39 35 2c 0d 0a 09 53 54 41 54 55 53 5f 50 0095,...STATUS_P 3de0: 52 49 56 49 4c 45 47 45 44 5f 49 4e 53 54 52 55 RIVILEGED_INSTRU 3df0: 43 54 49 4f 4e 20 20 20 20 20 20 3d 20 30 78 43 CTION = 0xC 3e00: 30 30 30 30 30 39 36 2c 0d 0a 09 53 54 41 54 55 0000096,...STATU 3e10: 53 5f 53 54 41 43 4b 5f 4f 56 45 52 46 4c 4f 57 S_STACK_OVERFLOW 3e20: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 = 3e30: 30 78 43 30 30 30 30 30 46 44 2c 0d 0a 09 53 54 0xC00000FD,...ST 3e40: 41 54 55 53 5f 43 4f 4e 54 52 4f 4c 5f 43 5f 45 ATUS_CONTROL_C_E 3e50: 58 49 54 20 20 20 20 20 20 20 20 20 20 20 20 20 XIT 3e60: 20 3d 20 30 78 43 30 30 30 30 31 33 41 2c 0d 0a = 0xC000013A,.. 3e70: 09 53 54 41 54 55 53 5f 44 4c 4c 5f 49 4e 49 54 .STATUS_DLL_INIT 3e80: 5f 46 41 49 4c 45 44 20 20 20 20 20 20 20 20 20 _FAILED 3e90: 20 20 20 20 3d 20 30 78 43 30 30 30 30 31 34 32 = 0xC0000142 3ea0: 2c 0d 0a 09 53 54 41 54 55 53 5f 44 4c 4c 5f 49 ,...STATUS_DLL_I 3eb0: 4e 49 54 5f 46 41 49 4c 45 44 5f 4c 4f 47 4f 46 NIT_FAILED_LOGOF 3ec0: 46 20 20 20 20 20 20 3d 20 30 78 43 30 30 30 30 F = 0xC0000 3ed0: 32 36 42 2c 0d 0a 0d 0a 09 43 4f 4e 54 52 4f 4c 26B,.....CONTROL 3ee0: 5f 43 5f 45 58 49 54 20 20 20 20 20 20 20 20 20 _C_EXIT 3ef0: 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 53 54 = ST 3f00: 41 54 55 53 5f 43 4f 4e 54 52 4f 4c 5f 43 5f 45 ATUS_CONTROL_C_E 3f10: 58 49 54 2c 0d 0a 0d 0a 09 45 58 43 45 50 54 49 XIT,.....EXCEPTI 3f20: 4f 4e 5f 41 43 43 45 53 53 5f 56 49 4f 4c 41 54 ON_ACCESS_VIOLAT 3f30: 49 4f 4e 20 20 20 20 20 20 20 20 20 3d 20 53 54 ION = ST 3f40: 41 54 55 53 5f 41 43 43 45 53 53 5f 56 49 4f 4c ATUS_ACCESS_VIOL 3f50: 41 54 49 4f 4e 2c 0d 0a 09 45 58 43 45 50 54 49 ATION,...EXCEPTI 3f60: 4f 4e 5f 44 41 54 41 54 59 50 45 5f 4d 49 53 41 ON_DATATYPE_MISA 3f70: 4c 49 47 4e 4d 45 4e 54 20 20 20 20 3d 20 53 54 LIGNMENT = ST 3f80: 41 54 55 53 5f 44 41 54 41 54 59 50 45 5f 4d 49 ATUS_DATATYPE_MI 3f90: 53 41 4c 49 47 4e 4d 45 4e 54 2c 0d 0a 09 45 58 SALIGNMENT,...EX 3fa0: 43 45 50 54 49 4f 4e 5f 42 52 45 41 4b 50 4f 49 CEPTION_BREAKPOI 3fb0: 4e 54 20 20 20 20 20 20 20 20 20 20 20 20 20 20 NT 3fc0: 20 3d 20 53 54 41 54 55 53 5f 42 52 45 41 4b 50 = STATUS_BREAKP 3fd0: 4f 49 4e 54 2c 0d 0a 09 45 58 43 45 50 54 49 4f OINT,...EXCEPTIO 3fe0: 4e 5f 53 49 4e 47 4c 45 5f 53 54 45 50 20 20 20 N_SINGLE_STEP 3ff0: 20 20 20 20 20 20 20 20 20 20 20 3d 20 53 54 41 = STA 4000: 54 55 53 5f 53 49 4e 47 4c 45 5f 53 54 45 50 2c TUS_SINGLE_STEP, 4010: 0d 0a 09 45 58 43 45 50 54 49 4f 4e 5f 41 52 52 ...EXCEPTION_ARR 4020: 41 59 5f 42 4f 55 4e 44 53 5f 45 58 43 45 45 44 AY_BOUNDS_EXCEED 4030: 45 44 20 20 20 20 3d 20 53 54 41 54 55 53 5f 41 ED = STATUS_A 4040: 52 52 41 59 5f 42 4f 55 4e 44 53 5f 45 58 43 45 RRAY_BOUNDS_EXCE 4050: 45 44 45 44 2c 0d 0a 09 45 58 43 45 50 54 49 4f EDED,...EXCEPTIO 4060: 4e 5f 46 4c 54 5f 44 45 4e 4f 52 4d 41 4c 5f 4f N_FLT_DENORMAL_O 4070: 50 45 52 41 4e 44 20 20 20 20 20 3d 20 53 54 41 PERAND = STA 4080: 54 55 53 5f 46 4c 4f 41 54 5f 44 45 4e 4f 52 4d TUS_FLOAT_DENORM 4090: 41 4c 5f 4f 50 45 52 41 4e 44 2c 0d 0a 09 45 58 AL_OPERAND,...EX 40a0: 43 45 50 54 49 4f 4e 5f 46 4c 54 5f 44 49 56 49 CEPTION_FLT_DIVI 40b0: 44 45 5f 42 59 5f 5a 45 52 4f 20 20 20 20 20 20 DE_BY_ZERO 40c0: 20 3d 20 53 54 41 54 55 53 5f 46 4c 4f 41 54 5f = STATUS_FLOAT_ 40d0: 44 49 56 49 44 45 5f 42 59 5f 5a 45 52 4f 2c 0d DIVIDE_BY_ZERO,. 40e0: 0a 09 45 58 43 45 50 54 49 4f 4e 5f 46 4c 54 5f ..EXCEPTION_FLT_ 40f0: 49 4e 45 58 41 43 54 5f 52 45 53 55 4c 54 20 20 INEXACT_RESULT 4100: 20 20 20 20 20 3d 20 53 54 41 54 55 53 5f 46 4c = STATUS_FL 4110: 4f 41 54 5f 49 4e 45 58 41 43 54 5f 52 45 53 55 OAT_INEXACT_RESU 4120: 4c 54 2c 0d 0a 09 45 58 43 45 50 54 49 4f 4e 5f LT,...EXCEPTION_ 4130: 46 4c 54 5f 49 4e 56 41 4c 49 44 5f 4f 50 45 52 FLT_INVALID_OPER 4140: 41 54 49 4f 4e 20 20 20 20 3d 20 53 54 41 54 55 ATION = STATU 4150: 53 5f 46 4c 4f 41 54 5f 49 4e 56 41 4c 49 44 5f S_FLOAT_INVALID_ 4160: 4f 50 45 52 41 54 49 4f 4e 2c 0d 0a 09 45 58 43 OPERATION,...EXC 4170: 45 50 54 49 4f 4e 5f 46 4c 54 5f 4f 56 45 52 46 EPTION_FLT_OVERF 4180: 4c 4f 57 20 20 20 20 20 20 20 20 20 20 20 20 20 LOW 4190: 3d 20 53 54 41 54 55 53 5f 46 4c 4f 41 54 5f 4f = STATUS_FLOAT_O 41a0: 56 45 52 46 4c 4f 57 2c 0d 0a 09 45 58 43 45 50 VERFLOW,...EXCEP 41b0: 54 49 4f 4e 5f 46 4c 54 5f 53 54 41 43 4b 5f 43 TION_FLT_STACK_C 41c0: 48 45 43 4b 20 20 20 20 20 20 20 20 20 20 3d 20 HECK = 41d0: 53 54 41 54 55 53 5f 46 4c 4f 41 54 5f 53 54 41 STATUS_FLOAT_STA 41e0: 43 4b 5f 43 48 45 43 4b 2c 0d 0a 09 45 58 43 45 CK_CHECK,...EXCE 41f0: 50 54 49 4f 4e 5f 46 4c 54 5f 55 4e 44 45 52 46 PTION_FLT_UNDERF 4200: 4c 4f 57 20 20 20 20 20 20 20 20 20 20 20 20 3d LOW = 4210: 20 53 54 41 54 55 53 5f 46 4c 4f 41 54 5f 55 4e STATUS_FLOAT_UN 4220: 44 45 52 46 4c 4f 57 2c 0d 0a 09 45 58 43 45 50 DERFLOW,...EXCEP 4230: 54 49 4f 4e 5f 49 4e 54 5f 44 49 56 49 44 45 5f TION_INT_DIVIDE_ 4240: 42 59 5f 5a 45 52 4f 20 20 20 20 20 20 20 3d 20 BY_ZERO = 4250: 53 54 41 54 55 53 5f 49 4e 54 45 47 45 52 5f 44 STATUS_INTEGER_D 4260: 49 56 49 44 45 5f 42 59 5f 5a 45 52 4f 2c 0d 0a IVIDE_BY_ZERO,.. 4270: 09 45 58 43 45 50 54 49 4f 4e 5f 49 4e 54 5f 4f .EXCEPTION_INT_O 4280: 56 45 52 46 4c 4f 57 20 20 20 20 20 20 20 20 20 VERFLOW 4290: 20 20 20 20 3d 20 53 54 41 54 55 53 5f 49 4e 54 = STATUS_INT 42a0: 45 47 45 52 5f 4f 56 45 52 46 4c 4f 57 2c 0d 0a EGER_OVERFLOW,.. 42b0: 09 45 58 43 45 50 54 49 4f 4e 5f 50 52 49 56 5f .EXCEPTION_PRIV_ 42c0: 49 4e 53 54 52 55 43 54 49 4f 4e 20 20 20 20 20 INSTRUCTION 42d0: 20 20 20 20 3d 20 53 54 41 54 55 53 5f 50 52 49 = STATUS_PRI 42e0: 56 49 4c 45 47 45 44 5f 49 4e 53 54 52 55 43 54 VILEGED_INSTRUCT 42f0: 49 4f 4e 2c 0d 0a 09 45 58 43 45 50 54 49 4f 4e ION,...EXCEPTION 4300: 5f 49 4e 5f 50 41 47 45 5f 45 52 52 4f 52 20 20 _IN_PAGE_ERROR 4310: 20 20 20 20 20 20 20 20 20 20 3d 20 53 54 41 54 = STAT 4320: 55 53 5f 49 4e 5f 50 41 47 45 5f 45 52 52 4f 52 US_IN_PAGE_ERROR 4330: 2c 0d 0a 09 45 58 43 45 50 54 49 4f 4e 5f 49 4c ,...EXCEPTION_IL 4340: 4c 45 47 41 4c 5f 49 4e 53 54 52 55 43 54 49 4f LEGAL_INSTRUCTIO 4350: 4e 20 20 20 20 20 20 3d 20 53 54 41 54 55 53 5f N = STATUS_ 4360: 49 4c 4c 45 47 41 4c 5f 49 4e 53 54 52 55 43 54 ILLEGAL_INSTRUCT 4370: 49 4f 4e 2c 0d 0a 09 45 58 43 45 50 54 49 4f 4e ION,...EXCEPTION 4380: 5f 4e 4f 4e 43 4f 4e 54 49 4e 55 41 42 4c 45 5f _NONCONTINUABLE_ 4390: 45 58 43 45 50 54 49 4f 4e 20 3d 20 53 54 41 54 EXCEPTION = STAT 43a0: 55 53 5f 4e 4f 4e 43 4f 4e 54 49 4e 55 41 42 4c US_NONCONTINUABL 43b0: 45 5f 45 58 43 45 50 54 49 4f 4e 2c 0d 0a 09 45 E_EXCEPTION,...E 43c0: 58 43 45 50 54 49 4f 4e 5f 53 54 41 43 4b 5f 4f XCEPTION_STACK_O 43d0: 56 45 52 46 4c 4f 57 20 20 20 20 20 20 20 20 20 VERFLOW 43e0: 20 20 3d 20 53 54 41 54 55 53 5f 53 54 41 43 4b = STATUS_STACK 43f0: 5f 4f 56 45 52 46 4c 4f 57 2c 0d 0a 09 45 58 43 _OVERFLOW,...EXC 4400: 45 50 54 49 4f 4e 5f 49 4e 56 41 4c 49 44 5f 44 EPTION_INVALID_D 4410: 49 53 50 4f 53 49 54 49 4f 4e 20 20 20 20 20 20 ISPOSITION 4420: 3d 20 53 54 41 54 55 53 5f 49 4e 56 41 4c 49 44 = STATUS_INVALID 4430: 5f 44 49 53 50 4f 53 49 54 49 4f 4e 2c 0d 0a 09 _DISPOSITION,... 4440: 45 58 43 45 50 54 49 4f 4e 5f 47 55 41 52 44 5f EXCEPTION_GUARD_ 4450: 50 41 47 45 20 20 20 20 20 20 20 20 20 20 20 20 PAGE 4460: 20 20 20 3d 20 53 54 41 54 55 53 5f 47 55 41 52 = STATUS_GUAR 4470: 44 5f 50 41 47 45 5f 56 49 4f 4c 41 54 49 4f 4e D_PAGE_VIOLATION 4480: 2c 0d 0a 09 45 58 43 45 50 54 49 4f 4e 5f 49 4e ,...EXCEPTION_IN 4490: 56 41 4c 49 44 5f 48 41 4e 44 4c 45 20 20 20 20 VALID_HANDLE 44a0: 20 20 20 20 20 20 20 3d 20 53 54 41 54 55 53 5f = STATUS_ 44b0: 49 4e 56 41 4c 49 44 5f 48 41 4e 44 4c 45 0d 0a INVALID_HANDLE.. 44c0: 7d 0d 0a 0d 0a 2f 2f 20 66 6f 72 20 50 52 4f 43 }....// for PROC 44d0: 45 53 53 5f 48 45 41 50 5f 45 4e 54 52 59 0d 0a ESS_HEAP_ENTRY.. 44e0: 63 6f 6e 73 74 20 57 4f 52 44 0d 0a 09 50 52 4f const WORD...PRO 44f0: 43 45 53 53 5f 48 45 41 50 5f 52 45 47 49 4f 4e CESS_HEAP_REGION 4500: 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 20 31 = 1 4510: 2c 0d 0a 09 50 52 4f 43 45 53 53 5f 48 45 41 50 ,...PROCESS_HEAP 4520: 5f 55 4e 43 4f 4d 4d 49 54 54 45 44 5f 52 41 4e _UNCOMMITTED_RAN 4530: 47 45 20 3d 20 20 32 2c 0d 0a 09 50 52 4f 43 45 GE = 2,...PROCE 4540: 53 53 5f 48 45 41 50 5f 45 4e 54 52 59 5f 42 55 SS_HEAP_ENTRY_BU 4550: 53 59 20 20 20 20 20 20 20 20 3d 20 20 34 2c 0d SY = 4,. 4560: 0a 09 50 52 4f 43 45 53 53 5f 48 45 41 50 5f 45 ..PROCESS_HEAP_E 4570: 4e 54 52 59 5f 4d 4f 56 45 41 42 4c 45 20 20 20 NTRY_MOVEABLE 4580: 20 3d 20 31 36 2c 0d 0a 09 50 52 4f 43 45 53 53 = 16,...PROCESS 4590: 5f 48 45 41 50 5f 45 4e 54 52 59 5f 44 44 45 53 _HEAP_ENTRY_DDES 45a0: 48 41 52 45 20 20 20 20 3d 20 33 32 3b 0d 0a 0d HARE = 32;... 45b0: 0a 2f 2f 20 66 6f 72 20 4c 6f 61 64 4c 69 62 72 .// for LoadLibr 45c0: 61 72 79 45 78 28 29 0d 0a 63 6f 6e 73 74 20 44 aryEx()..const D 45d0: 57 4f 52 44 0d 0a 09 44 4f 4e 54 5f 52 45 53 4f WORD...DONT_RESO 45e0: 4c 56 45 5f 44 4c 4c 5f 52 45 46 45 52 45 4e 43 LVE_DLL_REFERENC 45f0: 45 53 20 20 20 3d 20 30 78 30 31 2c 20 2f 2f 20 ES = 0x01, // 4600: 6e 6f 74 20 66 6f 72 20 57 69 6e 4d 45 20 61 6e not for WinME an 4610: 64 20 65 61 72 6c 69 65 72 0d 0a 09 4c 4f 41 44 d earlier...LOAD 4620: 5f 4c 49 42 52 41 52 59 5f 41 53 5f 44 41 54 41 _LIBRARY_AS_DATA 4630: 46 49 4c 45 20 20 20 20 20 20 3d 20 30 78 30 32 FILE = 0x02 4640: 2c 0d 0a 09 4c 4f 41 44 5f 57 49 54 48 5f 41 4c ,...LOAD_WITH_AL 4650: 54 45 52 45 44 5f 53 45 41 52 43 48 5f 50 41 54 TERED_SEARCH_PAT 4660: 48 20 3d 20 30 78 30 38 2c 0d 0a 09 4c 4f 41 44 H = 0x08,...LOAD 4670: 5f 49 47 4e 4f 52 45 5f 43 4f 44 45 5f 41 55 54 _IGNORE_CODE_AUT 4680: 48 5a 5f 4c 45 56 45 4c 20 20 3d 20 30 78 31 30 HZ_LEVEL = 0x10 4690: 3b 20 2f 2f 20 6f 6e 6c 79 20 66 6f 72 20 58 50 ; // only for XP 46a0: 20 61 6e 64 20 6c 61 74 65 72 0d 0a 0d 0a 2f 2f and later....// 46b0: 20 66 6f 72 20 4c 6f 63 6b 46 69 6c 65 28 29 0d for LockFile(). 46c0: 0a 63 6f 6e 73 74 20 44 57 4f 52 44 0d 0a 09 4c .const DWORD...L 46d0: 4f 43 4b 46 49 4c 45 5f 46 41 49 4c 5f 49 4d 4d OCKFILE_FAIL_IMM 46e0: 45 44 49 41 54 45 4c 59 20 3d 20 31 2c 0d 0a 09 EDIATELY = 1,... 46f0: 4c 4f 43 4b 46 49 4c 45 5f 45 58 43 4c 55 53 49 LOCKFILE_EXCLUSI 4700: 56 45 5f 4c 4f 43 4b 20 20 20 3d 20 32 3b 0d 0a VE_LOCK = 2;.. 4710: 0d 0a 63 6f 6e 73 74 20 4d 41 58 49 4d 55 4d 5f ..const MAXIMUM_ 4720: 57 41 49 54 5f 4f 42 4a 45 43 54 53 20 20 3d 20 WAIT_OBJECTS = 4730: 36 34 3b 0d 0a 63 6f 6e 73 74 20 4d 41 58 49 4d 64;..const MAXIM 4740: 55 4d 5f 53 55 53 50 45 4e 44 5f 43 4f 55 4e 54 UM_SUSPEND_COUNT 4750: 20 3d 20 30 78 37 46 3b 0d 0a 0d 0a 63 6f 6e 73 = 0x7F;....cons 4760: 74 20 57 41 49 54 5f 4f 42 4a 45 43 54 5f 30 20 t WAIT_OBJECT_0 4770: 20 20 20 3d 20 30 3b 0d 0a 63 6f 6e 73 74 20 57 = 0;..const W 4780: 41 49 54 5f 41 42 41 4e 44 4f 4e 45 44 5f 30 20 AIT_ABANDONED_0 4790: 3d 20 31 32 38 3b 0d 0a 0d 0a 2f 2f 63 6f 6e 73 = 128;....//cons 47a0: 74 20 57 41 49 54 5f 54 49 4d 45 4f 55 54 3d 32 t WAIT_TIMEOUT=2 47b0: 35 38 3b 20 20 2f 2f 20 61 6c 73 6f 20 69 6e 20 58; // also in 47c0: 77 69 6e 65 72 72 6f 72 2e 68 0d 0a 0d 0a 65 6e winerror.h....en 47d0: 75 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 57 um : DWORD {...W 47e0: 41 49 54 5f 49 4f 5f 43 4f 4d 50 4c 45 54 49 4f AIT_IO_COMPLETIO 47f0: 4e 20 3d 20 30 78 30 30 30 30 30 30 43 30 2c 0d N = 0x000000C0,. 4800: 0a 09 57 41 49 54 5f 41 42 41 4e 44 4f 4e 45 44 ..WAIT_ABANDONED 4810: 20 20 20 20 20 3d 20 30 78 30 30 30 30 30 30 38 = 0x0000008 4820: 30 2c 0d 0a 09 57 41 49 54 5f 46 41 49 4c 45 44 0,...WAIT_FAILED 4830: 20 20 20 20 20 20 20 20 3d 20 30 78 46 46 46 46 = 0xFFFF 4840: 46 46 46 46 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 50 75 FFFF..}....// Pu 4850: 72 67 65 43 6f 6d 6d 28 29 0d 0a 63 6f 6e 73 74 rgeComm()..const 4860: 20 44 57 4f 52 44 0d 0a 09 50 55 52 47 45 5f 54 DWORD...PURGE_T 4870: 58 41 42 4f 52 54 20 3d 20 31 2c 0d 0a 09 50 55 XABORT = 1,...PU 4880: 52 47 45 5f 52 58 41 42 4f 52 54 20 3d 20 32 2c RGE_RXABORT = 2, 4890: 0d 0a 09 50 55 52 47 45 5f 54 58 43 4c 45 41 52 ...PURGE_TXCLEAR 48a0: 20 3d 20 34 2c 0d 0a 09 50 55 52 47 45 5f 52 58 = 4,...PURGE_RX 48b0: 43 4c 45 41 52 20 3d 20 38 3b 0d 0a 0d 0a 2f 2f CLEAR = 8;....// 48c0: 20 52 65 61 64 45 76 65 6e 74 4c 6f 67 28 29 0d ReadEventLog(). 48d0: 0a 63 6f 6e 73 74 20 44 57 4f 52 44 0d 0a 09 45 .const DWORD...E 48e0: 56 45 4e 54 4c 4f 47 5f 53 45 51 55 45 4e 54 49 VENTLOG_SEQUENTI 48f0: 41 4c 5f 52 45 41 44 20 3d 20 31 2c 0d 0a 09 45 AL_READ = 1,...E 4900: 56 45 4e 54 4c 4f 47 5f 53 45 45 4b 5f 52 45 41 VENTLOG_SEEK_REA 4910: 44 20 20 20 20 20 20 20 3d 20 32 2c 0d 0a 09 45 D = 2,...E 4920: 56 45 4e 54 4c 4f 47 5f 46 4f 52 57 41 52 44 53 VENTLOG_FORWARDS 4930: 5f 52 45 41 44 20 20 20 3d 20 34 2c 0d 0a 09 45 _READ = 4,...E 4940: 56 45 4e 54 4c 4f 47 5f 42 41 43 4b 57 41 52 44 VENTLOG_BACKWARD 4950: 53 5f 52 45 41 44 20 20 3d 20 38 3b 0d 0a 0d 0a S_READ = 8;.... 4960: 2f 2f 20 52 65 70 6f 72 74 45 76 65 6e 74 28 29 // ReportEvent() 4970: 0d 0a 65 6e 75 6d 20 3a 20 57 4f 52 44 20 7b 0d ..enum : WORD {. 4980: 0a 09 45 56 45 4e 54 4c 4f 47 5f 53 55 43 43 45 ..EVENTLOG_SUCCE 4990: 53 53 20 20 20 20 20 20 20 20 20 20 3d 20 30 2c SS = 0, 49a0: 0d 0a 09 45 56 45 4e 54 4c 4f 47 5f 45 52 52 4f ...EVENTLOG_ERRO 49b0: 52 5f 54 59 50 45 20 20 20 20 20 20 20 3d 20 31 R_TYPE = 1 49c0: 2c 0d 0a 09 45 56 45 4e 54 4c 4f 47 5f 57 41 52 ,...EVENTLOG_WAR 49d0: 4e 49 4e 47 5f 54 59 50 45 20 20 20 20 20 3d 20 NING_TYPE = 49e0: 32 2c 0d 0a 09 45 56 45 4e 54 4c 4f 47 5f 49 4e 2,...EVENTLOG_IN 49f0: 46 4f 52 4d 41 54 49 4f 4e 5f 54 59 50 45 20 3d FORMATION_TYPE = 4a00: 20 34 2c 0d 0a 09 45 56 45 4e 54 4c 4f 47 5f 41 4,...EVENTLOG_A 4a10: 55 44 49 54 5f 53 55 43 43 45 53 53 20 20 20 20 UDIT_SUCCESS 4a20: 3d 20 38 2c 0d 0a 09 45 56 45 4e 54 4c 4f 47 5f = 8,...EVENTLOG_ 4a30: 41 55 44 49 54 5f 46 41 49 4c 55 52 45 20 20 20 AUDIT_FAILURE 4a40: 20 3d 20 31 36 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 46 = 16..}....// F 4a50: 6f 72 6d 61 74 4d 65 73 73 61 67 65 28 29 0d 0a ormatMessage().. 4a60: 63 6f 6e 73 74 20 44 57 4f 52 44 0d 0a 09 46 4f const DWORD...FO 4a70: 52 4d 41 54 5f 4d 45 53 53 41 47 45 5f 41 4c 4c RMAT_MESSAGE_ALL 4a80: 4f 43 41 54 45 5f 42 55 46 46 45 52 20 3d 20 30 OCATE_BUFFER = 0 4a90: 78 30 31 30 30 2c 0d 0a 09 46 4f 52 4d 41 54 5f x0100,...FORMAT_ 4aa0: 4d 45 53 53 41 47 45 5f 49 47 4e 4f 52 45 5f 49 MESSAGE_IGNORE_I 4ab0: 4e 53 45 52 54 53 20 20 3d 20 30 78 30 32 30 30 NSERTS = 0x0200 4ac0: 2c 0d 0a 09 46 4f 52 4d 41 54 5f 4d 45 53 53 41 ,...FORMAT_MESSA 4ad0: 47 45 5f 46 52 4f 4d 5f 53 54 52 49 4e 47 20 20 GE_FROM_STRING 4ae0: 20 20 20 3d 20 30 78 30 34 30 30 2c 0d 0a 09 46 = 0x0400,...F 4af0: 4f 52 4d 41 54 5f 4d 45 53 53 41 47 45 5f 46 52 ORMAT_MESSAGE_FR 4b00: 4f 4d 5f 48 4d 4f 44 55 4c 45 20 20 20 20 3d 20 OM_HMODULE = 4b10: 30 78 30 38 30 30 2c 0d 0a 09 46 4f 52 4d 41 54 0x0800,...FORMAT 4b20: 5f 4d 45 53 53 41 47 45 5f 46 52 4f 4d 5f 53 59 _MESSAGE_FROM_SY 4b30: 53 54 45 4d 20 20 20 20 20 3d 20 30 78 31 30 30 STEM = 0x100 4b40: 30 2c 0d 0a 09 46 4f 52 4d 41 54 5f 4d 45 53 53 0,...FORMAT_MESS 4b50: 41 47 45 5f 41 52 47 55 4d 45 4e 54 5f 41 52 52 AGE_ARGUMENT_ARR 4b60: 41 59 20 20 3d 20 30 78 32 30 30 30 3b 0d 0a 0d AY = 0x2000;... 4b70: 0a 63 6f 6e 73 74 20 44 57 4f 52 44 20 46 4f 52 .const DWORD FOR 4b80: 4d 41 54 5f 4d 45 53 53 41 47 45 5f 4d 41 58 5f MAT_MESSAGE_MAX_ 4b90: 57 49 44 54 48 5f 4d 41 53 4b 20 3d 20 32 35 35 WIDTH_MASK = 255 4ba0: 3b 0d 0a 0d 0a 2f 2f 20 61 6c 73 6f 20 69 6e 20 ;....// also in 4bb0: 64 64 6b 2f 6e 74 61 70 69 2e 68 0d 0a 2f 2f 20 ddk/ntapi.h..// 4bc0: 54 6f 20 72 65 73 74 6f 72 65 20 64 65 66 61 75 To restore defau 4bd0: 6c 74 20 65 72 72 6f 72 20 6d 6f 64 65 2c 20 63 lt error mode, c 4be0: 61 6c 6c 20 53 65 74 45 72 72 6f 72 4d 6f 64 65 all SetErrorMode 4bf0: 28 30 29 0d 0a 65 6e 75 6d 20 7b 0d 0a 09 53 45 (0)..enum {...SE 4c00: 4d 5f 46 41 49 4c 43 52 49 54 49 43 41 4c 45 52 M_FAILCRITICALER 4c10: 52 4f 52 53 20 20 20 20 20 3d 20 30 78 30 30 30 RORS = 0x000 4c20: 31 2c 0d 0a 09 53 45 4d 5f 4e 4f 47 50 46 41 55 1,...SEM_NOGPFAU 4c30: 4c 54 45 52 52 4f 52 42 4f 58 20 20 20 20 20 20 LTERRORBOX 4c40: 3d 20 30 78 30 30 30 32 2c 0d 0a 09 53 45 4d 5f = 0x0002,...SEM_ 4c50: 4e 4f 41 4c 49 47 4e 4d 45 4e 54 46 41 55 4c 54 NOALIGNMENTFAULT 4c60: 45 58 43 45 50 54 20 3d 20 30 78 30 30 30 34 2c EXCEPT = 0x0004, 4c70: 0d 0a 09 53 45 4d 5f 4e 4f 4f 50 45 4e 46 49 4c ...SEM_NOOPENFIL 4c80: 45 45 52 52 4f 52 42 4f 58 20 20 20 20 20 3d 20 EERRORBOX = 4c90: 30 78 38 30 30 30 0d 0a 7d 0d 0a 2f 2f 20 65 6e 0x8000..}..// en 4ca0: 64 20 6e 74 61 70 69 2e 68 0d 0a 0d 0a 65 6e 75 d ntapi.h....enu 4cb0: 6d 20 7b 0d 0a 09 53 4c 45 5f 45 52 52 4f 52 20 m {...SLE_ERROR 4cc0: 3d 20 31 2c 0d 0a 09 53 4c 45 5f 4d 49 4e 4f 52 = 1,...SLE_MINOR 4cd0: 45 52 52 4f 52 2c 0d 0a 09 53 4c 45 5f 57 41 52 ERROR,...SLE_WAR 4ce0: 4e 49 4e 47 0d 0a 7d 0d 0a 0d 0a 63 6f 6e 73 74 NING..}....const 4cf0: 20 53 48 55 54 44 4f 57 4e 5f 4e 4f 52 45 54 52 SHUTDOWN_NORETR 4d00: 59 20 3d 20 31 3b 0d 0a 0d 0a 2f 2f 20 52 65 74 Y = 1;....// Ret 4d10: 75 72 6e 20 74 79 70 65 20 66 6f 72 20 65 78 63 urn type for exc 4d20: 65 70 74 69 6f 6e 20 66 69 6c 74 65 72 73 2e 0d eption filters.. 4d30: 0a 65 6e 75 6d 20 3a 20 4c 4f 4e 47 20 7b 0d 0a .enum : LONG {.. 4d40: 09 45 58 43 45 50 54 49 4f 4e 5f 45 58 45 43 55 .EXCEPTION_EXECU 4d50: 54 45 5f 48 41 4e 44 4c 45 52 20 20 20 20 3d 20 TE_HANDLER = 4d60: 20 31 2c 0d 0a 09 45 58 43 45 50 54 49 4f 4e 5f 1,...EXCEPTION_ 4d70: 43 4f 4e 54 49 4e 55 45 5f 45 58 45 43 55 54 49 CONTINUE_EXECUTI 4d80: 4f 4e 20 3d 20 2d 31 2c 0d 0a 09 45 58 43 45 50 ON = -1,...EXCEP 4d90: 54 49 4f 4e 5f 43 4f 4e 54 49 4e 55 45 5f 53 45 TION_CONTINUE_SE 4da0: 41 52 43 48 20 20 20 20 3d 20 20 30 0d 0a 7d 0d ARCH = 0..}. 4db0: 0a 0d 0a 65 6e 75 6d 20 20 3a 20 41 54 4f 4d 20 ...enum : ATOM 4dc0: 7b 0d 0a 09 4d 41 58 49 4e 54 41 54 4f 4d 20 20 {...MAXINTATOM 4dd0: 20 3d 20 30 78 43 30 30 30 2c 0d 0a 09 49 4e 56 = 0xC000,...INV 4de0: 41 4c 49 44 5f 41 54 4f 4d 20 3d 20 30 0d 0a 7d ALID_ATOM = 0..} 4df0: 0d 0a 0d 0a 63 6f 6e 73 74 20 49 47 4e 4f 52 45 ....const IGNORE 4e00: 20 20 20 3d 20 30 3b 0d 0a 63 6f 6e 73 74 20 49 = 0;..const I 4e10: 4e 46 49 4e 49 54 45 20 3d 20 30 78 46 46 46 46 NFINITE = 0xFFFF 4e20: 46 46 46 46 3b 0d 0a 0d 0a 2f 2f 20 45 73 63 61 FFFF;....// Esca 4e30: 70 65 43 6f 6d 6d 46 75 6e 63 74 69 6f 6e 28 29 peCommFunction() 4e40: 0d 0a 65 6e 75 6d 20 7b 0d 0a 09 53 45 54 58 4f ..enum {...SETXO 4e50: 46 46 20 20 20 20 3d 20 31 2c 0d 0a 09 53 45 54 FF = 1,...SET 4e60: 58 4f 4e 2c 0d 0a 09 53 45 54 52 54 53 2c 0d 0a XON,...SETRTS,.. 4e70: 09 43 4c 52 52 54 53 2c 0d 0a 09 53 45 54 44 54 .CLRRTS,...SETDT 4e80: 52 2c 0d 0a 09 43 4c 52 44 54 52 2c 20 2f 2f 20 R,...CLRDTR, // 4e90: 3d 20 36 0d 0a 09 53 45 54 42 52 45 41 4b 20 20 = 6...SETBREAK 4ea0: 20 3d 20 38 2c 0d 0a 09 43 4c 52 42 52 45 41 4b = 8,...CLRBREAK 4eb0: 20 20 20 3d 20 39 0d 0a 7d 0d 0a 0d 0a 0d 0a 2f = 9..}....../ 4ec0: 2f 20 66 6f 72 20 53 65 74 43 6f 6d 6d 4d 61 73 / for SetCommMas 4ed0: 6b 28 29 0d 0a 63 6f 6e 73 74 20 44 57 4f 52 44 k()..const DWORD 4ee0: 0d 0a 09 45 56 5f 52 58 43 48 41 52 20 20 20 3d ...EV_RXCHAR = 4ef0: 20 30 78 30 30 30 31 2c 0d 0a 09 45 56 5f 52 58 0x0001,...EV_RX 4f00: 46 4c 41 47 20 20 20 3d 20 30 78 30 30 30 32 2c FLAG = 0x0002, 4f10: 0d 0a 09 45 56 5f 54 58 45 4d 50 54 59 20 20 3d ...EV_TXEMPTY = 4f20: 20 30 78 30 30 30 34 2c 0d 0a 09 45 56 5f 43 54 0x0004,...EV_CT 4f30: 53 20 20 20 20 20 20 3d 20 30 78 30 30 30 38 2c S = 0x0008, 4f40: 0d 0a 09 45 56 5f 44 53 52 20 20 20 20 20 20 3d ...EV_DSR = 4f50: 20 30 78 30 30 31 30 2c 0d 0a 09 45 56 5f 52 4c 0x0010,...EV_RL 4f60: 53 44 20 20 20 20 20 3d 20 30 78 30 30 32 30 2c SD = 0x0020, 4f70: 0d 0a 09 45 56 5f 42 52 45 41 4b 20 20 20 20 3d ...EV_BREAK = 4f80: 20 30 78 30 30 34 30 2c 0d 0a 09 45 56 5f 45 52 0x0040,...EV_ER 4f90: 52 20 20 20 20 20 20 3d 20 30 78 30 30 38 30 2c R = 0x0080, 4fa0: 0d 0a 09 45 56 5f 52 49 4e 47 20 20 20 20 20 3d ...EV_RING = 4fb0: 20 30 78 30 31 30 30 2c 0d 0a 09 45 56 5f 50 45 0x0100,...EV_PE 4fc0: 52 52 20 20 20 20 20 3d 20 30 78 30 32 30 30 2c RR = 0x0200, 4fd0: 0d 0a 09 45 56 5f 52 58 38 30 46 55 4c 4c 20 3d ...EV_RX80FULL = 4fe0: 20 30 78 30 34 30 30 2c 0d 0a 09 45 56 5f 45 56 0x0400,...EV_EV 4ff0: 45 4e 54 31 20 20 20 3d 20 30 78 30 38 30 30 2c ENT1 = 0x0800, 5000: 0d 0a 09 45 56 5f 45 56 45 4e 54 32 20 20 20 3d ...EV_EVENT2 = 5010: 20 30 78 31 30 30 30 3b 0d 0a 0d 0a 2f 2f 20 47 0x1000;....// G 5020: 65 74 43 6f 6d 6d 4d 6f 64 65 6d 53 74 61 74 75 etCommModemStatu 5030: 73 28 29 0d 0a 63 6f 6e 73 74 20 44 57 4f 52 44 s()..const DWORD 5040: 0d 0a 09 4d 53 5f 43 54 53 5f 4f 4e 20 20 3d 20 ...MS_CTS_ON = 5050: 30 78 30 30 31 30 2c 0d 0a 09 4d 53 5f 44 53 52 0x0010,...MS_DSR 5060: 5f 4f 4e 20 20 3d 20 30 78 30 30 32 30 2c 0d 0a _ON = 0x0020,.. 5070: 09 4d 53 5f 52 49 4e 47 5f 4f 4e 20 3d 20 30 78 .MS_RING_ON = 0x 5080: 30 30 34 30 2c 0d 0a 09 4d 53 5f 52 4c 53 44 5f 0040,...MS_RLSD_ 5090: 4f 4e 20 3d 20 30 78 30 30 38 30 3b 0d 0a 0d 0a ON = 0x0080;.... 50a0: 0d 0a 2f 2f 20 44 43 42 0d 0a 65 6e 75 6d 20 3a ..// DCB..enum : 50b0: 20 42 59 54 45 20 7b 0d 0a 09 4e 4f 50 41 52 49 BYTE {...NOPARI 50c0: 54 59 20 3d 20 30 2c 0d 0a 09 4f 44 44 50 41 52 TY = 0,...ODDPAR 50d0: 49 54 59 2c 0d 0a 09 45 56 45 4e 50 41 52 49 54 ITY,...EVENPARIT 50e0: 59 2c 0d 0a 09 4d 41 52 4b 50 41 52 49 54 59 2c Y,...MARKPARITY, 50f0: 0d 0a 09 53 50 41 43 45 50 41 52 49 54 59 0d 0a ...SPACEPARITY.. 5100: 7d 0d 0a 2f 2f 20 44 43 42 0d 0a 65 6e 75 6d 20 }..// DCB..enum 5110: 3a 20 42 59 54 45 20 7b 0d 0a 09 4f 4e 45 53 54 : BYTE {...ONEST 5120: 4f 50 42 49 54 20 3d 20 30 2c 0d 0a 09 4f 4e 45 OPBIT = 0,...ONE 5130: 35 53 54 4f 50 42 49 54 53 2c 0d 0a 09 54 57 4f 5STOPBITS,...TWO 5140: 53 54 4f 50 42 49 54 53 0d 0a 7d 0d 0a 2f 2f 20 STOPBITS..}..// 5150: 44 43 42 0d 0a 65 6e 75 6d 20 3a 20 44 57 4f 52 DCB..enum : DWOR 5160: 44 20 7b 0d 0a 09 43 42 52 5f 31 31 30 20 20 20 D {...CBR_110 5170: 20 3d 20 20 20 20 31 31 30 2c 0d 0a 09 43 42 52 = 110,...CBR 5180: 5f 33 30 30 20 20 20 20 3d 20 20 20 20 33 30 30 _300 = 300 5190: 2c 0d 0a 09 43 42 52 5f 36 30 30 20 20 20 20 3d ,...CBR_600 = 51a0: 20 20 20 20 36 30 30 2c 0d 0a 09 43 42 52 5f 31 600,...CBR_1 51b0: 32 30 30 20 20 20 3d 20 20 20 31 32 30 30 2c 0d 200 = 1200,. 51c0: 0a 09 43 42 52 5f 32 34 30 30 20 20 20 3d 20 20 ..CBR_2400 = 51d0: 20 32 34 30 30 2c 0d 0a 09 43 42 52 5f 34 38 30 2400,...CBR_480 51e0: 30 20 20 20 3d 20 20 20 34 38 30 30 2c 0d 0a 09 0 = 4800,... 51f0: 43 42 52 5f 39 36 30 30 20 20 20 3d 20 20 20 39 CBR_9600 = 9 5200: 36 30 30 2c 0d 0a 09 43 42 52 5f 31 34 34 30 30 600,...CBR_14400 5210: 20 20 3d 20 20 31 34 34 30 30 2c 0d 0a 09 43 42 = 14400,...CB 5220: 52 5f 31 39 32 30 30 20 20 3d 20 20 31 39 32 30 R_19200 = 1920 5230: 30 2c 0d 0a 09 43 42 52 5f 33 38 34 30 30 20 20 0,...CBR_38400 5240: 3d 20 20 33 38 34 30 30 2c 0d 0a 09 43 42 52 5f = 38400,...CBR_ 5250: 35 36 30 30 30 20 20 3d 20 20 35 36 30 30 30 2c 56000 = 56000, 5260: 0d 0a 09 43 42 52 5f 35 37 36 30 30 20 20 3d 20 ...CBR_57600 = 5270: 20 35 37 36 30 30 2c 0d 0a 09 43 42 52 5f 31 31 57600,...CBR_11 5280: 35 32 30 30 20 3d 20 31 31 35 32 30 30 2c 0d 0a 5200 = 115200,.. 5290: 09 43 42 52 5f 31 32 38 30 30 30 20 3d 20 31 32 .CBR_128000 = 12 52a0: 38 30 30 30 2c 0d 0a 09 43 42 52 5f 32 35 36 30 8000,...CBR_2560 52b0: 30 30 20 3d 20 32 35 36 30 30 30 0d 0a 7d 0d 0a 00 = 256000..}.. 52c0: 2f 2f 20 44 43 42 2c 20 32 2d 62 69 74 20 62 69 // DCB, 2-bit bi 52d0: 74 66 69 65 6c 64 0d 0a 65 6e 75 6d 20 7b 0d 0a tfield..enum {.. 52e0: 09 44 54 52 5f 43 4f 4e 54 52 4f 4c 5f 44 49 53 .DTR_CONTROL_DIS 52f0: 41 42 4c 45 20 3d 20 30 2c 0d 0a 09 44 54 52 5f ABLE = 0,...DTR_ 5300: 43 4f 4e 54 52 4f 4c 5f 45 4e 41 42 4c 45 2c 0d CONTROL_ENABLE,. 5310: 0a 09 44 54 52 5f 43 4f 4e 54 52 4f 4c 5f 48 41 ..DTR_CONTROL_HA 5320: 4e 44 53 48 41 4b 45 0d 0a 7d 0d 0a 0d 0a 2f 2f NDSHAKE..}....// 5330: 20 44 43 42 2c 20 32 2d 62 69 74 20 62 69 74 66 DCB, 2-bit bitf 5340: 69 65 6c 64 0d 0a 65 6e 75 6d 20 7b 0d 0a 09 52 ield..enum {...R 5350: 54 53 5f 43 4f 4e 54 52 4f 4c 5f 44 49 53 41 42 TS_CONTROL_DISAB 5360: 4c 45 20 3d 20 30 2c 0d 0a 09 52 54 53 5f 43 4f LE = 0,...RTS_CO 5370: 4e 54 52 4f 4c 5f 45 4e 41 42 4c 45 2c 0d 0a 09 NTROL_ENABLE,... 5380: 52 54 53 5f 43 4f 4e 54 52 4f 4c 5f 48 41 4e 44 RTS_CONTROL_HAND 5390: 53 48 41 4b 45 2c 0d 0a 09 52 54 53 5f 43 4f 4e SHAKE,...RTS_CON 53a0: 54 52 4f 4c 5f 54 4f 47 47 4c 45 2c 0d 0a 7d 0d TROL_TOGGLE,..}. 53b0: 0a 0d 0a 2f 2f 20 57 49 4e 33 32 5f 53 54 52 45 ...// WIN32_STRE 53c0: 41 4d 5f 49 44 0d 0a 65 6e 75 6d 20 3a 20 44 57 AM_ID..enum : DW 53d0: 4f 52 44 20 7b 0d 0a 09 42 41 43 4b 55 50 5f 49 ORD {...BACKUP_I 53e0: 4e 56 41 4c 49 44 20 3d 20 30 2c 0d 0a 09 42 41 NVALID = 0,...BA 53f0: 43 4b 55 50 5f 44 41 54 41 2c 0d 0a 09 42 41 43 CKUP_DATA,...BAC 5400: 4b 55 50 5f 45 41 5f 44 41 54 41 2c 0d 0a 09 42 KUP_EA_DATA,...B 5410: 41 43 4b 55 50 5f 53 45 43 55 52 49 54 59 5f 44 ACKUP_SECURITY_D 5420: 41 54 41 2c 0d 0a 09 42 41 43 4b 55 50 5f 41 4c ATA,...BACKUP_AL 5430: 54 45 52 4e 41 54 45 5f 44 41 54 41 2c 0d 0a 09 TERNATE_DATA,... 5440: 42 41 43 4b 55 50 5f 4c 49 4e 4b 2c 0d 0a 09 42 BACKUP_LINK,...B 5450: 41 43 4b 55 50 5f 50 52 4f 50 45 52 54 59 5f 44 ACKUP_PROPERTY_D 5460: 41 54 41 2c 0d 0a 09 42 41 43 4b 55 50 5f 4f 42 ATA,...BACKUP_OB 5470: 4a 45 43 54 5f 49 44 2c 0d 0a 09 42 41 43 4b 55 JECT_ID,...BACKU 5480: 50 5f 52 45 50 41 52 53 45 5f 44 41 54 41 2c 0d P_REPARSE_DATA,. 5490: 0a 09 42 41 43 4b 55 50 5f 53 50 41 52 53 45 5f ..BACKUP_SPARSE_ 54a0: 42 4c 4f 43 4b 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 57 BLOCK..}....// W 54b0: 49 4e 33 32 5f 53 54 52 45 41 4d 5f 49 44 0d 0a IN32_STREAM_ID.. 54c0: 65 6e 75 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a enum : DWORD {.. 54d0: 09 53 54 52 45 41 4d 5f 4e 4f 52 4d 41 4c 5f 41 .STREAM_NORMAL_A 54e0: 54 54 52 49 42 55 54 45 20 20 20 20 3d 20 30 2c TTRIBUTE = 0, 54f0: 0d 0a 09 53 54 52 45 41 4d 5f 4d 4f 44 49 46 49 ...STREAM_MODIFI 5500: 45 44 5f 57 48 45 4e 5f 52 45 41 44 20 20 3d 20 ED_WHEN_READ = 5510: 31 2c 0d 0a 09 53 54 52 45 41 4d 5f 43 4f 4e 54 1,...STREAM_CONT 5520: 41 49 4e 53 5f 53 45 43 55 52 49 54 59 20 20 20 AINS_SECURITY 5530: 3d 20 32 2c 0d 0a 09 53 54 52 45 41 4d 5f 43 4f = 2,...STREAM_CO 5540: 4e 54 41 49 4e 53 5f 50 52 4f 50 45 52 54 49 45 NTAINS_PROPERTIE 5550: 53 20 3d 20 34 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 53 S = 4..}....// S 5560: 54 41 52 54 55 50 49 4e 46 4f 0d 0a 63 6f 6e 73 TARTUPINFO..cons 5570: 74 20 44 57 4f 52 44 0d 0a 09 53 54 41 52 54 46 t DWORD...STARTF 5580: 5f 55 53 45 53 48 4f 57 57 49 4e 44 4f 57 20 20 _USESHOWWINDOW 5590: 20 20 3d 20 30 78 30 30 30 31 2c 0d 0a 09 53 54 = 0x0001,...ST 55a0: 41 52 54 46 5f 55 53 45 53 49 5a 45 20 20 20 20 ARTF_USESIZE 55b0: 20 20 20 20 20 20 3d 20 30 78 30 30 30 32 2c 0d = 0x0002,. 55c0: 0a 09 53 54 41 52 54 46 5f 55 53 45 50 4f 53 49 ..STARTF_USEPOSI 55d0: 54 49 4f 4e 20 20 20 20 20 20 3d 20 30 78 30 30 TION = 0x00 55e0: 30 34 2c 0d 0a 09 53 54 41 52 54 46 5f 55 53 45 04,...STARTF_USE 55f0: 43 4f 55 4e 54 43 48 41 52 53 20 20 20 20 3d 20 COUNTCHARS = 5600: 30 78 30 30 30 38 2c 0d 0a 09 53 54 41 52 54 46 0x0008,...STARTF 5610: 5f 55 53 45 46 49 4c 4c 41 54 54 52 49 42 55 54 _USEFILLATTRIBUT 5620: 45 20 3d 20 30 78 30 30 31 30 2c 0d 0a 09 53 54 E = 0x0010,...ST 5630: 41 52 54 46 5f 52 55 4e 46 55 4c 4c 53 43 52 45 ARTF_RUNFULLSCRE 5640: 45 4e 20 20 20 20 3d 20 30 78 30 30 32 30 2c 0d EN = 0x0020,. 5650: 0a 09 53 54 41 52 54 46 5f 46 4f 52 43 45 4f 4e ..STARTF_FORCEON 5660: 46 45 45 44 42 41 43 4b 20 20 3d 20 30 78 30 30 FEEDBACK = 0x00 5670: 34 30 2c 0d 0a 09 53 54 41 52 54 46 5f 46 4f 52 40,...STARTF_FOR 5680: 43 45 4f 46 46 46 45 45 44 42 41 43 4b 20 3d 20 CEOFFFEEDBACK = 5690: 30 78 30 30 38 30 2c 0d 0a 09 53 54 41 52 54 46 0x0080,...STARTF 56a0: 5f 55 53 45 53 54 44 48 41 4e 44 4c 45 53 20 20 _USESTDHANDLES 56b0: 20 20 3d 20 30 78 30 31 30 30 2c 0d 0a 09 53 54 = 0x0100,...ST 56c0: 41 52 54 46 5f 55 53 45 48 4f 54 4b 45 59 20 20 ARTF_USEHOTKEY 56d0: 20 20 20 20 20 20 3d 20 30 78 30 32 30 30 3b 0d = 0x0200;. 56e0: 0a 0d 0a 2f 2f 20 3f 3f 3f 0d 0a 65 6e 75 6d 20 ...// ???..enum 56f0: 7b 0d 0a 09 54 43 5f 4e 4f 52 4d 41 4c 20 20 3d {...TC_NORMAL = 5700: 20 30 2c 0d 0a 09 54 43 5f 48 41 52 44 45 52 52 0,...TC_HARDERR 5710: 20 3d 20 31 2c 0d 0a 09 54 43 5f 47 50 5f 54 52 = 1,...TC_GP_TR 5720: 41 50 20 3d 20 32 2c 0d 0a 09 54 43 5f 53 49 47 AP = 2,...TC_SIG 5730: 4e 41 4c 20 20 3d 20 33 0d 0a 7d 0d 0a 0d 0a 2f NAL = 3..}..../ 5740: 2b 20 54 68 65 73 65 20 73 65 65 6d 20 74 6f 20 + These seem to 5750: 62 65 20 57 69 6e 64 6f 77 73 20 43 45 2d 73 70 be Windows CE-sp 5760: 65 63 69 66 69 63 0d 0a 65 6e 75 6d 20 7b 0d 0a ecific..enum {.. 5770: 09 41 43 5f 4c 49 4e 45 5f 4f 46 46 4c 49 4e 45 .AC_LINE_OFFLINE 5780: 20 20 20 20 20 20 3d 20 30 2c 0d 0a 09 41 43 5f = 0,...AC_ 5790: 4c 49 4e 45 5f 4f 4e 4c 49 4e 45 20 20 20 20 20 LINE_ONLINE 57a0: 20 20 3d 20 31 2c 0d 0a 09 41 43 5f 4c 49 4e 45 = 1,...AC_LINE 57b0: 5f 42 41 43 4b 55 50 5f 50 4f 57 45 52 20 3d 20 _BACKUP_POWER = 57c0: 32 2c 0d 0a 09 41 43 5f 4c 49 4e 45 5f 55 4e 4b 2,...AC_LINE_UNK 57d0: 4e 4f 57 4e 20 20 20 20 20 20 3d 20 32 35 35 0d NOWN = 255. 57e0: 0a 7d 0d 0a 0d 0a 65 6e 75 6d 20 7b 0d 0a 09 42 .}....enum {...B 57f0: 41 54 54 45 52 59 5f 46 4c 41 47 5f 48 49 47 48 ATTERY_FLAG_HIGH 5800: 20 20 20 20 20 20 20 20 20 20 3d 20 31 2c 0d 0a = 1,.. 5810: 09 42 41 54 54 45 52 59 5f 46 4c 41 47 5f 4c 4f .BATTERY_FLAG_LO 5820: 57 20 20 20 20 20 20 20 20 20 20 20 3d 20 32 2c W = 2, 5830: 0d 0a 09 42 41 54 54 45 52 59 5f 46 4c 41 47 5f ...BATTERY_FLAG_ 5840: 43 52 49 54 49 43 41 4c 20 20 20 20 20 20 3d 20 CRITICAL = 5850: 34 2c 0d 0a 09 42 41 54 54 45 52 59 5f 46 4c 41 4,...BATTERY_FLA 5860: 47 5f 43 48 41 52 47 49 4e 47 20 20 20 20 20 20 G_CHARGING 5870: 3d 20 38 2c 0d 0a 09 42 41 54 54 45 52 59 5f 46 = 8,...BATTERY_F 5880: 4c 41 47 5f 4e 4f 5f 42 41 54 54 45 52 59 20 20 LAG_NO_BATTERY 5890: 20 20 3d 20 31 32 38 2c 0d 0a 09 42 41 54 54 45 = 128,...BATTE 58a0: 52 59 5f 46 4c 41 47 5f 55 4e 4b 4e 4f 57 4e 20 RY_FLAG_UNKNOWN 58b0: 20 20 20 20 20 20 3d 20 32 35 35 2c 0d 0a 09 42 = 255,...B 58c0: 41 54 54 45 52 59 5f 50 45 52 43 45 4e 54 41 47 ATTERY_PERCENTAG 58d0: 45 5f 55 4e 4b 4e 4f 57 4e 20 3d 20 32 35 35 2c E_UNKNOWN = 255, 58e0: 0d 0a 09 42 41 54 54 45 52 59 5f 4c 49 46 45 5f ...BATTERY_LIFE_ 58f0: 55 4e 4b 4e 4f 57 4e 20 20 20 20 20 20 20 3d 20 UNKNOWN = 5900: 30 78 46 46 46 46 46 46 46 46 0d 0a 7d 0d 0a 2b 0xFFFFFFFF..}..+ 5910: 2f 0d 0a 0d 0a 2f 2f 20 3f 3f 3f 0d 0a 63 6f 6e /....// ???..con 5920: 73 74 20 48 49 4e 53 54 41 4e 43 45 5f 45 52 52 st HINSTANCE_ERR 5930: 4f 52 20 3d 20 33 32 3b 0d 0a 0d 0a 2f 2f 20 72 OR = 32;....// r 5940: 65 74 75 72 6e 65 64 20 66 72 6f 6d 20 47 65 74 eturned from Get 5950: 46 69 6c 65 53 69 7a 65 28 29 0d 0a 63 6f 6e 73 FileSize()..cons 5960: 74 20 44 57 4f 52 44 20 49 4e 56 41 4c 49 44 5f t DWORD INVALID_ 5970: 46 49 4c 45 5f 53 49 5a 45 20 3d 20 30 78 46 46 FILE_SIZE = 0xFF 5980: 46 46 46 46 46 46 3b 0d 0a 0d 0a 63 6f 6e 73 74 FFFFFF;....const 5990: 20 44 57 4f 52 44 20 54 4c 53 5f 4f 55 54 5f 4f DWORD TLS_OUT_O 59a0: 46 5f 49 4e 44 45 58 45 53 20 3d 20 30 78 46 46 F_INDEXES = 0xFF 59b0: 46 46 46 46 46 46 3b 0d 0a 0d 0a 2f 2f 20 47 65 FFFFFF;....// Ge 59c0: 74 57 72 69 74 65 57 61 74 63 68 28 29 0d 0a 63 tWriteWatch()..c 59d0: 6f 6e 73 74 20 44 57 4f 52 44 20 57 52 49 54 45 onst DWORD WRITE 59e0: 5f 57 41 54 43 48 5f 46 4c 41 47 5f 52 45 53 45 _WATCH_FLAG_RESE 59f0: 54 20 3d 20 31 3b 0d 0a 0d 0a 2f 2f 20 66 6f 72 T = 1;....// for 5a00: 20 4c 6f 67 6f 6e 55 73 65 72 28 29 0d 0a 65 6e LogonUser()..en 5a10: 75 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 4c um : DWORD {...L 5a20: 4f 47 4f 4e 33 32 5f 4c 4f 47 4f 4e 5f 49 4e 54 OGON32_LOGON_INT 5a30: 45 52 41 43 54 49 56 45 20 3d 20 32 2c 0d 0a 09 ERACTIVE = 2,... 5a40: 4c 4f 47 4f 4e 33 32 5f 4c 4f 47 4f 4e 5f 4e 45 LOGON32_LOGON_NE 5a50: 54 57 4f 52 4b 20 20 20 20 20 3d 20 33 2c 0d 0a TWORK = 3,.. 5a60: 09 4c 4f 47 4f 4e 33 32 5f 4c 4f 47 4f 4e 5f 42 .LOGON32_LOGON_B 5a70: 41 54 43 48 20 20 20 20 20 20 20 3d 20 34 2c 0d ATCH = 4,. 5a80: 0a 09 4c 4f 47 4f 4e 33 32 5f 4c 4f 47 4f 4e 5f ..LOGON32_LOGON_ 5a90: 53 45 52 56 49 43 45 20 20 20 20 20 3d 20 35 2c SERVICE = 5, 5aa0: 0d 0a 09 4c 4f 47 4f 4e 33 32 5f 4c 4f 47 4f 4e ...LOGON32_LOGON 5ab0: 5f 55 4e 4c 4f 43 4b 20 20 20 20 20 20 3d 20 37 _UNLOCK = 7 5ac0: 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 66 6f 72 20 4c 6f ..}....// for Lo 5ad0: 67 6f 6e 55 73 65 72 28 29 0d 0a 65 6e 75 6d 20 gonUser()..enum 5ae0: 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 4c 4f 47 4f : DWORD {...LOGO 5af0: 4e 33 32 5f 50 52 4f 56 49 44 45 52 5f 44 45 46 N32_PROVIDER_DEF 5b00: 41 55 4c 54 2c 0d 0a 09 4c 4f 47 4f 4e 33 32 5f AULT,...LOGON32_ 5b10: 50 52 4f 56 49 44 45 52 5f 57 49 4e 4e 54 33 35 PROVIDER_WINNT35 5b20: 2c 0d 0a 09 4c 4f 47 4f 4e 33 32 5f 50 52 4f 56 ,...LOGON32_PROV 5b30: 49 44 45 52 5f 57 49 4e 4e 54 34 30 2c 0d 0a 09 IDER_WINNT40,... 5b40: 4c 4f 47 4f 4e 33 32 5f 50 52 4f 56 49 44 45 52 LOGON32_PROVIDER 5b50: 5f 57 49 4e 4e 54 35 30 0d 0a 7d 0d 0a 0d 0a 2f _WINNT50..}..../ 5b60: 2f 20 66 6f 72 20 4d 6f 76 65 46 69 6c 65 45 78 / for MoveFileEx 5b70: 28 29 0d 0a 63 6f 6e 73 74 20 44 57 4f 52 44 0d ()..const DWORD. 5b80: 0a 09 4d 4f 56 45 46 49 4c 45 5f 52 45 50 4c 41 ..MOVEFILE_REPLA 5b90: 43 45 5f 45 58 49 53 54 49 4e 47 20 20 20 3d 20 CE_EXISTING = 5ba0: 31 2c 0d 0a 09 4d 4f 56 45 46 49 4c 45 5f 43 4f 1,...MOVEFILE_CO 5bb0: 50 59 5f 41 4c 4c 4f 57 45 44 20 20 20 20 20 20 PY_ALLOWED 5bc0: 20 3d 20 32 2c 0d 0a 09 4d 4f 56 45 46 49 4c 45 = 2,...MOVEFILE 5bd0: 5f 44 45 4c 41 59 5f 55 4e 54 49 4c 5f 52 45 42 _DELAY_UNTIL_REB 5be0: 4f 4f 54 20 3d 20 34 2c 0d 0a 09 4d 4f 56 45 46 OOT = 4,...MOVEF 5bf0: 49 4c 45 5f 57 52 49 54 45 5f 54 48 52 4f 55 47 ILE_WRITE_THROUG 5c00: 48 20 20 20 20 20 20 3d 20 38 3b 0d 0a 0d 0a 2f H = 8;..../ 5c10: 2f 20 44 65 66 69 6e 65 44 6f 73 44 65 76 69 63 / DefineDosDevic 5c20: 65 28 29 0d 0a 63 6f 6e 73 74 20 44 57 4f 52 44 e()..const DWORD 5c30: 0d 0a 09 44 44 44 5f 52 41 57 5f 54 41 52 47 45 ...DDD_RAW_TARGE 5c40: 54 5f 50 41 54 48 20 20 20 20 20 20 20 3d 20 31 T_PATH = 1 5c50: 2c 0d 0a 09 44 44 44 5f 52 45 4d 4f 56 45 5f 44 ,...DDD_REMOVE_D 5c60: 45 46 49 4e 49 54 49 4f 4e 20 20 20 20 20 3d 20 EFINITION = 5c70: 32 2c 0d 0a 09 44 44 44 5f 45 58 41 43 54 5f 4d 2,...DDD_EXACT_M 5c80: 41 54 43 48 5f 4f 4e 5f 52 45 4d 4f 56 45 20 3d ATCH_ON_REMOVE = 5c90: 20 34 3b 0d 0a 0d 0a 73 74 61 74 69 63 20 69 66 4;....static if 5ca0: 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 20 3e (_WIN32_WINNT > 5cb0: 3d 20 30 78 35 30 30 29 20 7b 0d 0a 09 65 6e 75 = 0x500) {...enu 5cc0: 6d 20 3a 20 44 57 4f 52 44 20 7b 0d 0a 09 09 4c m : DWORD {....L 5cd0: 4f 47 4f 4e 33 32 5f 4c 4f 47 4f 4e 5f 4e 45 54 OGON32_LOGON_NET 5ce0: 57 4f 52 4b 5f 43 4c 45 41 52 54 45 58 54 20 3d WORK_CLEARTEXT = 5cf0: 20 38 2c 0d 0a 09 09 4c 4f 47 4f 4e 33 32 5f 4c 8,....LOGON32_L 5d00: 4f 47 4f 4e 5f 4e 45 57 5f 43 52 45 44 45 4e 54 OGON_NEW_CREDENT 5d10: 49 41 4c 53 20 20 20 3d 20 39 0d 0a 09 7d 0d 0a IALS = 9...}.. 5d20: 0d 0a 09 2f 2f 20 52 65 70 6c 61 63 65 46 69 6c ...// ReplaceFil 5d30: 65 28 29 0d 0a 09 63 6f 6e 73 74 20 44 57 4f 52 e()...const DWOR 5d40: 44 0d 0a 09 09 52 45 50 4c 41 43 45 46 49 4c 45 D....REPLACEFILE 5d50: 5f 57 52 49 54 45 5f 54 48 52 4f 55 47 48 20 20 _WRITE_THROUGH 5d60: 20 20 20 20 20 3d 20 31 2c 0d 0a 09 09 52 45 50 = 1,....REP 5d70: 4c 41 43 45 46 49 4c 45 5f 49 47 4e 4f 52 45 5f LACEFILE_IGNORE_ 5d80: 4d 45 52 47 45 5f 45 52 52 4f 52 53 20 3d 20 32 MERGE_ERRORS = 2 5d90: 3b 0d 0a 7d 0d 0a 0d 0a 73 74 61 74 69 63 20 69 ;..}....static i 5da0: 66 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 20 f (_WIN32_WINNT 5db0: 3e 3d 20 30 78 35 30 31 29 20 7b 0d 0a 09 63 6f >= 0x501) {...co 5dc0: 6e 73 74 20 44 57 4f 52 44 0d 0a 09 09 47 45 54 nst DWORD....GET 5dd0: 5f 4d 4f 44 55 4c 45 5f 48 41 4e 44 4c 45 5f 45 _MODULE_HANDLE_E 5de0: 58 5f 46 4c 41 47 5f 50 49 4e 20 20 20 20 20 20 X_FLAG_PIN 5df0: 20 20 20 20 20 20 20 20 20 20 3d 20 31 2c 0d 0a = 1,.. 5e00: 09 09 47 45 54 5f 4d 4f 44 55 4c 45 5f 48 41 4e ..GET_MODULE_HAN 5e10: 44 4c 45 5f 45 58 5f 46 4c 41 47 5f 55 4e 43 48 DLE_EX_FLAG_UNCH 5e20: 41 4e 47 45 44 5f 52 45 46 43 4f 55 4e 54 20 3d ANGED_REFCOUNT = 5e30: 20 32 2c 0d 0a 09 09 47 45 54 5f 4d 4f 44 55 4c 2,....GET_MODUL 5e40: 45 5f 48 41 4e 44 4c 45 5f 45 58 5f 46 4c 41 47 E_HANDLE_EX_FLAG 5e50: 5f 46 52 4f 4d 5f 41 44 44 52 45 53 53 20 20 20 _FROM_ADDRESS 5e60: 20 20 20 20 3d 20 34 3b 0d 0a 0d 0a 09 2f 2f 20 = 4;.....// 5e70: 66 6f 72 20 41 43 54 43 54 58 0d 0a 09 63 6f 6e for ACTCTX...con 5e80: 73 74 20 44 57 4f 52 44 0d 0a 09 09 41 43 54 43 st DWORD....ACTC 5e90: 54 58 5f 46 4c 41 47 5f 50 52 4f 43 45 53 53 4f TX_FLAG_PROCESSO 5ea0: 52 5f 41 52 43 48 49 54 45 43 54 55 52 45 5f 56 R_ARCHITECTURE_V 5eb0: 41 4c 49 44 20 3d 20 30 78 30 31 2c 0d 0a 09 09 ALID = 0x01,.... 5ec0: 41 43 54 43 54 58 5f 46 4c 41 47 5f 4c 41 4e 47 ACTCTX_FLAG_LANG 5ed0: 49 44 5f 56 41 4c 49 44 20 20 20 20 20 20 20 20 ID_VALID 5ee0: 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 32 2c = 0x02, 5ef0: 0d 0a 09 09 41 43 54 43 54 58 5f 46 4c 41 47 5f ....ACTCTX_FLAG_ 5f00: 41 53 53 45 4d 42 4c 59 5f 44 49 52 45 43 54 4f ASSEMBLY_DIRECTO 5f10: 52 59 5f 56 41 4c 49 44 20 20 20 20 20 3d 20 30 RY_VALID = 0 5f20: 78 30 34 2c 0d 0a 09 09 41 43 54 43 54 58 5f 46 x04,....ACTCTX_F 5f30: 4c 41 47 5f 52 45 53 4f 55 52 43 45 5f 4e 41 4d LAG_RESOURCE_NAM 5f40: 45 5f 56 41 4c 49 44 20 20 20 20 20 20 20 20 20 E_VALID 5f50: 20 3d 20 30 78 30 38 2c 0d 0a 09 09 41 43 54 43 = 0x08,....ACTC 5f60: 54 58 5f 46 4c 41 47 5f 53 45 54 5f 50 52 4f 43 TX_FLAG_SET_PROC 5f70: 45 53 53 5f 44 45 46 41 55 4c 54 20 20 20 20 20 ESS_DEFAULT 5f80: 20 20 20 20 20 3d 20 30 78 31 30 2c 0d 0a 09 09 = 0x10,.... 5f90: 41 43 54 43 54 58 5f 46 4c 41 47 5f 41 50 50 4c ACTCTX_FLAG_APPL 5fa0: 49 43 41 54 49 4f 4e 5f 4e 41 4d 45 5f 56 41 4c ICATION_NAME_VAL 5fb0: 49 44 20 20 20 20 20 20 20 3d 20 30 78 32 30 2c ID = 0x20, 5fc0: 0d 0a 09 09 41 43 54 43 54 58 5f 46 4c 41 47 5f ....ACTCTX_FLAG_ 5fd0: 48 4d 4f 44 55 4c 45 5f 56 41 4c 49 44 20 20 20 HMODULE_VALID 5fe0: 20 20 20 20 20 20 20 20 20 20 20 20 20 3d 20 30 = 0 5ff0: 78 38 30 3b 0d 0a 0d 0a 09 2f 2f 20 44 65 61 63 x80;.....// Deac 6000: 74 69 76 61 74 65 41 63 74 43 74 78 28 29 0d 0a tivateActCtx().. 6010: 09 63 6f 6e 73 74 20 44 57 4f 52 44 20 44 45 41 .const DWORD DEA 6020: 43 54 49 56 41 54 45 5f 41 43 54 43 54 58 5f 46 CTIVATE_ACTCTX_F 6030: 4c 41 47 5f 46 4f 52 43 45 5f 45 41 52 4c 59 5f LAG_FORCE_EARLY_ 6040: 44 45 41 43 54 49 56 41 54 49 4f 4e 20 3d 20 31 DEACTIVATION = 1 6050: 3b 0d 0a 09 2f 2f 20 46 69 6e 64 41 63 74 43 74 ;...// FindActCt 6060: 78 53 65 63 74 69 6f 6e 53 74 72 69 6e 67 28 29 xSectionString() 6070: 0d 0a 09 63 6f 6e 73 74 20 44 57 4f 52 44 20 46 ...const DWORD F 6080: 49 4e 44 5f 41 43 54 43 54 58 5f 53 45 43 54 49 IND_ACTCTX_SECTI 6090: 4f 4e 5f 4b 45 59 5f 52 45 54 55 52 4e 5f 48 41 ON_KEY_RETURN_HA 60a0: 43 54 43 54 58 20 20 20 20 20 20 20 20 20 20 3d CTCTX = 60b0: 20 31 3b 0d 0a 09 2f 2f 20 51 75 65 72 79 41 63 1;...// QueryAc 60c0: 74 43 74 78 57 28 29 0d 0a 09 63 6f 6e 73 74 20 tCtxW()...const 60d0: 44 57 4f 52 44 0d 0a 09 09 51 55 45 52 59 5f 41 DWORD....QUERY_A 60e0: 43 54 43 54 58 5f 46 4c 41 47 5f 55 53 45 5f 41 CTCTX_FLAG_USE_A 60f0: 43 54 49 56 45 5f 41 43 54 43 54 58 20 20 20 20 CTIVE_ACTCTX 6100: 20 20 20 20 20 20 20 20 20 3d 20 30 78 30 34 2c = 0x04, 6110: 0d 0a 09 09 51 55 45 52 59 5f 41 43 54 43 54 58 ....QUERY_ACTCTX 6120: 5f 46 4c 41 47 5f 41 43 54 43 54 58 5f 49 53 5f _FLAG_ACTCTX_IS_ 6130: 48 4d 4f 44 55 4c 45 20 20 20 20 20 20 20 20 20 HMODULE 6140: 20 20 20 20 3d 20 30 78 30 38 2c 0d 0a 09 09 51 = 0x08,....Q 6150: 55 45 52 59 5f 41 43 54 43 54 58 5f 46 4c 41 47 UERY_ACTCTX_FLAG 6160: 5f 41 43 54 43 54 58 5f 49 53 5f 41 44 44 52 45 _ACTCTX_IS_ADDRE 6170: 53 53 20 20 20 20 20 20 20 20 20 20 20 20 20 3d SS = 6180: 20 30 78 31 30 3b 0d 0a 0d 0a 09 65 6e 75 6d 20 0x10;.....enum 6190: 7b 0d 0a 09 09 4c 4f 47 4f 4e 5f 57 49 54 48 5f {....LOGON_WITH_ 61a0: 50 52 4f 46 49 4c 45 20 20 20 20 20 20 20 20 3d PROFILE = 61b0: 20 31 2c 0d 0a 09 09 4c 4f 47 4f 4e 5f 4e 45 54 1,....LOGON_NET 61c0: 43 52 45 44 45 4e 54 49 41 4c 53 5f 4f 4e 4c 59 CREDENTIALS_ONLY 61d0: 0d 0a 09 7d 0d 0a 7d 0d 0a 0d 0a 2f 2f 20 2d 2d ...}..}....// -- 61e0: 2d 2d 0d 0a 0d 0a 73 74 72 75 63 74 20 46 49 4c --....struct FIL 61f0: 45 54 49 4d 45 20 7b 0d 0a 09 44 57 4f 52 44 20 ETIME {...DWORD 6200: 64 77 4c 6f 77 44 61 74 65 54 69 6d 65 3b 0d 0a dwLowDateTime;.. 6210: 09 44 57 4f 52 44 20 64 77 48 69 67 68 44 61 74 .DWORD dwHighDat 6220: 65 54 69 6d 65 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 eTime;..}..alias 6230: 20 46 49 4c 45 54 49 4d 45 2a 20 50 46 49 4c 45 FILETIME* PFILE 6240: 54 49 4d 45 2c 20 4c 50 46 49 4c 45 54 49 4d 45 TIME, LPFILETIME 6250: 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 42 59 5f 48 ;....struct BY_H 6260: 41 4e 44 4c 45 5f 46 49 4c 45 5f 49 4e 46 4f 52 ANDLE_FILE_INFOR 6270: 4d 41 54 49 4f 4e 20 7b 0d 0a 09 44 57 4f 52 44 MATION {...DWORD 6280: 20 20 20 20 64 77 46 69 6c 65 41 74 74 72 69 62 dwFileAttrib 6290: 75 74 65 73 3b 0d 0a 09 46 49 4c 45 54 49 4d 45 utes;...FILETIME 62a0: 20 66 74 43 72 65 61 74 69 6f 6e 54 69 6d 65 3b ftCreationTime; 62b0: 0d 0a 09 46 49 4c 45 54 49 4d 45 20 66 74 4c 61 ...FILETIME ftLa 62c0: 73 74 41 63 63 65 73 73 54 69 6d 65 3b 0d 0a 09 stAccessTime;... 62d0: 46 49 4c 45 54 49 4d 45 20 66 74 4c 61 73 74 57 FILETIME ftLastW 62e0: 72 69 74 65 54 69 6d 65 3b 0d 0a 09 44 57 4f 52 riteTime;...DWOR 62f0: 44 20 20 20 20 64 77 56 6f 6c 75 6d 65 53 65 72 D dwVolumeSer 6300: 69 61 6c 4e 75 6d 62 65 72 3b 0d 0a 09 44 57 4f ialNumber;...DWO 6310: 52 44 20 20 20 20 6e 46 69 6c 65 53 69 7a 65 48 RD nFileSizeH 6320: 69 67 68 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 igh;...DWORD 6330: 6e 46 69 6c 65 53 69 7a 65 4c 6f 77 3b 0d 0a 09 nFileSizeLow;... 6340: 44 57 4f 52 44 20 20 20 20 6e 4e 75 6d 62 65 72 DWORD nNumber 6350: 4f 66 4c 69 6e 6b 73 3b 0d 0a 09 44 57 4f 52 44 OfLinks;...DWORD 6360: 20 20 20 20 6e 46 69 6c 65 49 6e 64 65 78 48 69 nFileIndexHi 6370: 67 68 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 6e gh;...DWORD n 6380: 46 69 6c 65 49 6e 64 65 78 4c 6f 77 3b 0d 0a 7d FileIndexLow;..} 6390: 0d 0a 61 6c 69 61 73 20 42 59 5f 48 41 4e 44 4c ..alias BY_HANDL 63a0: 45 5f 46 49 4c 45 5f 49 4e 46 4f 52 4d 41 54 49 E_FILE_INFORMATI 63b0: 4f 4e 2a 20 4c 50 42 59 5f 48 41 4e 44 4c 45 5f ON* LPBY_HANDLE_ 63c0: 46 49 4c 45 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e FILE_INFORMATION 63d0: 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 44 43 42 20 ;....struct DCB 63e0: 7b 0d 0a 09 44 57 4f 52 44 20 44 43 42 6c 65 6e {...DWORD DCBlen 63f0: 67 74 68 20 3d 20 44 43 42 2e 73 69 7a 65 6f 66 gth = DCB.sizeof 6400: 3b 0d 0a 09 44 57 4f 52 44 20 42 61 75 64 52 61 ;...DWORD BaudRa 6410: 74 65 3b 0d 0a 2f 2b 0d 0a 09 44 57 4f 52 44 20 te;../+...DWORD 6420: 66 42 69 6e 61 72 79 3a 31 3b 20 20 20 20 20 20 fBinary:1; 6430: 20 20 20 20 20 20 20 20 2f 2f 20 42 69 6e 61 72 // Binar 6440: 79 20 4d 6f 64 65 20 28 73 6b 69 70 20 45 4f 46 y Mode (skip EOF 6450: 20 63 68 65 63 6b 29 0d 0a 09 44 57 4f 52 44 20 check)...DWORD 6460: 66 50 61 72 69 74 79 3a 31 3b 20 20 20 20 20 20 fParity:1; 6470: 20 20 20 20 20 20 20 20 2f 2f 20 45 6e 61 62 6c // Enabl 6480: 65 20 70 61 72 69 74 79 20 63 68 65 63 6b 69 6e e parity checkin 6490: 67 0d 0a 09 44 57 4f 52 44 20 66 4f 75 74 78 43 g...DWORD fOutxC 64a0: 74 73 46 6c 6f 77 3a 31 3b 20 20 20 20 20 20 20 tsFlow:1; 64b0: 20 20 2f 2f 20 43 54 53 20 68 61 6e 64 73 68 61 // CTS handsha 64c0: 6b 69 6e 67 20 6f 6e 20 6f 75 74 70 75 74 0d 0a king on output.. 64d0: 09 44 57 4f 52 44 20 66 4f 75 74 78 44 73 72 46 .DWORD fOutxDsrF 64e0: 6c 6f 77 3a 31 3b 20 20 20 20 20 20 20 20 20 2f low:1; / 64f0: 2f 20 44 53 52 20 68 61 6e 64 73 68 61 6b 69 6e / DSR handshakin 6500: 67 20 6f 6e 20 6f 75 74 70 75 74 0d 0a 09 44 57 g on output...DW 6510: 4f 52 44 20 66 44 74 72 43 6f 6e 74 72 6f 6c 3a ORD fDtrControl: 6520: 32 3b 20 20 20 20 20 20 20 20 20 20 2f 2f 20 44 2; // D 6530: 54 52 20 46 6c 6f 77 20 63 6f 6e 74 72 6f 6c 0d TR Flow control. 6540: 0a 09 44 57 4f 52 44 20 66 44 73 72 53 65 6e 73 ..DWORD fDsrSens 6550: 69 74 69 76 69 74 79 3a 31 3b 20 20 20 20 20 20 itivity:1; 6560: 2f 2f 20 44 53 52 20 53 65 6e 73 69 74 69 76 69 // DSR Sensitivi 6570: 74 79 0d 0a 09 44 57 4f 52 44 20 66 54 58 43 6f ty...DWORD fTXCo 6580: 6e 74 69 6e 75 65 4f 6e 58 6f 66 66 3a 31 3b 20 ntinueOnXoff:1; 6590: 20 20 20 2f 2f 20 43 6f 6e 74 69 6e 75 65 20 54 // Continue T 65a0: 58 20 77 68 65 6e 20 58 6f 66 66 20 73 65 6e 74 X when Xoff sent 65b0: 0d 0a 09 44 57 4f 52 44 20 66 4f 75 74 58 3a 31 ...DWORD fOutX:1 65c0: 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ; 65d0: 20 2f 2f 20 45 6e 61 62 6c 65 20 6f 75 74 70 75 // Enable outpu 65e0: 74 20 58 2d 4f 4e 2f 58 2d 4f 46 46 0d 0a 09 44 t X-ON/X-OFF...D 65f0: 57 4f 52 44 20 66 49 6e 58 3a 31 3b 20 20 20 20 WORD fInX:1; 6600: 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2f 20 // 6610: 45 6e 61 62 6c 65 20 69 6e 70 75 74 20 58 2d 4f Enable input X-O 6620: 4e 2f 58 2d 4f 46 46 0d 0a 09 44 57 4f 52 44 20 N/X-OFF...DWORD 6630: 66 45 72 72 6f 72 43 68 61 72 3a 31 3b 20 20 20 fErrorChar:1; 6640: 20 20 20 20 20 20 20 20 2f 2f 20 45 6e 61 62 6c // Enabl 6650: 65 20 45 72 72 20 52 65 70 6c 61 63 65 6d 65 6e e Err Replacemen 6660: 74 0d 0a 09 44 57 4f 52 44 20 66 4e 75 6c 6c 3a t...DWORD fNull: 6670: 31 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 1; 6680: 20 20 2f 2f 20 45 6e 61 62 6c 65 20 4e 75 6c 6c // Enable Null 6690: 20 73 74 72 69 70 70 69 6e 67 0d 0a 09 44 57 4f stripping...DWO 66a0: 52 44 20 66 52 74 73 43 6f 6e 74 72 6f 6c 3a 32 RD fRtsControl:2 66b0: 3b 20 20 20 20 20 20 20 20 20 20 2f 2f 20 52 74 ; // Rt 66c0: 73 20 46 6c 6f 77 20 63 6f 6e 74 72 6f 6c 0d 0a s Flow control.. 66d0: 09 44 57 4f 52 44 20 66 41 62 6f 72 74 4f 6e 45 .DWORD fAbortOnE 66e0: 72 72 6f 72 3a 31 3b 20 20 20 20 20 20 20 20 2f rror:1; / 66f0: 2f 20 41 62 6f 72 74 20 61 6c 6c 20 72 65 61 64 / Abort all read 6700: 73 20 61 6e 64 20 77 72 69 74 65 73 20 6f 6e 20 s and writes on 6710: 45 72 72 6f 72 0d 0a 09 44 57 4f 52 44 20 66 44 Error...DWORD fD 6720: 75 6d 6d 79 32 3a 31 37 3b 20 20 20 20 20 20 20 ummy2:17; 6730: 20 20 20 20 20 20 2f 2f 20 52 65 73 65 72 76 65 // Reserve 6740: 64 0d 0a 2b 2f 0d 0a 09 75 69 6e 74 20 5f 62 66 d..+/...uint _bf 6750: 3b 0d 0a 09 62 6f 6f 6c 20 66 42 69 6e 61 72 79 ;...bool fBinary 6760: 28 62 6f 6f 6c 20 66 29 20 20 20 20 20 20 20 20 (bool f) 6770: 20 20 20 7b 20 5f 62 66 20 3d 20 28 5f 62 66 20 { _bf = (_bf 6780: 26 20 7e 30 78 30 30 30 31 29 20 7c 20 66 3b 20 & ~0x0001) | f; 6790: 72 65 74 75 72 6e 20 66 3b 20 7d 0d 0a 09 62 6f return f; }...bo 67a0: 6f 6c 20 66 50 61 72 69 74 79 28 62 6f 6f 6c 20 ol fParity(bool 67b0: 66 29 20 20 20 20 20 20 20 20 20 20 20 7b 20 5f f) { _ 67c0: 62 66 20 3d 20 28 5f 62 66 20 26 20 7e 30 78 30 bf = (_bf & ~0x0 67d0: 30 30 32 29 20 7c 20 28 66 3c 3c 31 29 3b 20 72 002) | (f<<1); r 67e0: 65 74 75 72 6e 20 66 3b 20 7d 0d 0a 09 62 6f 6f eturn f; }...boo 67f0: 6c 20 66 4f 75 74 78 43 74 73 46 6c 6f 77 28 62 l fOutxCtsFlow(b 6800: 6f 6f 6c 20 66 29 20 20 20 20 20 20 7b 20 5f 62 ool f) { _b 6810: 66 20 3d 20 28 5f 62 66 20 26 20 7e 30 78 30 30 f = (_bf & ~0x00 6820: 30 34 29 20 7c 20 28 66 3c 3c 32 29 3b 20 72 65 04) | (f<<2); re 6830: 74 75 72 6e 20 66 3b 20 7d 0d 0a 09 62 6f 6f 6c turn f; }...bool 6840: 20 66 4f 75 74 78 44 73 72 46 6c 6f 77 28 62 6f fOutxDsrFlow(bo 6850: 6f 6c 20 66 29 20 20 20 20 20 20 7b 20 5f 62 66 ol f) { _bf 6860: 20 3d 20 28 5f 62 66 20 26 20 7e 30 78 30 30 30 = (_bf & ~0x000 6870: 38 29 20 7c 20 28 66 3c 3c 33 29 3b 20 72 65 74 8) | (f<<3); ret 6880: 75 72 6e 20 66 3b 20 7d 0d 0a 09 62 79 74 65 20 urn f; }...byte 6890: 66 44 74 72 43 6f 6e 74 72 6f 6c 28 62 79 74 65 fDtrControl(byte 68a0: 20 78 29 20 20 20 20 20 20 20 7b 20 5f 62 66 20 x) { _bf 68b0: 3d 20 28 5f 62 66 20 26 20 7e 30 78 30 30 33 30 = (_bf & ~0x0030 68c0: 29 20 7c 20 28 78 3c 3c 34 29 3b 20 72 65 74 75 ) | (x<<4); retu 68d0: 72 6e 20 63 61 73 74 28 62 79 74 65 29 28 78 20 rn cast(byte)(x 68e0: 26 20 33 29 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 & 3); }...bool f 68f0: 44 73 72 53 65 6e 73 69 74 69 76 69 74 79 28 62 DsrSensitivity(b 6900: 6f 6f 6c 20 66 29 20 20 20 7b 20 5f 62 66 20 3d ool f) { _bf = 6910: 20 28 5f 62 66 20 26 20 7e 30 78 30 30 34 30 29 (_bf & ~0x0040) 6920: 20 7c 20 28 66 3c 3c 36 29 3b 20 72 65 74 75 72 | (f<<6); retur 6930: 6e 20 66 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 54 n f; }...bool fT 6940: 58 43 6f 6e 74 69 6e 75 65 4f 6e 58 6f 66 66 28 XContinueOnXoff( 6950: 62 6f 6f 6c 20 66 29 20 7b 20 5f 62 66 20 3d 20 bool f) { _bf = 6960: 28 5f 62 66 20 26 20 7e 30 78 30 30 38 30 29 20 (_bf & ~0x0080) 6970: 7c 20 28 66 3c 3c 37 29 3b 20 72 65 74 75 72 6e | (f<<7); return 6980: 20 66 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 4f 75 f; }...bool fOu 6990: 74 58 28 62 6f 6f 6c 20 66 29 20 20 20 20 20 20 tX(bool f) 69a0: 20 20 20 20 20 20 20 7b 20 5f 62 66 20 3d 20 28 { _bf = ( 69b0: 5f 62 66 20 26 20 7e 30 78 30 31 30 30 29 20 7c _bf & ~0x0100) | 69c0: 20 28 66 3c 3c 38 29 3b 20 72 65 74 75 72 6e 20 (f<<8); return 69d0: 66 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 49 6e 58 f; }...bool fInX 69e0: 28 62 6f 6f 6c 20 66 29 20 20 20 20 20 20 20 20 (bool f) 69f0: 20 20 20 20 20 20 7b 20 5f 62 66 20 3d 20 28 5f { _bf = (_ 6a00: 62 66 20 26 20 7e 30 78 30 32 30 30 29 20 7c 20 bf & ~0x0200) | 6a10: 28 66 3c 3c 39 29 3b 20 72 65 74 75 72 6e 20 66 (f<<9); return f 6a20: 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 45 72 72 6f ; }...bool fErro 6a30: 72 43 68 61 72 28 62 6f 6f 6c 20 66 29 20 20 20 rChar(bool f) 6a40: 20 20 20 20 20 7b 20 5f 62 66 20 3d 20 28 5f 62 { _bf = (_b 6a50: 66 20 26 20 7e 30 78 30 34 30 30 29 20 7c 20 28 f & ~0x0400) | ( 6a60: 66 3c 3c 31 30 29 3b 20 72 65 74 75 72 6e 20 66 f<<10); return f 6a70: 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 4e 75 6c 6c ; }...bool fNull 6a80: 28 62 6f 6f 6c 20 66 29 20 20 20 20 20 20 20 20 (bool f) 6a90: 20 20 20 20 20 7b 20 5f 62 66 20 3d 20 28 5f 62 { _bf = (_b 6aa0: 66 20 26 20 7e 30 78 30 38 30 30 29 20 7c 20 28 f & ~0x0800) | ( 6ab0: 66 3c 3c 31 31 29 3b 20 72 65 74 75 72 6e 20 66 f<<11); return f 6ac0: 3b 20 7d 0d 0a 09 62 79 74 65 20 66 52 74 73 43 ; }...byte fRtsC 6ad0: 6f 6e 74 72 6f 6c 28 62 79 74 65 20 78 29 20 20 ontrol(byte x) 6ae0: 20 20 20 20 20 7b 20 5f 62 66 20 3d 20 28 5f 62 { _bf = (_b 6af0: 66 20 26 20 7e 30 78 33 30 30 30 29 20 7c 20 28 f & ~0x3000) | ( 6b00: 78 3c 3c 31 32 29 3b 20 72 65 74 75 72 6e 20 63 x<<12); return c 6b10: 61 73 74 28 62 79 74 65 29 28 78 20 26 20 33 29 ast(byte)(x & 3) 6b20: 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 41 62 6f 72 ; }...bool fAbor 6b30: 74 4f 6e 45 72 72 6f 72 28 62 6f 6f 6c 20 66 29 tOnError(bool f) 6b40: 20 20 20 20 20 7b 20 5f 62 66 20 3d 20 28 5f 62 { _bf = (_b 6b50: 66 20 26 20 7e 30 78 34 30 30 30 29 20 7c 20 28 f & ~0x4000) | ( 6b60: 66 3c 3c 31 34 29 3b 20 72 65 74 75 72 6e 20 66 f<<14); return f 6b70: 3b 20 7d 0d 0a 0d 0a 09 62 6f 6f 6c 20 66 42 69 ; }.....bool fBi 6b80: 6e 61 72 79 28 29 20 20 20 20 20 20 20 20 20 20 nary() 6b90: 20 7b 20 72 65 74 75 72 6e 20 63 61 73 74 28 62 { return cast(b 6ba0: 6f 6f 6c 29 20 28 5f 62 66 20 26 20 31 29 3b 20 ool) (_bf & 1); 6bb0: 7d 0d 0a 09 62 6f 6f 6c 20 66 50 61 72 69 74 79 }...bool fParity 6bc0: 28 29 20 20 20 20 20 20 20 20 20 20 20 7b 20 72 () { r 6bd0: 65 74 75 72 6e 20 63 61 73 74 28 62 6f 6f 6c 29 eturn cast(bool) 6be0: 20 28 5f 62 66 20 26 20 32 29 3b 20 7d 0d 0a 09 (_bf & 2); }... 6bf0: 62 6f 6f 6c 20 66 4f 75 74 78 43 74 73 46 6c 6f bool fOutxCtsFlo 6c00: 77 28 29 20 20 20 20 20 20 7b 20 72 65 74 75 72 w() { retur 6c10: 6e 20 63 61 73 74 28 62 6f 6f 6c 29 20 28 5f 62 n cast(bool) (_b 6c20: 66 20 26 20 34 29 3b 20 7d 0d 0a 09 62 6f 6f 6c f & 4); }...bool 6c30: 20 66 4f 75 74 78 44 73 72 46 6c 6f 77 28 29 20 fOutxDsrFlow() 6c40: 20 20 20 20 20 7b 20 72 65 74 75 72 6e 20 63 61 { return ca 6c50: 73 74 28 62 6f 6f 6c 29 20 28 5f 62 66 20 26 20 st(bool) (_bf & 6c60: 38 29 3b 20 7d 0d 0a 09 62 79 74 65 20 66 44 74 8); }...byte fDt 6c70: 72 43 6f 6e 74 72 6f 6c 28 29 20 20 20 20 20 20 rControl() 6c80: 20 7b 20 72 65 74 75 72 6e 20 63 61 73 74 28 62 { return cast(b 6c90: 79 74 65 29 20 28 28 5f 62 66 20 26 20 28 33 32 yte) ((_bf & (32 6ca0: 2b 31 36 29 29 3e 3e 34 29 3b 20 7d 0d 0a 09 62 +16))>>4); }...b 6cb0: 6f 6f 6c 20 66 44 73 72 53 65 6e 73 69 74 69 76 ool fDsrSensitiv 6cc0: 69 74 79 28 29 20 20 20 7b 20 72 65 74 75 72 6e ity() { return 6cd0: 20 63 61 73 74 28 62 6f 6f 6c 29 20 28 5f 62 66 cast(bool) (_bf 6ce0: 20 26 20 36 34 29 3b 20 7d 0d 0a 09 62 6f 6f 6c & 64); }...bool 6cf0: 20 66 54 58 43 6f 6e 74 69 6e 75 65 4f 6e 58 6f fTXContinueOnXo 6d00: 66 66 28 29 20 7b 20 72 65 74 75 72 6e 20 63 61 ff() { return ca 6d10: 73 74 28 62 6f 6f 6c 29 20 28 5f 62 66 20 26 20 st(bool) (_bf & 6d20: 31 32 38 29 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 128); }...bool f 6d30: 4f 75 74 58 28 29 20 20 20 20 20 20 20 20 20 20 OutX() 6d40: 20 20 20 7b 20 72 65 74 75 72 6e 20 63 61 73 74 { return cast 6d50: 28 62 6f 6f 6c 29 20 28 5f 62 66 20 26 20 32 35 (bool) (_bf & 25 6d60: 36 29 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 49 6e 6); }...bool fIn 6d70: 58 28 29 20 20 20 20 20 20 20 20 20 20 20 20 20 X() 6d80: 20 7b 20 72 65 74 75 72 6e 20 63 61 73 74 28 62 { return cast(b 6d90: 6f 6f 6c 29 20 28 5f 62 66 20 26 20 35 31 32 29 ool) (_bf & 512) 6da0: 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 45 72 72 6f ; }...bool fErro 6db0: 72 43 68 61 72 28 29 20 20 20 20 20 20 20 20 7b rChar() { 6dc0: 20 72 65 74 75 72 6e 20 63 61 73 74 28 62 6f 6f return cast(boo 6dd0: 6c 29 20 28 5f 62 66 20 26 20 31 30 32 34 29 3b l) (_bf & 1024); 6de0: 20 7d 0d 0a 09 62 6f 6f 6c 20 66 4e 75 6c 6c 28 }...bool fNull( 6df0: 29 20 20 20 20 20 20 20 20 20 20 20 20 20 7b 20 ) { 6e00: 72 65 74 75 72 6e 20 63 61 73 74 28 62 6f 6f 6c return cast(bool 6e10: 29 20 28 5f 62 66 20 26 20 32 30 34 38 29 3b 20 ) (_bf & 2048); 6e20: 7d 0d 0a 09 62 79 74 65 20 66 52 74 73 43 6f 6e }...byte fRtsCon 6e30: 74 72 6f 6c 28 29 20 20 20 20 20 20 20 7b 20 72 trol() { r 6e40: 65 74 75 72 6e 20 63 61 73 74 28 62 79 74 65 29 eturn cast(byte) 6e50: 20 28 28 5f 62 66 20 26 20 28 34 30 39 36 2b 38 ((_bf & (4096+8 6e60: 31 39 32 29 29 3e 3e 31 32 29 3b 20 7d 0d 0a 09 192))>>12); }... 6e70: 62 6f 6f 6c 20 66 41 62 6f 72 74 4f 6e 45 72 72 bool fAbortOnErr 6e80: 6f 72 28 29 20 20 20 20 20 7b 20 72 65 74 75 72 or() { retur 6e90: 6e 20 63 61 73 74 28 62 6f 6f 6c 29 20 28 5f 62 n cast(bool) (_b 6ea0: 66 20 26 20 31 36 33 38 34 29 3b 20 7d 0d 0a 0d f & 16384); }... 6eb0: 0a 09 57 4f 52 44 20 77 52 65 73 65 72 76 65 64 ..WORD wReserved 6ec0: 3b 0d 0a 09 57 4f 52 44 20 58 6f 6e 4c 69 6d 3b ;...WORD XonLim; 6ed0: 0d 0a 09 57 4f 52 44 20 58 6f 66 66 4c 69 6d 3b ...WORD XoffLim; 6ee0: 0d 0a 09 42 59 54 45 20 42 79 74 65 53 69 7a 65 ...BYTE ByteSize 6ef0: 3b 0d 0a 09 42 59 54 45 20 50 61 72 69 74 79 3b ;...BYTE Parity; 6f00: 0d 0a 09 42 59 54 45 20 53 74 6f 70 42 69 74 73 ...BYTE StopBits 6f10: 3b 0d 0a 09 63 68 61 72 20 58 6f 6e 43 68 61 72 ;...char XonChar 6f20: 3b 0d 0a 09 63 68 61 72 20 58 6f 66 66 43 68 61 ;...char XoffCha 6f30: 72 3b 0d 0a 09 63 68 61 72 20 45 72 72 6f 72 43 r;...char ErrorC 6f40: 68 61 72 3b 0d 0a 09 63 68 61 72 20 45 6f 66 43 har;...char EofC 6f50: 68 61 72 3b 0d 0a 09 63 68 61 72 20 45 76 74 43 har;...char EvtC 6f60: 68 61 72 3b 0d 0a 09 57 4f 52 44 20 77 52 65 73 har;...WORD wRes 6f70: 65 72 76 65 64 31 3b 0d 0a 7d 0d 0a 61 6c 69 61 erved1;..}..alia 6f80: 73 20 44 43 42 2a 20 4c 50 44 43 42 3b 0d 0a 0d s DCB* LPDCB;... 6f90: 0a 73 74 72 75 63 74 20 43 4f 4d 4d 43 4f 4e 46 .struct COMMCONF 6fa0: 49 47 20 7b 0d 0a 09 44 57 4f 52 44 20 64 77 53 IG {...DWORD dwS 6fb0: 69 7a 65 20 3d 20 43 4f 4d 4d 43 4f 4e 46 49 47 ize = COMMCONFIG 6fc0: 2e 73 69 7a 65 6f 66 3b 0d 0a 09 57 4f 52 44 20 .sizeof;...WORD 6fd0: 20 77 56 65 72 73 69 6f 6e 3b 0d 0a 09 57 4f 52 wVersion;...WOR 6fe0: 44 20 20 77 52 65 73 65 72 76 65 64 3b 0d 0a 09 D wReserved;... 6ff0: 44 43 42 20 20 20 64 63 62 3b 0d 0a 09 44 57 4f DCB dcb;...DWO 7000: 52 44 20 64 77 50 72 6f 76 69 64 65 72 53 75 62 RD dwProviderSub 7010: 54 79 70 65 3b 0d 0a 09 44 57 4f 52 44 20 64 77 Type;...DWORD dw 7020: 50 72 6f 76 69 64 65 72 4f 66 66 73 65 74 3b 0d ProviderOffset;. 7030: 0a 09 44 57 4f 52 44 20 64 77 50 72 6f 76 69 64 ..DWORD dwProvid 7040: 65 72 53 69 7a 65 3b 0d 0a 09 57 43 48 41 52 20 erSize;...WCHAR 7050: 5f 77 63 50 72 6f 76 69 64 65 72 44 61 74 61 3b _wcProviderData; 7060: 0d 0a 0d 0a 09 57 43 48 41 52 2a 20 77 63 50 72 .....WCHAR* wcPr 7070: 6f 76 69 64 65 72 44 61 74 61 28 29 20 7b 20 72 oviderData() { r 7080: 65 74 75 72 6e 20 26 5f 77 63 50 72 6f 76 69 64 eturn &_wcProvid 7090: 65 72 44 61 74 61 3b 20 7d 0d 0a 7d 0d 0a 61 6c erData; }..}..al 70a0: 69 61 73 20 43 4f 4d 4d 43 4f 4e 46 49 47 2a 20 ias COMMCONFIG* 70b0: 4c 50 43 4f 4d 4d 43 4f 4e 46 49 47 3b 0d 0a 0d LPCOMMCONFIG;... 70c0: 0a 73 74 72 75 63 74 20 43 4f 4d 4d 54 49 4d 45 .struct COMMTIME 70d0: 4f 55 54 53 20 7b 0d 0a 09 44 57 4f 52 44 20 52 OUTS {...DWORD R 70e0: 65 61 64 49 6e 74 65 72 76 61 6c 54 69 6d 65 6f eadIntervalTimeo 70f0: 75 74 3b 0d 0a 09 44 57 4f 52 44 20 52 65 61 64 ut;...DWORD Read 7100: 54 6f 74 61 6c 54 69 6d 65 6f 75 74 4d 75 6c 74 TotalTimeoutMult 7110: 69 70 6c 69 65 72 3b 0d 0a 09 44 57 4f 52 44 20 iplier;...DWORD 7120: 52 65 61 64 54 6f 74 61 6c 54 69 6d 65 6f 75 74 ReadTotalTimeout 7130: 43 6f 6e 73 74 61 6e 74 3b 0d 0a 09 44 57 4f 52 Constant;...DWOR 7140: 44 20 57 72 69 74 65 54 6f 74 61 6c 54 69 6d 65 D WriteTotalTime 7150: 6f 75 74 4d 75 6c 74 69 70 6c 69 65 72 3b 0d 0a outMultiplier;.. 7160: 09 44 57 4f 52 44 20 57 72 69 74 65 54 6f 74 61 .DWORD WriteTota 7170: 6c 54 69 6d 65 6f 75 74 43 6f 6e 73 74 61 6e 74 lTimeoutConstant 7180: 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 43 4f 4d 4d ;..}..alias COMM 7190: 54 49 4d 45 4f 55 54 53 2a 20 4c 50 43 4f 4d 4d TIMEOUTS* LPCOMM 71a0: 54 49 4d 45 4f 55 54 53 3b 0d 0a 0d 0a 73 74 72 TIMEOUTS;....str 71b0: 75 63 74 20 43 4f 4d 53 54 41 54 20 7b 0d 0a 2f uct COMSTAT {../ 71c0: 2b 0d 0a 09 44 57 4f 52 44 20 66 43 74 73 48 6f +...DWORD fCtsHo 71d0: 6c 64 3a 31 3b 0d 0a 09 44 57 4f 52 44 20 66 44 ld:1;...DWORD fD 71e0: 73 72 48 6f 6c 64 3a 31 3b 0d 0a 09 44 57 4f 52 srHold:1;...DWOR 71f0: 44 20 66 52 6c 73 64 48 6f 6c 64 3a 31 3b 0d 0a D fRlsdHold:1;.. 7200: 09 44 57 4f 52 44 20 66 58 6f 66 66 48 6f 6c 64 .DWORD fXoffHold 7210: 3a 31 3b 0d 0a 09 44 57 4f 52 44 20 66 58 6f 66 :1;...DWORD fXof 7220: 66 53 65 6e 74 3a 31 3b 0d 0a 09 44 57 4f 52 44 fSent:1;...DWORD 7230: 20 66 45 6f 66 3a 31 3b 0d 0a 09 44 57 4f 52 44 fEof:1;...DWORD 7240: 20 66 54 78 69 6d 3a 31 3b 0d 0a 09 44 57 4f 52 fTxim:1;...DWOR 7250: 44 20 66 52 65 73 65 72 76 65 64 3a 32 35 3b 0d D fReserved:25;. 7260: 0a 2b 2f 0d 0a 09 44 57 4f 52 44 20 5f 62 66 3b .+/...DWORD _bf; 7270: 0d 0a 20 20 20 20 62 6f 6f 6c 20 66 43 74 73 48 .. bool fCtsH 7280: 6f 6c 64 28 62 6f 6f 6c 20 66 29 20 20 7b 20 5f old(bool f) { _ 7290: 62 66 20 3d 20 28 5f 62 66 20 26 20 7e 31 29 20 bf = (_bf & ~1) 72a0: 7c 20 66 3b 20 72 65 74 75 72 6e 20 66 3b 20 7d | f; return f; } 72b0: 0d 0a 09 62 6f 6f 6c 20 66 44 73 72 48 6f 6c 64 ...bool fDsrHold 72c0: 28 62 6f 6f 6c 20 66 29 20 20 7b 20 5f 62 66 20 (bool f) { _bf 72d0: 3d 20 28 5f 62 66 20 26 20 7e 32 29 20 7c 20 28 = (_bf & ~2) | ( 72e0: 66 3c 3c 31 29 3b 20 72 65 74 75 72 6e 20 66 3b f<<1); return f; 72f0: 20 7d 0d 0a 09 62 6f 6f 6c 20 66 52 6c 73 64 48 }...bool fRlsdH 7300: 6f 6c 64 28 62 6f 6f 6c 20 66 29 20 7b 20 5f 62 old(bool f) { _b 7310: 66 20 3d 20 28 5f 62 66 20 26 20 7e 34 29 20 7c f = (_bf & ~4) | 7320: 20 28 66 3c 3c 32 29 3b 20 72 65 74 75 72 6e 20 (f<<2); return 7330: 66 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 58 6f 66 f; }...bool fXof 7340: 66 48 6f 6c 64 28 62 6f 6f 6c 20 66 29 20 7b 20 fHold(bool f) { 7350: 5f 62 66 20 3d 20 28 5f 62 66 20 26 20 7e 38 29 _bf = (_bf & ~8) 7360: 20 7c 20 28 66 3c 3c 33 29 3b 20 72 65 74 75 72 | (f<<3); retur 7370: 6e 20 66 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 58 n f; }...bool fX 7380: 6f 66 66 53 65 6e 74 28 62 6f 6f 6c 20 66 29 20 offSent(bool f) 7390: 7b 20 5f 62 66 20 3d 20 28 5f 62 66 20 26 20 7e { _bf = (_bf & ~ 73a0: 31 36 29 20 7c 20 28 66 3c 3c 34 29 3b 20 72 65 16) | (f<<4); re 73b0: 74 75 72 6e 20 66 3b 20 7d 0d 0a 09 62 6f 6f 6c turn f; }...bool 73c0: 20 66 45 6f 66 28 62 6f 6f 6c 20 66 29 20 20 20 fEof(bool f) 73d0: 20 20 20 7b 20 5f 62 66 20 3d 20 28 5f 62 66 20 { _bf = (_bf 73e0: 26 20 7e 33 32 29 20 7c 20 28 66 3c 3c 35 29 3b & ~32) | (f<<5); 73f0: 20 72 65 74 75 72 6e 20 66 3b 20 7d 0d 0a 09 62 return f; }...b 7400: 6f 6f 6c 20 66 54 78 69 6d 28 62 6f 6f 6c 20 66 ool fTxim(bool f 7410: 29 20 20 20 20 20 7b 20 5f 62 66 20 3d 20 28 5f ) { _bf = (_ 7420: 62 66 20 26 20 7e 36 34 29 20 7c 20 28 66 3c 3c bf & ~64) | (f<< 7430: 36 29 3b 20 72 65 74 75 72 6e 20 66 3b 20 7d 0d 6); return f; }. 7440: 0a 0d 0a 20 20 20 20 62 6f 6f 6c 20 66 43 74 73 ... bool fCts 7450: 48 6f 6c 64 28 29 20 20 7b 20 72 65 74 75 72 6e Hold() { return 7460: 20 63 61 73 74 28 62 6f 6f 6c 29 20 28 5f 62 66 cast(bool) (_bf 7470: 20 26 20 31 29 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 & 1); }...bool 7480: 66 44 73 72 48 6f 6c 64 28 29 20 20 7b 20 72 65 fDsrHold() { re 7490: 74 75 72 6e 20 63 61 73 74 28 62 6f 6f 6c 29 20 turn cast(bool) 74a0: 28 5f 62 66 20 26 20 32 29 3b 20 7d 0d 0a 09 62 (_bf & 2); }...b 74b0: 6f 6f 6c 20 66 52 6c 73 64 48 6f 6c 64 28 29 20 ool fRlsdHold() 74c0: 7b 20 72 65 74 75 72 6e 20 63 61 73 74 28 62 6f { return cast(bo 74d0: 6f 6c 29 20 28 5f 62 66 20 26 20 34 29 3b 20 7d ol) (_bf & 4); } 74e0: 0d 0a 09 62 6f 6f 6c 20 66 58 6f 66 66 48 6f 6c ...bool fXoffHol 74f0: 64 28 29 20 7b 20 72 65 74 75 72 6e 20 63 61 73 d() { return cas 7500: 74 28 62 6f 6f 6c 29 20 28 5f 62 66 20 26 20 38 t(bool) (_bf & 8 7510: 29 3b 20 7d 0d 0a 09 62 6f 6f 6c 20 66 58 6f 66 ); }...bool fXof 7520: 66 53 65 6e 74 28 29 20 7b 20 72 65 74 75 72 6e fSent() { return 7530: 20 63 61 73 74 28 62 6f 6f 6c 29 20 28 5f 62 66 cast(bool) (_bf 7540: 20 26 20 31 36 29 3b 20 7d 0d 0a 09 62 6f 6f 6c & 16); }...bool 7550: 20 66 45 6f 66 28 29 20 20 20 20 20 20 7b 20 72 fEof() { r 7560: 65 74 75 72 6e 20 63 61 73 74 28 62 6f 6f 6c 29 eturn cast(bool) 7570: 20 28 5f 62 66 20 26 20 33 32 29 3b 20 7d 0d 0a (_bf & 32); }.. 7580: 09 62 6f 6f 6c 20 66 54 78 69 6d 28 29 20 20 20 .bool fTxim() 7590: 20 20 7b 20 72 65 74 75 72 6e 20 63 61 73 74 28 { return cast( 75a0: 62 6f 6f 6c 29 20 28 5f 62 66 20 26 20 36 34 29 bool) (_bf & 64) 75b0: 3b 20 7d 0d 0a 0d 0a 09 44 57 4f 52 44 20 63 62 ; }.....DWORD cb 75c0: 49 6e 51 75 65 3b 0d 0a 09 44 57 4f 52 44 20 63 InQue;...DWORD c 75d0: 62 4f 75 74 51 75 65 3b 0d 0a 7d 0d 0a 61 6c 69 bOutQue;..}..ali 75e0: 61 73 20 43 4f 4d 53 54 41 54 2a 20 4c 50 43 4f as COMSTAT* LPCO 75f0: 4d 53 54 41 54 3b 0d 0a 0d 0a 73 74 72 75 63 74 MSTAT;....struct 7600: 20 43 52 45 41 54 45 5f 50 52 4f 43 45 53 53 5f CREATE_PROCESS_ 7610: 44 45 42 55 47 5f 49 4e 46 4f 20 7b 0d 0a 09 48 DEBUG_INFO {...H 7620: 41 4e 44 4c 45 20 68 46 69 6c 65 3b 0d 0a 09 48 ANDLE hFile;...H 7630: 41 4e 44 4c 45 20 68 50 72 6f 63 65 73 73 3b 0d ANDLE hProcess;. 7640: 0a 09 48 41 4e 44 4c 45 20 68 54 68 72 65 61 64 ..HANDLE hThread 7650: 3b 0d 0a 09 4c 50 56 4f 49 44 20 6c 70 42 61 73 ;...LPVOID lpBas 7660: 65 4f 66 49 6d 61 67 65 3b 0d 0a 09 44 57 4f 52 eOfImage;...DWOR 7670: 44 20 20 64 77 44 65 62 75 67 49 6e 66 6f 46 69 D dwDebugInfoFi 7680: 6c 65 4f 66 66 73 65 74 3b 0d 0a 09 44 57 4f 52 leOffset;...DWOR 7690: 44 20 20 6e 44 65 62 75 67 49 6e 66 6f 53 69 7a D nDebugInfoSiz 76a0: 65 3b 0d 0a 09 4c 50 56 4f 49 44 20 6c 70 54 68 e;...LPVOID lpTh 76b0: 72 65 61 64 4c 6f 63 61 6c 42 61 73 65 3b 0d 0a readLocalBase;.. 76c0: 09 4c 50 54 48 52 45 41 44 5f 53 54 41 52 54 5f .LPTHREAD_START_ 76d0: 52 4f 55 54 49 4e 45 20 6c 70 53 74 61 72 74 41 ROUTINE lpStartA 76e0: 64 64 72 65 73 73 3b 0d 0a 09 4c 50 56 4f 49 44 ddress;...LPVOID 76f0: 20 6c 70 49 6d 61 67 65 4e 61 6d 65 3b 0d 0a 09 lpImageName;... 7700: 57 4f 52 44 20 20 20 66 55 6e 69 63 6f 64 65 3b WORD fUnicode; 7710: 0d 0a 7d 0d 0a 61 6c 69 61 73 20 43 52 45 41 54 ..}..alias CREAT 7720: 45 5f 50 52 4f 43 45 53 53 5f 44 45 42 55 47 5f E_PROCESS_DEBUG_ 7730: 49 4e 46 4f 2a 20 4c 50 43 52 45 41 54 45 5f 50 INFO* LPCREATE_P 7740: 52 4f 43 45 53 53 5f 44 45 42 55 47 5f 49 4e 46 ROCESS_DEBUG_INF 7750: 4f 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 43 52 45 O;....struct CRE 7760: 41 54 45 5f 54 48 52 45 41 44 5f 44 45 42 55 47 ATE_THREAD_DEBUG 7770: 5f 49 4e 46 4f 20 7b 0d 0a 09 48 41 4e 44 4c 45 _INFO {...HANDLE 7780: 20 68 54 68 72 65 61 64 3b 0d 0a 09 4c 50 56 4f hThread;...LPVO 7790: 49 44 20 6c 70 54 68 72 65 61 64 4c 6f 63 61 6c ID lpThreadLocal 77a0: 42 61 73 65 3b 0d 0a 09 4c 50 54 48 52 45 41 44 Base;...LPTHREAD 77b0: 5f 53 54 41 52 54 5f 52 4f 55 54 49 4e 45 20 6c _START_ROUTINE l 77c0: 70 53 74 61 72 74 41 64 64 72 65 73 73 3b 0d 0a pStartAddress;.. 77d0: 7d 0d 0a 61 6c 69 61 73 20 43 52 45 41 54 45 5f }..alias CREATE_ 77e0: 54 48 52 45 41 44 5f 44 45 42 55 47 5f 49 4e 46 THREAD_DEBUG_INF 77f0: 4f 2a 20 4c 50 43 52 45 41 54 45 5f 54 48 52 45 O* LPCREATE_THRE 7800: 41 44 5f 44 45 42 55 47 5f 49 4e 46 4f 3b 0d 0a AD_DEBUG_INFO;.. 7810: 0d 0a 73 74 72 75 63 74 20 45 58 43 45 50 54 49 ..struct EXCEPTI 7820: 4f 4e 5f 44 45 42 55 47 5f 49 4e 46 4f 20 7b 0d ON_DEBUG_INFO {. 7830: 0a 09 45 58 43 45 50 54 49 4f 4e 5f 52 45 43 4f ..EXCEPTION_RECO 7840: 52 44 20 45 78 63 65 70 74 69 6f 6e 52 65 63 6f RD ExceptionReco 7850: 72 64 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 20 rd;...DWORD 7860: 20 20 20 20 20 20 20 64 77 46 69 72 73 74 43 68 dwFirstCh 7870: 61 6e 63 65 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 ance;..}..alias 7880: 45 58 43 45 50 54 49 4f 4e 5f 44 45 42 55 47 5f EXCEPTION_DEBUG_ 7890: 49 4e 46 4f 2a 20 4c 50 45 58 43 45 50 54 49 4f INFO* LPEXCEPTIO 78a0: 4e 5f 44 45 42 55 47 5f 49 4e 46 4f 3b 0d 0a 0d N_DEBUG_INFO;... 78b0: 0a 73 74 72 75 63 74 20 45 58 49 54 5f 54 48 52 .struct EXIT_THR 78c0: 45 41 44 5f 44 45 42 55 47 5f 49 4e 46 4f 20 7b EAD_DEBUG_INFO { 78d0: 0d 0a 09 44 57 4f 52 44 20 64 77 45 78 69 74 43 ...DWORD dwExitC 78e0: 6f 64 65 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 45 ode;..}..alias E 78f0: 58 49 54 5f 54 48 52 45 41 44 5f 44 45 42 55 47 XIT_THREAD_DEBUG 7900: 5f 49 4e 46 4f 2a 20 4c 50 45 58 49 54 5f 54 48 _INFO* LPEXIT_TH 7910: 52 45 41 44 5f 44 45 42 55 47 5f 49 4e 46 4f 3b READ_DEBUG_INFO; 7920: 0d 0a 0d 0a 73 74 72 75 63 74 20 45 58 49 54 5f ....struct EXIT_ 7930: 50 52 4f 43 45 53 53 5f 44 45 42 55 47 5f 49 4e PROCESS_DEBUG_IN 7940: 46 4f 20 7b 0d 0a 09 44 57 4f 52 44 20 64 77 45 FO {...DWORD dwE 7950: 78 69 74 43 6f 64 65 3b 0d 0a 7d 0d 0a 61 6c 69 xitCode;..}..ali 7960: 61 73 20 45 58 49 54 5f 50 52 4f 43 45 53 53 5f as EXIT_PROCESS_ 7970: 44 45 42 55 47 5f 49 4e 46 4f 2a 20 4c 50 45 58 DEBUG_INFO* LPEX 7980: 49 54 5f 50 52 4f 43 45 53 53 5f 44 45 42 55 47 IT_PROCESS_DEBUG 7990: 5f 49 4e 46 4f 3b 0d 0a 0d 0a 73 74 72 75 63 74 _INFO;....struct 79a0: 20 4c 4f 41 44 5f 44 4c 4c 5f 44 45 42 55 47 5f LOAD_DLL_DEBUG_ 79b0: 49 4e 46 4f 20 7b 0d 0a 09 48 41 4e 44 4c 45 20 INFO {...HANDLE 79c0: 68 46 69 6c 65 3b 0d 0a 09 4c 50 56 4f 49 44 20 hFile;...LPVOID 79d0: 6c 70 42 61 73 65 4f 66 44 6c 6c 3b 0d 0a 09 44 lpBaseOfDll;...D 79e0: 57 4f 52 44 20 20 64 77 44 65 62 75 67 49 6e 66 WORD dwDebugInf 79f0: 6f 46 69 6c 65 4f 66 66 73 65 74 3b 0d 0a 09 44 oFileOffset;...D 7a00: 57 4f 52 44 20 20 6e 44 65 62 75 67 49 6e 66 6f WORD nDebugInfo 7a10: 53 69 7a 65 3b 0d 0a 09 4c 50 56 4f 49 44 20 6c Size;...LPVOID l 7a20: 70 49 6d 61 67 65 4e 61 6d 65 3b 0d 0a 09 57 4f pImageName;...WO 7a30: 52 44 20 20 20 66 55 6e 69 63 6f 64 65 3b 0d 0a RD fUnicode;.. 7a40: 7d 0d 0a 61 6c 69 61 73 20 4c 4f 41 44 5f 44 4c }..alias LOAD_DL 7a50: 4c 5f 44 45 42 55 47 5f 49 4e 46 4f 2a 20 4c 50 L_DEBUG_INFO* LP 7a60: 4c 4f 41 44 5f 44 4c 4c 5f 44 45 42 55 47 5f 49 LOAD_DLL_DEBUG_I 7a70: 4e 46 4f 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 55 NFO;....struct U 7a80: 4e 4c 4f 41 44 5f 44 4c 4c 5f 44 45 42 55 47 5f NLOAD_DLL_DEBUG_ 7a90: 49 4e 46 4f 20 7b 0d 0a 09 4c 50 56 4f 49 44 20 INFO {...LPVOID 7aa0: 6c 70 42 61 73 65 4f 66 44 6c 6c 3b 0d 0a 7d 0d lpBaseOfDll;..}. 7ab0: 0a 61 6c 69 61 73 20 55 4e 4c 4f 41 44 5f 44 4c .alias UNLOAD_DL 7ac0: 4c 5f 44 45 42 55 47 5f 49 4e 46 4f 2a 20 4c 50 L_DEBUG_INFO* LP 7ad0: 55 4e 4c 4f 41 44 5f 44 4c 4c 5f 44 45 42 55 47 UNLOAD_DLL_DEBUG 7ae0: 5f 49 4e 46 4f 3b 0d 0a 0d 0a 73 74 72 75 63 74 _INFO;....struct 7af0: 20 4f 55 54 50 55 54 5f 44 45 42 55 47 5f 53 54 OUTPUT_DEBUG_ST 7b00: 52 49 4e 47 5f 49 4e 46 4f 20 7b 0d 0a 09 4c 50 RING_INFO {...LP 7b10: 53 54 52 20 6c 70 44 65 62 75 67 53 74 72 69 6e STR lpDebugStrin 7b20: 67 44 61 74 61 3b 0d 0a 09 57 4f 52 44 20 20 66 gData;...WORD f 7b30: 55 6e 69 63 6f 64 65 3b 0d 0a 09 57 4f 52 44 20 Unicode;...WORD 7b40: 20 6e 44 65 62 75 67 53 74 72 69 6e 67 4c 65 6e nDebugStringLen 7b50: 67 74 68 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 4f gth;..}..alias O 7b60: 55 54 50 55 54 5f 44 45 42 55 47 5f 53 54 52 49 UTPUT_DEBUG_STRI 7b70: 4e 47 5f 49 4e 46 4f 2a 20 4c 50 4f 55 54 50 55 NG_INFO* LPOUTPU 7b80: 54 5f 44 45 42 55 47 5f 53 54 52 49 4e 47 5f 49 T_DEBUG_STRING_I 7b90: 4e 46 4f 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 52 NFO;....struct R 7ba0: 49 50 5f 49 4e 46 4f 20 7b 0d 0a 09 44 57 4f 52 IP_INFO {...DWOR 7bb0: 44 20 64 77 45 72 72 6f 72 3b 0d 0a 09 44 57 4f D dwError;...DWO 7bc0: 52 44 20 64 77 54 79 70 65 3b 0d 0a 7d 0d 0a 61 RD dwType;..}..a 7bd0: 6c 69 61 73 20 52 49 50 5f 49 4e 46 4f 2a 20 4c lias RIP_INFO* L 7be0: 50 52 49 50 5f 49 4e 46 4f 3b 0d 0a 0d 0a 73 74 PRIP_INFO;....st 7bf0: 72 75 63 74 20 44 45 42 55 47 5f 45 56 45 4e 54 ruct DEBUG_EVENT 7c00: 20 7b 0d 0a 09 44 57 4f 52 44 20 64 77 44 65 62 {...DWORD dwDeb 7c10: 75 67 45 76 65 6e 74 43 6f 64 65 3b 0d 0a 09 44 ugEventCode;...D 7c20: 57 4f 52 44 20 64 77 50 72 6f 63 65 73 73 49 64 WORD dwProcessId 7c30: 3b 0d 0a 09 44 57 4f 52 44 20 64 77 54 68 72 65 ;...DWORD dwThre 7c40: 61 64 49 64 3b 0d 0a 09 75 6e 69 6f 6e 20 7b 0d adId;...union {. 7c50: 0a 09 09 45 58 43 45 50 54 49 4f 4e 5f 44 45 42 ...EXCEPTION_DEB 7c60: 55 47 5f 49 4e 46 4f 20 20 20 20 20 20 45 78 63 UG_INFO Exc 7c70: 65 70 74 69 6f 6e 3b 0d 0a 09 09 43 52 45 41 54 eption;....CREAT 7c80: 45 5f 54 48 52 45 41 44 5f 44 45 42 55 47 5f 49 E_THREAD_DEBUG_I 7c90: 4e 46 4f 20 20 43 72 65 61 74 65 54 68 72 65 61 NFO CreateThrea 7ca0: 64 3b 0d 0a 09 09 43 52 45 41 54 45 5f 50 52 4f d;....CREATE_PRO 7cb0: 43 45 53 53 5f 44 45 42 55 47 5f 49 4e 46 4f 20 CESS_DEBUG_INFO 7cc0: 43 72 65 61 74 65 50 72 6f 63 65 73 73 49 6e 66 CreateProcessInf 7cd0: 6f 3b 0d 0a 09 09 45 58 49 54 5f 54 48 52 45 41 o;....EXIT_THREA 7ce0: 44 5f 44 45 42 55 47 5f 49 4e 46 4f 20 20 20 20 D_DEBUG_INFO 7cf0: 45 78 69 74 54 68 72 65 61 64 3b 0d 0a 09 09 45 ExitThread;....E 7d00: 58 49 54 5f 50 52 4f 43 45 53 53 5f 44 45 42 55 XIT_PROCESS_DEBU 7d10: 47 5f 49 4e 46 4f 20 20 20 45 78 69 74 50 72 6f G_INFO ExitPro 7d20: 63 65 73 73 3b 0d 0a 09 09 4c 4f 41 44 5f 44 4c cess;....LOAD_DL 7d30: 4c 5f 44 45 42 55 47 5f 49 4e 46 4f 20 20 20 20 L_DEBUG_INFO 7d40: 20 20 20 4c 6f 61 64 44 6c 6c 3b 0d 0a 09 09 55 LoadDll;....U 7d50: 4e 4c 4f 41 44 5f 44 4c 4c 5f 44 45 42 55 47 5f NLOAD_DLL_DEBUG_ 7d60: 49 4e 46 4f 20 20 20 20 20 55 6e 6c 6f 61 64 44 INFO UnloadD 7d70: 6c 6c 3b 0d 0a 09 09 4f 55 54 50 55 54 5f 44 45 ll;....OUTPUT_DE 7d80: 42 55 47 5f 53 54 52 49 4e 47 5f 49 4e 46 4f 20 BUG_STRING_INFO 7d90: 20 44 65 62 75 67 53 74 72 69 6e 67 3b 0d 0a 09 DebugString;... 7da0: 09 52 49 50 5f 49 4e 46 4f 20 20 20 20 20 20 20 .RIP_INFO 7db0: 20 20 20 20 20 20 20 20 20 20 20 52 69 70 49 6e RipIn 7dc0: 66 6f 3b 0d 0a 09 7d 0d 0a 7d 0d 0a 61 6c 69 61 fo;...}..}..alia 7dd0: 73 20 44 45 42 55 47 5f 45 56 45 4e 54 2a 20 4c s DEBUG_EVENT* L 7de0: 50 44 45 42 55 47 5f 45 56 45 4e 54 3b 0d 0a 0d PDEBUG_EVENT;... 7df0: 0a 73 74 72 75 63 74 20 4f 56 45 52 4c 41 50 50 .struct OVERLAPP 7e00: 45 44 20 7b 0d 0a 09 55 4c 4f 4e 47 5f 50 54 52 ED {...ULONG_PTR 7e10: 20 49 6e 74 65 72 6e 61 6c 3b 0d 0a 09 55 4c 4f Internal;...ULO 7e20: 4e 47 5f 50 54 52 20 49 6e 74 65 72 6e 61 6c 48 NG_PTR InternalH 7e30: 69 67 68 3b 0d 0a 09 75 6e 69 6f 6e 20 7b 0d 0a igh;...union {.. 7e40: 09 09 73 74 72 75 63 74 20 7b 0d 0a 09 09 09 44 ..struct {.....D 7e50: 57 4f 52 44 20 20 20 20 20 4f 66 66 73 65 74 3b WORD Offset; 7e60: 0d 0a 09 09 09 44 57 4f 52 44 20 20 20 20 20 4f .....DWORD O 7e70: 66 66 73 65 74 48 69 67 68 3b 0d 0a 09 09 7d 0d ffsetHigh;....}. 7e80: 0a 09 09 50 56 4f 49 44 20 20 20 20 20 50 6f 69 ...PVOID Poi 7e90: 6e 74 65 72 3b 0d 0a 09 7d 0d 0a 09 48 41 4e 44 nter;...}...HAND 7ea0: 4c 45 20 20 20 20 68 45 76 65 6e 74 3b 0d 0a 7d LE hEvent;..} 7eb0: 0d 0a 61 6c 69 61 73 20 4f 56 45 52 4c 41 50 50 ..alias OVERLAPP 7ec0: 45 44 2a 20 50 4f 56 45 52 4c 41 50 50 45 44 2c ED* POVERLAPPED, 7ed0: 20 4c 50 4f 56 45 52 4c 41 50 50 45 44 3b 0d 0a LPOVERLAPPED;.. 7ee0: 0d 0a 73 74 72 75 63 74 20 53 54 41 52 54 55 50 ..struct STARTUP 7ef0: 49 4e 46 4f 41 20 7b 0d 0a 09 44 57 4f 52 44 20 INFOA {...DWORD 7f00: 20 63 62 20 3d 20 53 54 41 52 54 55 50 49 4e 46 cb = STARTUPINF 7f10: 4f 41 2e 73 69 7a 65 6f 66 3b 0d 0a 09 4c 50 53 OA.sizeof;...LPS 7f20: 54 52 20 20 6c 70 52 65 73 65 72 76 65 64 3b 0d TR lpReserved;. 7f30: 0a 09 4c 50 53 54 52 20 20 6c 70 44 65 73 6b 74 ..LPSTR lpDeskt 7f40: 6f 70 3b 0d 0a 09 4c 50 53 54 52 20 20 6c 70 54 op;...LPSTR lpT 7f50: 69 74 6c 65 3b 0d 0a 09 44 57 4f 52 44 20 20 64 itle;...DWORD d 7f60: 77 58 3b 0d 0a 09 44 57 4f 52 44 20 20 64 77 59 wX;...DWORD dwY 7f70: 3b 0d 0a 09 44 57 4f 52 44 20 20 64 77 58 53 69 ;...DWORD dwXSi 7f80: 7a 65 3b 0d 0a 09 44 57 4f 52 44 20 20 64 77 59 ze;...DWORD dwY 7f90: 53 69 7a 65 3b 0d 0a 09 44 57 4f 52 44 20 20 64 Size;...DWORD d 7fa0: 77 58 43 6f 75 6e 74 43 68 61 72 73 3b 0d 0a 09 wXCountChars;... 7fb0: 44 57 4f 52 44 20 20 64 77 59 43 6f 75 6e 74 43 DWORD dwYCountC 7fc0: 68 61 72 73 3b 0d 0a 09 44 57 4f 52 44 20 20 64 hars;...DWORD d 7fd0: 77 46 69 6c 6c 41 74 74 72 69 62 75 74 65 3b 0d wFillAttribute;. 7fe0: 0a 09 44 57 4f 52 44 20 20 64 77 46 6c 61 67 73 ..DWORD dwFlags 7ff0: 3b 0d 0a 09 57 4f 52 44 20 20 20 77 53 68 6f 77 ;...WORD wShow 8000: 57 69 6e 64 6f 77 3b 0d 0a 09 57 4f 52 44 20 20 Window;...WORD 8010: 20 63 62 52 65 73 65 72 76 65 64 32 3b 0d 0a 09 cbReserved2;... 8020: 50 42 59 54 45 20 20 6c 70 52 65 73 65 72 76 65 PBYTE lpReserve 8030: 64 32 3b 0d 0a 09 48 41 4e 44 4c 45 20 68 53 74 d2;...HANDLE hSt 8040: 64 49 6e 70 75 74 3b 0d 0a 09 48 41 4e 44 4c 45 dInput;...HANDLE 8050: 20 68 53 74 64 4f 75 74 70 75 74 3b 0d 0a 09 48 hStdOutput;...H 8060: 41 4e 44 4c 45 20 68 53 74 64 45 72 72 6f 72 3b ANDLE hStdError; 8070: 0d 0a 7d 0d 0a 61 6c 69 61 73 20 53 54 41 52 54 ..}..alias START 8080: 55 50 49 4e 46 4f 41 2a 20 4c 50 53 54 41 52 54 UPINFOA* LPSTART 8090: 55 50 49 4e 46 4f 41 3b 0d 0a 0d 0a 73 74 72 75 UPINFOA;....stru 80a0: 63 74 20 53 54 41 52 54 55 50 49 4e 46 4f 57 20 ct STARTUPINFOW 80b0: 7b 0d 0a 09 44 57 4f 52 44 20 20 63 62 20 3d 20 {...DWORD cb = 80c0: 53 54 41 52 54 55 50 49 4e 46 4f 57 2e 73 69 7a STARTUPINFOW.siz 80d0: 65 6f 66 3b 0d 0a 09 4c 50 57 53 54 52 20 6c 70 eof;...LPWSTR lp 80e0: 52 65 73 65 72 76 65 64 3b 0d 0a 09 4c 50 57 53 Reserved;...LPWS 80f0: 54 52 20 6c 70 44 65 73 6b 74 6f 70 3b 0d 0a 09 TR lpDesktop;... 8100: 4c 50 57 53 54 52 20 6c 70 54 69 74 6c 65 3b 0d LPWSTR lpTitle;. 8110: 0a 09 44 57 4f 52 44 20 20 64 77 58 3b 0d 0a 09 ..DWORD dwX;... 8120: 44 57 4f 52 44 20 20 64 77 59 3b 0d 0a 09 44 57 DWORD dwY;...DW 8130: 4f 52 44 20 20 64 77 58 53 69 7a 65 3b 0d 0a 09 ORD dwXSize;... 8140: 44 57 4f 52 44 20 20 64 77 59 53 69 7a 65 3b 0d DWORD dwYSize;. 8150: 0a 09 44 57 4f 52 44 20 20 64 77 58 43 6f 75 6e ..DWORD dwXCoun 8160: 74 43 68 61 72 73 3b 0d 0a 09 44 57 4f 52 44 20 tChars;...DWORD 8170: 20 64 77 59 43 6f 75 6e 74 43 68 61 72 73 3b 0d dwYCountChars;. 8180: 0a 09 44 57 4f 52 44 20 20 64 77 46 69 6c 6c 41 ..DWORD dwFillA 8190: 74 74 72 69 62 75 74 65 3b 0d 0a 09 44 57 4f 52 ttribute;...DWOR 81a0: 44 20 20 64 77 46 6c 61 67 73 3b 0d 0a 09 57 4f D dwFlags;...WO 81b0: 52 44 20 20 20 77 53 68 6f 77 57 69 6e 64 6f 77 RD wShowWindow 81c0: 3b 0d 0a 09 57 4f 52 44 20 20 20 63 62 52 65 73 ;...WORD cbRes 81d0: 65 72 76 65 64 32 3b 0d 0a 09 50 42 59 54 45 20 erved2;...PBYTE 81e0: 20 6c 70 52 65 73 65 72 76 65 64 32 3b 0d 0a 09 lpReserved2;... 81f0: 48 41 4e 44 4c 45 20 68 53 74 64 49 6e 70 75 74 HANDLE hStdInput 8200: 3b 0d 0a 09 48 41 4e 44 4c 45 20 68 53 74 64 4f ;...HANDLE hStdO 8210: 75 74 70 75 74 3b 0d 0a 09 48 41 4e 44 4c 45 20 utput;...HANDLE 8220: 68 53 74 64 45 72 72 6f 72 3b 0d 0a 7d 0d 0a 61 hStdError;..}..a 8230: 6c 69 61 73 20 53 54 41 52 54 55 50 49 4e 46 4f lias STARTUPINFO 8240: 57 2a 20 4c 50 53 54 41 52 54 55 50 49 4e 46 4f W* LPSTARTUPINFO 8250: 57 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 50 52 4f W;....struct PRO 8260: 43 45 53 53 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e CESS_INFORMATION 8270: 20 7b 0d 0a 09 48 41 4e 44 4c 45 20 68 50 72 6f {...HANDLE hPro 8280: 63 65 73 73 3b 0d 0a 09 48 41 4e 44 4c 45 20 68 cess;...HANDLE h 8290: 54 68 72 65 61 64 3b 0d 0a 09 44 57 4f 52 44 20 Thread;...DWORD 82a0: 20 64 77 50 72 6f 63 65 73 73 49 64 3b 0d 0a 09 dwProcessId;... 82b0: 44 57 4f 52 44 20 20 64 77 54 68 72 65 61 64 49 DWORD dwThreadI 82c0: 64 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 50 52 4f d;..}..alias PRO 82d0: 43 45 53 53 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e CESS_INFORMATION 82e0: 2a 20 50 50 52 4f 43 45 53 53 5f 49 4e 46 4f 52 * PPROCESS_INFOR 82f0: 4d 41 54 49 4f 4e 2c 20 4c 50 50 52 4f 43 45 53 MATION, LPPROCES 8300: 53 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e 3b 0d 0a S_INFORMATION;.. 8310: 0d 0a 73 74 72 75 63 74 20 43 52 49 54 49 43 41 ..struct CRITICA 8320: 4c 5f 53 45 43 54 49 4f 4e 5f 44 45 42 55 47 20 L_SECTION_DEBUG 8330: 7b 0d 0a 09 57 4f 52 44 20 20 20 20 20 20 20 20 {...WORD 8340: 20 20 20 20 20 20 54 79 70 65 3b 0d 0a 09 57 4f Type;...WO 8350: 52 44 20 20 20 20 20 20 20 20 20 20 20 20 20 20 RD 8360: 43 72 65 61 74 6f 72 42 61 63 6b 54 72 61 63 65 CreatorBackTrace 8370: 49 6e 64 65 78 3b 0d 0a 09 43 52 49 54 49 43 41 Index;...CRITICA 8380: 4c 5f 53 45 43 54 49 4f 4e 2a 20 43 72 69 74 69 L_SECTION* Criti 8390: 63 61 6c 53 65 63 74 69 6f 6e 3b 0d 0a 09 4c 49 calSection;...LI 83a0: 53 54 5f 45 4e 54 52 59 20 20 20 20 20 20 20 20 ST_ENTRY 83b0: 50 72 6f 63 65 73 73 4c 6f 63 6b 73 4c 69 73 74 ProcessLocksList 83c0: 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 ;...DWORD 83d0: 20 20 20 20 20 20 45 6e 74 72 79 43 6f 75 6e 74 EntryCount 83e0: 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 ;...DWORD 83f0: 20 20 20 20 20 20 43 6f 6e 74 65 6e 74 69 6f 6e Contention 8400: 43 6f 75 6e 74 3b 0d 0a 09 44 57 4f 52 44 5b 32 Count;...DWORD[2 8410: 5d 20 20 20 20 20 20 20 20 20 20 53 70 61 72 65 ] Spare 8420: 3b 0d 0a 7d 0d 0a 61 6c 69 61 73 20 43 52 49 54 ;..}..alias CRIT 8430: 49 43 41 4c 5f 53 45 43 54 49 4f 4e 5f 44 45 42 ICAL_SECTION_DEB 8440: 55 47 2a 20 50 43 52 49 54 49 43 41 4c 5f 53 45 UG* PCRITICAL_SE 8450: 43 54 49 4f 4e 5f 44 45 42 55 47 3b 0d 0a 0d 0a CTION_DEBUG;.... 8460: 73 74 72 75 63 74 20 43 52 49 54 49 43 41 4c 5f struct CRITICAL_ 8470: 53 45 43 54 49 4f 4e 20 7b 0d 0a 09 50 43 52 49 SECTION {...PCRI 8480: 54 49 43 41 4c 5f 53 45 43 54 49 4f 4e 5f 44 45 TICAL_SECTION_DE 8490: 42 55 47 20 44 65 62 75 67 49 6e 66 6f 3b 0d 0a BUG DebugInfo;.. 84a0: 09 4c 4f 4e 47 20 20 20 4c 6f 63 6b 43 6f 75 6e .LONG LockCoun 84b0: 74 3b 0d 0a 09 4c 4f 4e 47 20 20 20 52 65 63 75 t;...LONG Recu 84c0: 72 73 69 6f 6e 43 6f 75 6e 74 3b 0d 0a 09 48 41 rsionCount;...HA 84d0: 4e 44 4c 45 20 4f 77 6e 69 6e 67 54 68 72 65 61 NDLE OwningThrea 84e0: 64 3b 0d 0a 09 48 41 4e 44 4c 45 20 4c 6f 63 6b d;...HANDLE Lock 84f0: 53 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 44 57 4f Semaphore;...DWO 8500: 52 44 20 20 53 70 69 6e 43 6f 75 6e 74 3b 0d 0a RD SpinCount;.. 8510: 7d 0d 0a 61 6c 69 61 73 20 43 52 49 54 49 43 41 }..alias CRITICA 8520: 4c 5f 53 45 43 54 49 4f 4e 2a 20 50 43 52 49 54 L_SECTION* PCRIT 8530: 49 43 41 4c 5f 53 45 43 54 49 4f 4e 2c 20 4c 50 ICAL_SECTION, LP 8540: 43 52 49 54 49 43 41 4c 5f 53 45 43 54 49 4f 4e CRITICAL_SECTION 8550: 3b 0d 0a 0d 0a 73 74 72 75 63 74 20 53 59 53 54 ;....struct SYST 8560: 45 4d 54 49 4d 45 20 7b 0d 0a 09 57 4f 52 44 20 EMTIME {...WORD 8570: 77 59 65 61 72 3b 0d 0a 09 57 4f 52 44 20 77 4d wYear;...WORD wM 8580: 6f 6e 74 68 3b 0d 0a 09 57 4f 52 44 20 77 44 61 onth;...WORD wDa 8590: 79 4f 66 57 65 65 6b 3b 0d 0a 09 57 4f 52 44 20 yOfWeek;...WORD 85a0: 77 44 61 79 3b 0d 0a 09 57 4f 52 44 20 77 48 6f wDay;...WORD wHo 85b0: 75 72 3b 0d 0a 09 57 4f 52 44 20 77 4d 69 6e 75 ur;...WORD wMinu 85c0: 74 65 3b 0d 0a 09 57 4f 52 44 20 77 53 65 63 6f te;...WORD wSeco 85d0: 6e 64 3b 0d 0a 09 57 4f 52 44 20 77 4d 69 6c 6c nd;...WORD wMill 85e0: 69 73 65 63 6f 6e 64 73 3b 0d 0a 7d 0d 0a 61 6c iseconds;..}..al 85f0: 69 61 73 20 53 59 53 54 45 4d 54 49 4d 45 2a 20 ias SYSTEMTIME* 8600: 4c 50 53 59 53 54 45 4d 54 49 4d 45 3b 0d 0a 0d LPSYSTEMTIME;... 8610: 0a 73 74 72 75 63 74 20 57 49 4e 33 32 5f 46 49 .struct WIN32_FI 8620: 4c 45 5f 41 54 54 52 49 42 55 54 45 5f 44 41 54 LE_ATTRIBUTE_DAT 8630: 41 20 7b 0d 0a 09 44 57 4f 52 44 20 20 20 20 64 A {...DWORD d 8640: 77 46 69 6c 65 41 74 74 72 69 62 75 74 65 73 3b wFileAttributes; 8650: 0d 0a 09 46 49 4c 45 54 49 4d 45 20 66 74 43 72 ...FILETIME ftCr 8660: 65 61 74 69 6f 6e 54 69 6d 65 3b 0d 0a 09 46 49 eationTime;...FI 8670: 4c 45 54 49 4d 45 20 66 74 4c 61 73 74 41 63 63 LETIME ftLastAcc 8680: 65 73 73 54 69 6d 65 3b 0d 0a 09 46 49 4c 45 54 essTime;...FILET 8690: 49 4d 45 20 66 74 4c 61 73 74 57 72 69 74 65 54 IME ftLastWriteT 86a0: 69 6d 65 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 ime;...DWORD 86b0: 6e 46 69 6c 65 53 69 7a 65 48 69 67 68 3b 0d 0a nFileSizeHigh;.. 86c0: 09 44 57 4f 52 44 20 20 20 20 6e 46 69 6c 65 53 .DWORD nFileS 86d0: 69 7a 65 4c 6f 77 3b 0d 0a 7d 0d 0a 61 6c 69 61 izeLow;..}..alia 86e0: 73 20 57 49 4e 33 32 5f 46 49 4c 45 5f 41 54 54 s WIN32_FILE_ATT 86f0: 52 49 42 55 54 45 5f 44 41 54 41 2a 20 4c 50 57 RIBUTE_DATA* LPW 8700: 49 4e 33 32 5f 46 49 4c 45 5f 41 54 54 52 49 42 IN32_FILE_ATTRIB 8710: 55 54 45 5f 44 41 54 41 3b 0d 0a 0d 0a 73 74 72 UTE_DATA;....str 8720: 75 63 74 20 57 49 4e 33 32 5f 46 49 4e 44 5f 44 uct WIN32_FIND_D 8730: 41 54 41 41 20 7b 0d 0a 09 44 57 4f 52 44 20 20 ATAA {...DWORD 8740: 20 20 20 20 20 20 20 20 64 77 46 69 6c 65 41 74 dwFileAt 8750: 74 72 69 62 75 74 65 73 3b 0d 0a 09 46 49 4c 45 tributes;...FILE 8760: 54 49 4d 45 20 20 20 20 20 20 20 66 74 43 72 65 TIME ftCre 8770: 61 74 69 6f 6e 54 69 6d 65 3b 0d 0a 09 46 49 4c ationTime;...FIL 8780: 45 54 49 4d 45 20 20 20 20 20 20 20 66 74 4c 61 ETIME ftLa 8790: 73 74 41 63 63 65 73 73 54 69 6d 65 3b 0d 0a 09 stAccessTime;... 87a0: 46 49 4c 45 54 49 4d 45 20 20 20 20 20 20 20 66 FILETIME f 87b0: 74 4c 61 73 74 57 72 69 74 65 54 69 6d 65 3b 0d tLastWriteTime;. 87c0: 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 ..DWORD 87d0: 20 6e 46 69 6c 65 53 69 7a 65 48 69 67 68 3b 0d nFileSizeHigh;. 87e0: 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 ..DWORD 87f0: 20 6e 46 69 6c 65 53 69 7a 65 4c 6f 77 3b 0d 0a nFileSizeLow;.. 8800: 2f 2f 20 23 69 66 64 65 66 20 5f 57 49 4e 33 32 // #ifdef _WIN32 8810: 5f 57 43 45 0d 0a 2f 2f 09 44 57 4f 52 44 20 64 _WCE..//.DWORD d 8820: 77 4f 49 44 3b 0d 0a 2f 2f 20 23 65 6c 73 65 0d wOID;..// #else. 8830: 0a 09 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 ..DWORD 8840: 20 64 77 52 65 73 65 72 76 65 64 30 3b 0d 0a 09 dwReserved0;... 8850: 44 57 4f 52 44 20 20 20 20 20 20 20 20 20 20 64 DWORD d 8860: 77 52 65 73 65 72 76 65 64 31 3b 0d 0a 2f 2f 20 wReserved1;..// 8870: 23 65 6e 64 69 66 0d 0a 09 43 48 41 52 5b 4d 41 #endif...CHAR[MA 8880: 58 5f 50 41 54 48 5d 20 63 46 69 6c 65 4e 61 6d X_PATH] cFileNam 8890: 65 3b 0d 0a 2f 2f 20 23 69 66 6e 64 65 66 20 5f e;..// #ifndef _ 88a0: 57 49 4e 33 32 5f 57 43 45 0d 0a 09 43 48 41 52 WIN32_WCE...CHAR 88b0: 5b 31 34 5d 20 20 20 20 20 20 20 63 41 6c 74 65 [14] cAlte 88c0: 72 6e 61 74 65 46 69 6c 65 4e 61 6d 65 3b 0d 0a rnateFileName;.. 88d0: 2f 2f 20 23 65 6e 64 69 66 0d 0a 7d 0d 0a 61 6c // #endif..}..al 88e0: 69 61 73 20 57 49 4e 33 32 5f 46 49 4e 44 5f 44 ias WIN32_FIND_D 88f0: 41 54 41 41 2a 20 50 57 49 4e 33 32 5f 46 49 4e ATAA* PWIN32_FIN 8900: 44 5f 44 41 54 41 41 2c 20 4c 50 57 49 4e 33 32 D_DATAA, LPWIN32 8910: 5f 46 49 4e 44 5f 44 41 54 41 41 3b 0d 0a 0d 0a _FIND_DATAA;.... 8920: 73 74 72 75 63 74 20 57 49 4e 33 32 5f 46 49 4e struct WIN32_FIN 8930: 44 5f 44 41 54 41 57 20 7b 0d 0a 09 44 57 4f 52 D_DATAW {...DWOR 8940: 44 20 20 20 20 20 20 20 20 20 20 20 64 77 46 69 D dwFi 8950: 6c 65 41 74 74 72 69 62 75 74 65 73 3b 0d 0a 09 leAttributes;... 8960: 46 49 4c 45 54 49 4d 45 20 20 20 20 20 20 20 20 FILETIME 8970: 66 74 43 72 65 61 74 69 6f 6e 54 69 6d 65 3b 0d ftCreationTime;. 8980: 0a 09 46 49 4c 45 54 49 4d 45 20 20 20 20 20 20 ..FILETIME 8990: 20 20 66 74 4c 61 73 74 41 63 63 65 73 73 54 69 ftLastAccessTi 89a0: 6d 65 3b 0d 0a 09 46 49 4c 45 54 49 4d 45 20 20 me;...FILETIME 89b0: 20 20 20 20 20 20 66 74 4c 61 73 74 57 72 69 74 ftLastWrit 89c0: 65 54 69 6d 65 3b 0d 0a 09 44 57 4f 52 44 20 20 eTime;...DWORD 89d0: 20 20 20 20 20 20 20 20 20 6e 46 69 6c 65 53 69 nFileSi 89e0: 7a 65 48 69 67 68 3b 0d 0a 09 44 57 4f 52 44 20 zeHigh;...DWORD 89f0: 20 20 20 20 20 20 20 20 20 20 6e 46 69 6c 65 53 nFileS 8a00: 69 7a 65 4c 6f 77 3b 0d 0a 2f 2f 20 23 69 66 64 izeLow;..// #ifd 8a10: 65 66 20 5f 57 49 4e 33 32 5f 57 43 45 0d 0a 2f ef _WIN32_WCE../ 8a20: 2f 20 09 44 57 4f 52 44 20 64 77 4f 49 44 3b 0d / .DWORD dwOID;. 8a30: 0a 2f 2f 20 23 65 6c 73 65 0d 0a 09 44 57 4f 52 .// #else...DWOR 8a40: 44 20 20 20 20 20 20 20 20 20 20 20 64 77 52 65 D dwRe 8a50: 73 65 72 76 65 64 30 3b 0d 0a 09 44 57 4f 52 44 served0;...DWORD 8a60: 20 20 20 20 20 20 20 20 20 20 20 64 77 52 65 73 dwRes 8a70: 65 72 76 65 64 31 3b 0d 0a 2f 2f 20 23 65 6e 64 erved1;..// #end 8a80: 69 66 0d 0a 09 57 43 48 41 52 5b 4d 41 58 5f 50 if...WCHAR[MAX_P 8a90: 41 54 48 5d 20 63 46 69 6c 65 4e 61 6d 65 3b 0d ATH] cFileName;. 8aa0: 0a 2f 2f 20 23 69 66 6e 64 65 66 20 5f 57 49 4e .// #ifndef _WIN 8ab0: 33 32 5f 57 43 45 0d 0a 09 57 43 48 41 52 5b 31 32_WCE...WCHAR[1 8ac0: 34 5d 20 20 20 20 20 20 20 63 41 6c 74 65 72 6e 4] cAltern 8ad0: 61 74 65 46 69 6c 65 4e 61 6d 65 3b 0d 0a 2f 2f ateFileName;..// 8ae0: 20 23 65 6e 64 69 66 0d 0a 7d 0d 0a 61 6c 69 61 #endif..}..alia 8af0: 73 20 57 49 4e 33 32 5f 46 49 4e 44 5f 44 41 54 s WIN32_FIND_DAT 8b00: 41 57 2a 20 50 57 49 4e 33 32 5f 46 49 4e 44 5f AW* PWIN32_FIND_ 8b10: 44 41 54 41 57 2c 20 4c 50 57 49 4e 33 32 5f 46 DATAW, LPWIN32_F 8b20: 49 4e 44 5f 44 41 54 41 57 3b 0d 0a 0d 0a 73 74 IND_DATAW;....st 8b30: 72 75 63 74 20 57 49 4e 33 32 5f 53 54 52 45 41 ruct WIN32_STREA 8b40: 4d 5f 49 44 20 7b 0d 0a 09 44 57 4f 52 44 20 20 M_ID {...DWORD 8b50: 20 20 20 20 20 20 20 64 77 53 74 72 65 61 6d 49 dwStreamI 8b60: 64 3b 0d 0a 09 44 57 4f 52 44 20 20 20 20 20 20 d;...DWORD 8b70: 20 20 20 64 77 53 74 72 65 61 6d 41 74 74 72 69 dwStreamAttri 8b80: 62 75 74 65 73 3b 0d 0a 09 4c 41 52 47 45 5f 49 butes;...LARGE_I 8b90: 4e 54 45 47 45 52 20 53 69 7a 65 3b 0d 0a 09 44 NTEGER Size;...D 8ba0: 57 4f 52 44 20 20 20 20 20 20 20 20 20 64 77 53 WORD dwS 8bb0: 74 72 65 61 6d 4e 61 6d 65 53 69 7a 65 3b 0d 0a treamNameSize;.. 8bc0: 09 57 43 48 41 52 20 20 20 20 20 20 20 20 20 5f .WCHAR _ 8bd0: 63 53 74 72 65 61 6d 4e 61 6d 65 3b 0d 0a 0d 0a cStreamName;.... 8be0: 09 57 43 48 41 52 2a 20 63 53 74 72 65 61 6d 4e .WCHAR* cStreamN 8bf0: 61 6d 65 28 29 20 7b 20 72 65 74 75 72 6e 20 26 ame() { return & 8c00: 5f 63 53 74 72 65 61 6d 4e 61 6d 65 3b 20 7d 0d _cStreamName; }. 8c10: 0a 7d 0d 0a 61 6c 69 61 73 20 57 49 4e 33 32 5f .}..alias WIN32_ 8c20: 53 54 52 45 41 4d 5f 49 44 2a 20 4c 50 57 49 4e STREAM_ID* LPWIN 8c30: 33 32 5f 53 54 52 45 41 4d 5f 49 44 3b 0d 0a 0d 32_STREAM_ID;... 8c40: 0a 65 6e 75 6d 20 46 49 4e 44 45 58 5f 49 4e 46 .enum FINDEX_INF 8c50: 4f 5f 4c 45 56 45 4c 53 20 7b 0d 0a 09 46 69 6e O_LEVELS {...Fin 8c60: 64 45 78 49 6e 66 6f 53 74 61 6e 64 61 72 64 2c dExInfoStandard, 8c70: 0d 0a 09 46 69 6e 64 45 78 49 6e 66 6f 4d 61 78 ...FindExInfoMax 8c80: 49 6e 66 6f 4c 65 76 65 6c 0d 0a 7d 0d 0a 0d 0a InfoLevel..}.... 8c90: 65 6e 75 6d 20 46 49 4e 44 45 58 5f 53 45 41 52 enum FINDEX_SEAR 8ca0: 43 48 5f 4f 50 53 20 7b 0d 0a 09 46 69 6e 64 45 CH_OPS {...FindE 8cb0: 78 53 65 61 72 63 68 4e 61 6d 65 4d 61 74 63 68 xSearchNameMatch 8cc0: 2c 0d 0a 09 46 69 6e 64 45 78 53 65 61 72 63 68 ,...FindExSearch 8cd0: 4c 69 6d 69 74 54 6f 44 69 72 65 63 74 6f 72 69 LimitToDirectori 8ce0: 65 73 2c 0d 0a 09 46 69 6e 64 45 78 53 65 61 72 es,...FindExSear 8cf0: 63 68 4c 69 6d 69 74 54 6f 44 65 76 69 63 65 73 chLimitToDevices 8d00: 2c 0d 0a 09 46 69 6e 64 45 78 53 65 61 72 63 68 ,...FindExSearch 8d10: 4d 61 78 53 65 61 72 63 68 4f 70 0d 0a 7d 0d 0a MaxSearchOp..}.. 8d20: 0d 0a 65 6e 75 6d 20 41 43 4c 5f 49 4e 46 4f 52 ..enum ACL_INFOR 8d30: 4d 41 54 49 4f 4e 5f 43 4c 41 53 53 20 7b 0d 0a MATION_CLASS {.. 8d40: 09 41 63 6c 52 65 76 69 73 69 6f 6e 49 6e 66 6f .AclRevisionInfo 8d50: 72 6d 61 74 69 6f 6e 20 3d 20 31 2c 0d 0a 09 41 rmation = 1,...A 8d60: 63 6c 53 69 7a 65 49 6e 66 6f 72 6d 61 74 69 6f clSizeInformatio 8d70: 6e 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 48 n..}....struct H 8d80: 57 5f 50 52 4f 46 49 4c 45 5f 49 4e 46 4f 41 20 W_PROFILE_INFOA 8d90: 7b 0d 0a 09 44 57 4f 52 44 20 64 77 44 6f 63 6b {...DWORD dwDock 8da0: 49 6e 66 6f 3b 0d 0a 09 43 48 41 52 5b 48 57 5f Info;...CHAR[HW_ 8db0: 50 52 4f 46 49 4c 45 5f 47 55 49 44 4c 45 4e 5d PROFILE_GUIDLEN] 8dc0: 20 73 7a 48 77 50 72 6f 66 69 6c 65 47 75 69 64 szHwProfileGuid 8dd0: 3b 0d 0a 09 43 48 41 52 5b 4d 41 58 5f 50 52 4f ;...CHAR[MAX_PRO 8de0: 46 49 4c 45 5f 4c 45 4e 5d 20 20 20 20 73 7a 48 FILE_LEN] szH 8df0: 77 50 72 6f 66 69 6c 65 4e 61 6d 65 3b 0d 0a 7d wProfileName;..} 8e00: 0d 0a 61 6c 69 61 73 20 48 57 5f 50 52 4f 46 49 ..alias HW_PROFI 8e10: 4c 45 5f 49 4e 46 4f 41 2a 20 4c 50 48 57 5f 50 LE_INFOA* LPHW_P 8e20: 52 4f 46 49 4c 45 5f 49 4e 46 4f 41 3b 0d 0a 0d ROFILE_INFOA;... 8e30: 0a 73 74 72 75 63 74 20 48 57 5f 50 52 4f 46 49 .struct HW_PROFI 8e40: 4c 45 5f 49 4e 46 4f 57 20 7b 0d 0a 09 44 57 4f LE_INFOW {...DWO 8e50: 52 44 20 64 77 44 6f 63 6b 49 6e 66 6f 3b 0d 0a RD dwDockInfo;.. 8e60: 09 57 43 48 41 52 5b 48 57 5f 50 52 4f 46 49 4c .WCHAR[HW_PROFIL 8e70: 45 5f 47 55 49 44 4c 45 4e 5d 20 73 7a 48 77 50 E_GUIDLEN] szHwP 8e80: 72 6f 66 69 6c 65 47 75 69 64 3b 0d 0a 09 57 43 rofileGuid;...WC 8e90: 48 41 52 5b 4d 41 58 5f 50 52 4f 46 49 4c 45 5f HAR[MAX_PROFILE_ 8ea0: 4c 45 4e 5d 20 20 20 20 73 7a 48 77 50 72 6f 66 LEN] szHwProf 8eb0: 69 6c 65 4e 61 6d 65 3b 0d 0a 7d 0d 0a 61 6c 69 ileName;..}..ali 8ec0: 61 73 20 48 57 5f 50 52 4f 46 49 4c 45 5f 49 4e as HW_PROFILE_IN 8ed0: 46 4f 57 2a 20 4c 50 48 57 5f 50 52 4f 46 49 4c FOW* LPHW_PROFIL 8ee0: 45 5f 49 4e 46 4f 57 3b 0d 0a 0d 0a 2f 2a 09 3f E_INFOW;..../*.? 8ef0: 3f 3f 20 4d 53 44 4e 20 64 6f 63 75 6d 65 6e 74 ?? MSDN document 8f00: 73 20 74 68 69 73 20 6f 6e 6c 79 20 66 6f 72 20 s this only for 8f10: 57 69 6e 64 6f 77 73 20 43 45 2f 4d 6f 62 69 6c Windows CE/Mobil 8f20: 65 2c 20 62 75 74 20 69 74 27 73 20 75 73 65 64 e, but it's used 8f30: 20 62 79 0d 0a 20 2a 09 47 65 74 46 69 6c 65 41 by.. *.GetFileA 8f40: 74 74 72 69 62 75 74 65 73 45 78 2c 20 77 68 69 ttributesEx, whi 8f50: 63 68 20 69 73 20 69 6e 20 64 65 73 6b 74 6f 70 ch is in desktop 8f60: 20 57 69 6e 64 6f 77 73 2e 0d 0a 20 2a 2f 0d 0a Windows... */.. 8f70: 65 6e 75 6d 20 47 45 54 5f 46 49 4c 45 45 58 5f enum GET_FILEEX_ 8f80: 49 4e 46 4f 5f 4c 45 56 45 4c 53 20 7b 0d 0a 09 INFO_LEVELS {... 8f90: 47 65 74 46 69 6c 65 45 78 49 6e 66 6f 53 74 61 GetFileExInfoSta 8fa0: 6e 64 61 72 64 2c 0d 0a 09 47 65 74 46 69 6c 65 ndard,...GetFile 8fb0: 45 78 4d 61 78 49 6e 66 6f 4c 65 76 65 6c 0d 0a ExMaxInfoLevel.. 8fc0: 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 53 59 53 54 }....struct SYST 8fd0: 45 4d 5f 49 4e 46 4f 20 7b 0d 0a 09 75 6e 69 6f EM_INFO {...unio 8fe0: 6e 20 7b 0d 0a 09 09 44 57 4f 52 44 20 64 77 4f n {....DWORD dwO 8ff0: 65 6d 49 64 3b 0d 0a 09 09 73 74 72 75 63 74 20 emId;....struct 9000: 7b 0d 0a 09 09 09 57 4f 52 44 20 77 50 72 6f 63 {.....WORD wProc 9010: 65 73 73 6f 72 41 72 63 68 69 74 65 63 74 75 72 essorArchitectur 9020: 65 3b 0d 0a 09 09 09 57 4f 52 44 20 77 52 65 73 e;.....WORD wRes 9030: 65 72 76 65 64 3b 0d 0a 09 09 7d 0d 0a 09 7d 0d erved;....}...}. 9040: 0a 09 44 57 4f 52 44 20 64 77 50 61 67 65 53 69 ..DWORD dwPageSi 9050: 7a 65 3b 0d 0a 09 50 56 4f 49 44 20 6c 70 4d 69 ze;...PVOID lpMi 9060: 6e 69 6d 75 6d 41 70 70 6c 69 63 61 74 69 6f 6e nimumApplication 9070: 41 64 64 72 65 73 73 3b 0d 0a 09 50 56 4f 49 44 Address;...PVOID 9080: 20 6c 70 4d 61 78 69 6d 75 6d 41 70 70 6c 69 63 lpMaximumApplic 9090: 61 74 69 6f 6e 41 64 64 72 65 73 73 3b 0d 0a 09 ationAddress;... 90a0: 44 57 4f 52 44 5f 50 54 52 20 64 77 41 63 74 69 DWORD_PTR dwActi 90b0: 76 65 50 72 6f 63 65 73 73 6f 72 4d 61 73 6b 3b veProcessorMask; 90c0: 0d 0a 09 44 57 4f 52 44 20 64 77 4e 75 6d 62 65 ...DWORD dwNumbe 90d0: 72 4f 66 50 72 6f 63 65 73 73 6f 72 73 3b 0d 0a rOfProcessors;.. 90e0: 09 44 57 4f 52 44 20 64 77 50 72 6f 63 65 73 73 .DWORD dwProcess 90f0: 6f 72 54 79 70 65 3b 0d 0a 09 44 57 4f 52 44 20 orType;...DWORD 9100: 64 77 41 6c 6c 6f 63 61 74 69 6f 6e 47 72 61 6e dwAllocationGran 9110: 75 6c 61 72 69 74 79 3b 0d 0a 09 57 4f 52 44 20 ularity;...WORD 9120: 20 77 50 72 6f 63 65 73 73 6f 72 4c 65 76 65 6c wProcessorLevel 9130: 3b 0d 0a 09 57 4f 52 44 20 20 77 50 72 6f 63 65 ;...WORD wProce 9140: 73 73 6f 72 52 65 76 69 73 69 6f 6e 3b 0d 0a 7d ssorRevision;..} 9150: 0d 0a 61 6c 69 61 73 20 53 59 53 54 45 4d 5f 49 ..alias SYSTEM_I 9160: 4e 46 4f 2a 20 4c 50 53 59 53 54 45 4d 5f 49 4e NFO* LPSYSTEM_IN 9170: 46 4f 3b 0d 0a 0d 0a 73 74 61 74 69 63 20 69 66 FO;....static if 9180: 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 20 3e (_WIN32_WINNT > 9190: 3d 20 30 78 35 30 30 29 20 7b 0d 0a 09 73 74 72 = 0x500) {...str 91a0: 75 63 74 20 53 59 53 54 45 4d 5f 50 4f 57 45 52 uct SYSTEM_POWER 91b0: 5f 53 54 41 54 55 53 20 7b 0d 0a 09 09 42 59 54 _STATUS {....BYT 91c0: 45 20 41 43 4c 69 6e 65 53 74 61 74 75 73 3b 0d E ACLineStatus;. 91d0: 0a 09 09 42 59 54 45 20 42 61 74 74 65 72 79 46 ...BYTE BatteryF 91e0: 6c 61 67 3b 0d 0a 09 09 42 59 54 45 20 42 61 74 lag;....BYTE Bat 91f0: 74 65 72 79 4c 69 66 65 50 65 72 63 65 6e 74 3b teryLifePercent; 9200: 0d 0a 09 09 42 59 54 45 20 52 65 73 65 72 76 65 ....BYTE Reserve 9210: 64 31 3b 0d 0a 09 09 44 57 4f 52 44 20 42 61 74 d1;....DWORD Bat 9220: 74 65 72 79 4c 69 66 65 54 69 6d 65 3b 0d 0a 09 teryLifeTime;... 9230: 09 44 57 4f 52 44 20 42 61 74 74 65 72 79 46 75 .DWORD BatteryFu 9240: 6c 6c 4c 69 66 65 54 69 6d 65 3b 0d 0a 09 7d 0d llLifeTime;...}. 9250: 0a 09 61 6c 69 61 73 20 53 59 53 54 45 4d 5f 50 ..alias SYSTEM_P 9260: 4f 57 45 52 5f 53 54 41 54 55 53 2a 20 4c 50 53 OWER_STATUS* LPS 9270: 59 53 54 45 4d 5f 50 4f 57 45 52 5f 53 54 41 54 YSTEM_POWER_STAT 9280: 55 53 3b 0d 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 US;..}....struct 9290: 20 54 49 4d 45 5f 5a 4f 4e 45 5f 49 4e 46 4f 52 TIME_ZONE_INFOR 92a0: 4d 41 54 49 4f 4e 20 7b 0d 0a 09 4c 4f 4e 47 20 MATION {...LONG 92b0: 20 20 20 20 20 20 42 69 61 73 3b 0d 0a 09 57 43 Bias;...WC 92c0: 48 41 52 5b 33 32 5d 20 20 53 74 61 6e 64 61 72 HAR[32] Standar 92d0: 64 4e 61 6d 65 3b 0d 0a 09 53 59 53 54 45 4d 54 dName;...SYSTEMT 92e0: 49 4d 45 20 53 74 61 6e 64 61 72 64 44 61 74 65 IME StandardDate 92f0: 3b 0d 0a 09 4c 4f 4e 47 20 20 20 20 20 20 20 53 ;...LONG S 9300: 74 61 6e 64 61 72 64 42 69 61 73 3b 0d 0a 09 57 tandardBias;...W 9310: 43 48 41 52 5b 33 32 5d 20 20 44 61 79 6c 69 67 CHAR[32] Daylig 9320: 68 74 4e 61 6d 65 3b 0d 0a 09 53 59 53 54 45 4d htName;...SYSTEM 9330: 54 49 4d 45 20 44 61 79 6c 69 67 68 74 44 61 74 TIME DaylightDat 9340: 65 3b 0d 0a 09 4c 4f 4e 47 20 20 20 20 20 20 20 e;...LONG 9350: 44 61 79 6c 69 67 68 74 42 69 61 73 3b 0d 0a 7d DaylightBias;..} 9360: 0d 0a 61 6c 69 61 73 20 54 49 4d 45 5f 5a 4f 4e ..alias TIME_ZON 9370: 45 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e 2a 20 4c E_INFORMATION* L 9380: 50 54 49 4d 45 5f 5a 4f 4e 45 5f 49 4e 46 4f 52 PTIME_ZONE_INFOR 9390: 4d 41 54 49 4f 4e 3b 0d 0a 0d 0a 2f 2f 20 4d 53 MATION;....// MS 93a0: 44 4e 20 64 6f 63 75 6d 65 6e 74 73 20 74 68 69 DN documents thi 93b0: 73 2c 20 70 6f 73 73 69 62 6c 79 20 65 72 72 6f s, possibly erro 93c0: 6e 65 6f 75 73 6c 79 2c 20 61 73 20 57 69 6e 32 neously, as Win2 93d0: 30 30 30 2b 2e 0d 0a 73 74 72 75 63 74 20 4d 45 000+...struct ME 93e0: 4d 4f 52 59 53 54 41 54 55 53 20 7b 0d 0a 09 44 MORYSTATUS {...D 93f0: 57 4f 52 44 20 64 77 4c 65 6e 67 74 68 3b 0d 0a WORD dwLength;.. 9400: 09 44 57 4f 52 44 20 64 77 4d 65 6d 6f 72 79 4c .DWORD dwMemoryL 9410: 6f 61 64 3b 0d 0a 09 44 57 4f 52 44 20 64 77 54 oad;...DWORD dwT 9420: 6f 74 61 6c 50 68 79 73 3b 0d 0a 09 44 57 4f 52 otalPhys;...DWOR 9430: 44 20 64 77 41 76 61 69 6c 50 68 79 73 3b 0d 0a D dwAvailPhys;.. 9440: 09 44 57 4f 52 44 20 64 77 54 6f 74 61 6c 50 61 .DWORD dwTotalPa 9450: 67 65 46 69 6c 65 3b 0d 0a 09 44 57 4f 52 44 20 geFile;...DWORD 9460: 64 77 41 76 61 69 6c 50 61 67 65 46 69 6c 65 3b dwAvailPageFile; 9470: 0d 0a 09 44 57 4f 52 44 20 64 77 54 6f 74 61 6c ...DWORD dwTotal 9480: 56 69 72 74 75 61 6c 3b 0d 0a 09 44 57 4f 52 44 Virtual;...DWORD 9490: 20 64 77 41 76 61 69 6c 56 69 72 74 75 61 6c 3b dwAvailVirtual; 94a0: 0d 0a 7d 0d 0a 61 6c 69 61 73 20 4d 45 4d 4f 52 ..}..alias MEMOR 94b0: 59 53 54 41 54 55 53 2a 20 4c 50 4d 45 4d 4f 52 YSTATUS* LPMEMOR 94c0: 59 53 54 41 54 55 53 3b 0d 0a 0d 0a 73 74 61 74 YSTATUS;....stat 94d0: 69 63 20 69 66 20 28 5f 57 49 4e 33 32 5f 57 49 ic if (_WIN32_WI 94e0: 4e 4e 54 20 3e 3d 20 30 78 35 30 30 29 20 7b 0d NNT >= 0x500) {. 94f0: 0a 09 73 74 72 75 63 74 20 4d 45 4d 4f 52 59 53 ..struct MEMORYS 9500: 54 41 54 55 53 45 58 20 7b 0d 0a 09 09 44 57 4f TATUSEX {....DWO 9510: 52 44 20 20 20 20 20 64 77 4c 65 6e 67 74 68 3b RD dwLength; 9520: 0d 0a 09 09 44 57 4f 52 44 20 20 20 20 20 64 77 ....DWORD dw 9530: 4d 65 6d 6f 72 79 4c 6f 61 64 3b 0d 0a 09 09 44 MemoryLoad;....D 9540: 57 4f 52 44 4c 4f 4e 47 20 75 6c 6c 54 6f 74 61 WORDLONG ullTota 9550: 6c 50 68 79 73 3b 0d 0a 09 09 44 57 4f 52 44 4c lPhys;....DWORDL 9560: 4f 4e 47 20 75 6c 6c 41 76 61 69 6c 50 68 79 73 ONG ullAvailPhys 9570: 3b 0d 0a 09 09 44 57 4f 52 44 4c 4f 4e 47 20 75 ;....DWORDLONG u 9580: 6c 6c 54 6f 74 61 6c 50 61 67 65 46 69 6c 65 3b llTotalPageFile; 9590: 0d 0a 09 09 44 57 4f 52 44 4c 4f 4e 47 20 75 6c ....DWORDLONG ul 95a0: 6c 41 76 61 69 6c 50 61 67 65 46 69 6c 65 3b 0d lAvailPageFile;. 95b0: 0a 09 09 44 57 4f 52 44 4c 4f 4e 47 20 75 6c 6c ...DWORDLONG ull 95c0: 54 6f 74 61 6c 56 69 72 74 75 61 6c 3b 0d 0a 09 TotalVirtual;... 95d0: 09 44 57 4f 52 44 4c 4f 4e 47 20 75 6c 6c 41 76 .DWORDLONG ullAv 95e0: 61 69 6c 56 69 72 74 75 61 6c 3b 0d 0a 09 09 44 ailVirtual;....D 95f0: 57 4f 52 44 4c 4f 4e 47 20 75 6c 6c 41 76 61 69 WORDLONG ullAvai 9600: 6c 45 78 74 65 6e 64 65 64 56 69 72 74 75 61 6c lExtendedVirtual 9610: 3b 0d 0a 09 7d 0d 0a 09 61 6c 69 61 73 20 4d 45 ;...}...alias ME 9620: 4d 4f 52 59 53 54 41 54 55 53 45 58 2a 20 4c 50 MORYSTATUSEX* LP 9630: 4d 45 4d 4f 52 59 53 54 41 54 55 53 45 58 3b 0d MEMORYSTATUSEX;. 9640: 0a 7d 0d 0a 0d 0a 73 74 72 75 63 74 20 4c 44 54 .}....struct LDT 9650: 5f 45 4e 54 52 59 20 7b 0d 0a 09 57 4f 52 44 20 _ENTRY {...WORD 9660: 4c 69 6d 69 74 4c 6f 77 3b 0d 0a 09 57 4f 52 44 LimitLow;...WORD 9670: 20 42 61 73 65 4c 6f 77 3b 0d 0a 09 73 74 72 75 BaseLow;...stru 9680: 63 74 20 7b 0d 0a 09 09 42 59 54 45 20 42 61 73 ct {....BYTE Bas 9690: 65 4d 69 64 3b 0d 0a 09 09 42 59 54 45 20 46 6c eMid;....BYTE Fl 96a0: 61 67 73 31 3b 0d 0a 09 09 42 59 54 45 20 46 6c ags1;....BYTE Fl 96b0: 61 67 73 32 3b 0d 0a 09 09 42 59 54 45 20 42 61 ags2;....BYTE Ba 96c0: 73 65 48 69 3b 0d 0a 0d 0a 09 09 62 79 74 65 20 seHi;......byte 96d0: 54 79 70 65 28 62 79 74 65 20 66 29 20 20 20 20 Type(byte f) 96e0: 20 20 20 20 7b 20 46 6c 61 67 73 31 20 3d 20 63 { Flags1 = c 96f0: 61 73 74 28 42 59 54 45 29 20 28 28 46 6c 61 67 ast(BYTE) ((Flag 9700: 73 31 20 26 20 30 78 45 30 29 20 7c 20 66 29 3b s1 & 0xE0) | f); 9710: 20 72 65 74 75 72 6e 20 63 61 73 74 28 62 79 74 return cast(byt 9720: 65 29 28 66 20 26 20 30 78 31 46 29 3b 20 7d 0d e)(f & 0x1F); }. 9730: 0a 09 09 62 79 74 65 20 44 70 6c 28 62 79 74 65 ...byte Dpl(byte 9740: 20 66 29 20 20 20 20 20 20 20 20 20 7b 20 46 6c f) { Fl 9750: 61 67 73 31 20 3d 20 63 61 73 74 28 42 59 54 45 ags1 = cast(BYTE 9760: 29 20 28 28 46 6c 61 67 73 31 20 26 20 30 78 39 ) ((Flags1 & 0x9 9770: 46 29 20 7c 20 28 66 3c 3c 35 29 29 3b 20 72 65 F) | (f<<5)); re 9780: 74 75 72 6e 20 63 61 73 74 28 62 79 74 65 29 28 turn cast(byte)( 9790: 66 20 26 20 33 29 3b 20 7d 0d 0a 09 09 62 6f 6f f & 3); }....boo 97a0: 6c 20 50 72 65 73 28 62 6f 6f 6c 20 66 29 20 20 l Pres(bool f) 97b0: 20 20 20 20 20 20 7b 20 46 6c 61 67 73 31 20 3d { Flags1 = 97c0: 20 63 61 73 74 28 42 59 54 45 29 20 28 28 46 6c cast(BYTE) ((Fl 97d0: 61 67 73 31 20 26 20 30 78 37 46 29 20 7c 20 28 ags1 & 0x7F) | ( 97e0: 66 3c 3c 37 29 29 3b 20 72 65 74 75 72 6e 20 66 f<<7)); return f 97f0: 3b 20 7d 0d 0a 0d 0a 09 09 62 79 74 65 20 4c 69 ; }......byte Li 9800: 6d 69 74 48 69 28 62 79 74 65 20 66 29 20 20 20 mitHi(byte f) 9810: 20 20 7b 20 46 6c 61 67 73 32 20 3d 20 63 61 73 { Flags2 = cas 9820: 74 28 42 59 54 45 29 20 28 28 46 6c 61 67 73 32 t(BYTE) ((Flags2 9830: 20 26 20 30 78 46 30 29 20 7c 20 28 66 26 30 78 & 0xF0) | (f&0x 9840: 30 46 29 29 3b 20 72 65 74 75 72 6e 20 63 61 73 0F)); return cas 9850: 74 28 62 79 74 65 29 28 66 20 26 20 30 78 30 46 t(byte)(f & 0x0F 9860: 29 3b 20 7d 0d 0a 09 09 62 6f 6f 6c 20 53 79 73 ); }....bool Sys 9870: 28 62 6f 6f 6c 20 66 29 20 20 20 20 20 20 20 20 (bool f) 9880: 20 7b 20 46 6c 61 67 73 32 20 3d 20 63 61 73 74 { Flags2 = cast 9890: 28 42 59 54 45 29 20 28 28 46 6c 61 67 73 32 20 (BYTE) ((Flags2 98a0: 26 20 30 78 45 46 29 20 7c 20 28 66 3c 3c 34 29 & 0xEF) | (f<<4) 98b0: 29 3b 20 72 65 74 75 72 6e 20 66 3b 20 7d 0d 0a ); return f; }.. 98c0: 09 09 2f 2f 20 4e 65 78 74 20 62 69 74 20 69 73 ..// Next bit is 98d0: 20 72 65 73 65 72 76 65 64 0d 0a 09 09 62 6f 6f reserved....boo 98e0: 6c 20 44 65 66 61 75 6c 74 5f 42 69 67 28 62 6f l Default_Big(bo 98f0: 6f 6c 20 66 29 20 7b 20 46 6c 61 67 73 32 20 3d ol f) { Flags2 = 9900: 20 63 61 73 74 28 42 59 54 45 29 20 28 28 46 6c cast(BYTE) ((Fl 9910: 61 67 73 32 20 26 20 30 78 42 46 29 20 7c 20 28 ags2 & 0xBF) | ( 9920: 66 3c 3c 36 29 29 3b 20 72 65 74 75 72 6e 20 66 f<<6)); return f 9930: 3b 20 7d 0d 0a 09 09 62 6f 6f 6c 20 47 72 61 6e ; }....bool Gran 9940: 75 6c 61 72 69 74 79 28 62 6f 6f 6c 20 66 29 20 ularity(bool f) 9950: 7b 20 46 6c 61 67 73 32 20 3d 20 63 61 73 74 28 { Flags2 = cast( 9960: 42 59 54 45 29 20 28 28 46 6c 61 67 73 32 20 26 BYTE) ((Flags2 & 9970: 20 30 78 37 46 29 20 7c 20 28 66 3c 3c 37 29 29 0x7F) | (f<<7)) 9980: 3b 20 72 65 74 75 72 6e 20 66 3b 20 7d 0d 0a 0d ; return f; }... 9990: 0a 09 09 62 79 74 65 20 54 79 70 65 28 29 20 20 ...byte Type() 99a0: 20 20 20 20 20 20 7b 20 72 65 74 75 72 6e 20 63 { return c 99b0: 61 73 74 28 62 79 74 65 29 20 28 46 6c 61 67 73 ast(byte) (Flags 99c0: 31 20 26 20 30 78 31 46 29 3b 20 7d 0d 0a 09 09 1 & 0x1F); }.... 99d0: 62 79 74 65 20 44 70 6c 28 29 20 20 20 20 20 20 byte Dpl() 99e0: 20 20 20 7b 20 72 65 74 75 72 6e 20 63 61 73 74 { return cast 99f0: 28 62 79 74 65 29 20 28 28 46 6c 61 67 73 31 20 (byte) ((Flags1 9a00: 26 20 30 78 36 30 29 3e 3e 35 29 3b 20 7d 0d 0a & 0x60)>>5); }.. 9a10: 09 09 62 6f 6f 6c 20 50 72 65 73 28 29 20 20 20 ..bool Pres() 9a20: 20 20 20 20 20 7b 20 72 65 74 75 72 6e 20 63 61 { return ca 9a30: 73 74 28 62 6f 6f 6c 29 20 28 46 6c 61 67 73 31 st(bool) (Flags1 9a40: 20 26 20 30 78 38 30 29 3b 20 7d 0d 0a 0d 0a 09 & 0x80); }..... 9a50: 09 62 79 74 65 20 4c 69 6d 69 74 48 69 28 29 20 .byte LimitHi() 9a60: 20 20 20 20 7b 20 72 65 74 75 72 6e 20 63 61 73 { return cas 9a70: 74 28 62 79 74 65 29 20 28 46 6c 61 67 73 32 20 t(byte) (Flags2 9a80: 26 20 30 78 30 46 29 3b 20 7d 0d 0a 09 09 62 6f & 0x0F); }....bo 9a90: 6f 6c 20 53 79 73 28 29 20 20 20 20 20 20 20 20 ol Sys() 9aa0: 20 7b 20 72 65 74 75 72 6e 20 63 61 73 74 28 62 { return cast(b 9ab0: 6f 6f 6c 29 20 28 46 6c 61 67 73 32 20 26 20 30 ool) (Flags2 & 0 9ac0: 78 31 30 29 3b 20 7d 0d 0a 09 09 62 6f 6f 6c 20 x10); }....bool 9ad0: 44 65 66 61 75 6c 74 5f 42 69 67 28 29 20 7b 20 Default_Big() { 9ae0: 72 65 74 75 72 6e 20 63 61 73 74 28 62 6f 6f 6c return cast(bool 9af0: 29 20 28 46 6c 61 67 73 32 20 26 20 30 78 34 30 ) (Flags2 & 0x40 9b00: 29 3b 20 7d 0d 0a 09 09 62 6f 6f 6c 20 47 72 61 ); }....bool Gra 9b10: 6e 75 6c 61 72 69 74 79 28 29 20 7b 20 72 65 74 nularity() { ret 9b20: 75 72 6e 20 63 61 73 74 28 62 6f 6f 6c 29 20 28 urn cast(bool) ( 9b30: 46 6c 61 67 73 32 20 26 20 30 78 38 30 29 3b 20 Flags2 & 0x80); 9b40: 7d 0d 0a 09 7d 0d 0a 2f 2b 0d 0a 09 75 6e 69 6f }...}../+...unio 9b50: 6e 20 20 48 69 67 68 57 6f 72 64 20 7b 0d 0a 09 n HighWord {... 9b60: 09 73 74 72 75 63 74 20 42 79 74 65 73 20 7b 0d .struct Bytes {. 9b70: 0a 09 09 09 42 59 54 45 20 42 61 73 65 4d 69 64 ....BYTE BaseMid 9b80: 3b 0d 0a 09 09 09 42 59 54 45 20 46 6c 61 67 73 ;.....BYTE Flags 9b90: 31 3b 0d 0a 09 09 09 42 59 54 45 20 46 6c 61 67 1;.....BYTE Flag 9ba0: 73 32 3b 0d 0a 09 09 09 42 59 54 45 20 42 61 73 s2;.....BYTE Bas 9bb0: 65 48 69 3b 0d 0a 09 09 7d 0d 0a 09 73 74 72 75 eHi;....}...stru 9bc0: 63 74 20 42 69 74 73 20 7b 0d 0a 09 09 44 57 4f ct Bits {....DWO 9bd0: 52 44 20 42 61 73 65 4d 69 64 3a 38 3b 0d 0a 09 RD BaseMid:8;... 9be0: 09 44 57 4f 52 44 20 54 79 70 65 3a 35 3b 0d 0a .DWORD Type:5;.. 9bf0: 09 09 44 57 4f 52 44 20 44 70 6c 3a 32 3b 0d 0a ..DWORD Dpl:2;.. 9c00: 09 09 44 57 4f 52 44 20 50 72 65 73 3a 31 3b 0d ..DWORD Pres:1;. 9c10: 0a 09 09 44 57 4f 52 44 20 4c 69 6d 69 74 48 69 ...DWORD LimitHi 9c20: 3a 34 3b 0d 0a 09 09 44 57 4f 52 44 20 53 79 73 :4;....DWORD Sys 9c30: 3a 31 3b 0d 0a 09 09 44 57 4f 52 44 20 52 65 73 :1;....DWORD Res 9c40: 65 72 76 65 64 5f 30 3a 31 3b 0d 0a 09 09 44 57 erved_0:1;....DW 9c50: 4f 52 44 20 44 65 66 61 75 6c 74 5f 42 69 67 3a ORD Default_Big: 9c60: 31 3b 0d 0a 09 09 44 57 4f 52 44 20 47 72 61 6e 1;....DWORD Gran 9c70: 75 6c 61 72 69 74 79 3a 31 3b 0d 0a 09 09 44 57 ularity:1;....DW 9c80: 4f 52 44 20 42 61 73 65 48 69 3a 38 3b 0d 0a 09 ORD BaseHi:8;... 9c90: 7d 0d 0a 09 7d 0d 0a 2b 2f 0d 0a 7d 0d 0a 61 6c }...}..+/..}..al 9ca0: 69 61 73 20 4c 44 54 5f 45 4e 54 52 59 2a 20 50 ias LDT_ENTRY* P 9cb0: 4c 44 54 5f 45 4e 54 52 59 2c 20 4c 50 4c 44 54 LDT_ENTRY, LPLDT 9cc0: 5f 45 4e 54 52 59 3b 0d 0a 0d 0a 2f 2a 09 41 73 _ENTRY;..../*.As 9cd0: 20 77 69 74 68 20 74 68 65 20 6f 74 68 65 72 20 with the other 9ce0: 6d 65 6d 6f 72 79 20 6d 61 6e 61 67 65 6d 65 6e memory managemen 9cf0: 74 20 66 75 6e 63 74 69 6f 6e 73 20 61 6e 64 20 t functions and 9d00: 73 74 72 75 63 74 75 72 65 73 2c 20 4d 53 44 4e structures, MSDN 9d10: 27 73 0d 0a 20 2a 09 57 69 6e 64 6f 77 73 20 76 's.. *.Windows v 9d20: 65 72 73 69 6f 6e 20 69 6e 66 6f 20 73 68 61 6c ersion info shal 9d30: 6c 20 62 65 20 74 61 6b 65 6e 20 77 69 74 68 20 l be taken with 9d40: 61 20 63 75 70 20 6f 66 20 73 61 6c 74 2e 0d 0a a cup of salt... 9d50: 20 2a 2f 0d 0a 73 74 72 75 63 74 20 50 52 4f 43 */..struct PROC 9d60: 45 53 53 5f 48 45 41 50 5f 45 4e 54 52 59 20 7b ESS_HEAP_ENTRY { 9d70: 0d 0a 09 50 56 4f 49 44 20 6c 70 44 61 74 61 3b ...PVOID lpData; 9d80: 0d 0a 09 44 57 4f 52 44 20 63 62 44 61 74 61 3b ...DWORD cbData; 9d90: 0d 0a 09 42 59 54 45 20 20 63 62 4f 76 65 72 68 ...BYTE cbOverh 9da0: 65 61 64 3b 0d 0a 09 42 59 54 45 20 20 69 52 65 ead;...BYTE iRe 9db0: 67 69 6f 6e 49 6e 64 65 78 3b 0d 0a 09 57 4f 52 gionIndex;...WOR 9dc0: 44 20 20 77 46 6c 61 67 73 3b 0d 0a 09 75 6e 69 D wFlags;...uni 9dd0: 6f 6e 20 7b 0d 0a 09 09 73 74 72 75 63 74 20 42 on {....struct B 9de0: 6c 6f 63 6b 20 7b 0d 0a 09 09 09 48 41 4e 44 4c lock {.....HANDL 9df0: 45 20 20 20 68 4d 65 6d 3b 0d 0a 09 09 09 44 57 E hMem;.....DW 9e00: 4f 52 44 5b 33 5d 20 64 77 52 65 73 65 72 76 65 ORD[3] dwReserve 9e10: 64 3b 0d 0a 09 09 7d 0d 0a 09 09 73 74 72 75 63 d;....}....struc 9e20: 74 20 52 65 67 69 6f 6e 20 7b 0d 0a 09 09 09 44 t Region {.....D 9e30: 57 4f 52 44 20 20 20 20 64 77 43 6f 6d 6d 69 74 WORD dwCommit 9e40: 74 65 64 53 69 7a 65 3b 0d 0a 09 09 09 44 57 4f tedSize;.....DWO 9e50: 52 44 20 20 20 20 64 77 55 6e 43 6f 6d 6d 69 74 RD dwUnCommit 9e60: 74 65 64 53 69 7a 65 3b 0d 0a 09 09 09 4c 50 56 tedSize;.....LPV 9e70: 4f 49 44 20 20 20 6c 70 46 69 72 73 74 42 6c 6f OID lpFirstBlo 9e80: 63 6b 3b 0d 0a 09 09 09 4c 50 56 4f 49 44 20 20 ck;.....LPVOID 9e90: 20 6c 70 4c 61 73 74 42 6c 6f 63 6b 3b 0d 0a 09 lpLastBlock;... 9ea0: 09 7d 0d 0a 09 7d 0d 0a 7d 0d 0a 61 6c 69 61 73 .}...}..}..alias 9eb0: 20 50 52 4f 43 45 53 53 5f 48 45 41 50 5f 45 4e PROCESS_HEAP_EN 9ec0: 54 52 59 2a 20 4c 50 50 52 4f 43 45 53 53 5f 48 TRY* LPPROCESS_H 9ed0: 45 41 50 5f 45 4e 54 52 59 3b 0d 0a 0d 0a 73 74 EAP_ENTRY;....st 9ee0: 72 75 63 74 20 4f 46 53 54 52 55 43 54 20 7b 0d ruct OFSTRUCT {. 9ef0: 0a 09 42 59 54 45 20 20 20 20 20 20 63 42 79 74 ..BYTE cByt 9f00: 65 73 20 3d 20 4f 46 53 54 52 55 43 54 2e 73 69 es = OFSTRUCT.si 9f10: 7a 65 6f 66 3b 0d 0a 09 42 59 54 45 20 20 20 20 zeof;...BYTE 9f20: 20 20 66 46 69 78 65 64 44 69 73 6b 3b 0d 0a 09 fFixedDisk;... 9f30: 57 4f 52 44 20 20 20 20 20 20 6e 45 72 72 43 6f WORD nErrCo 9f40: 64 65 3b 0d 0a 09 57 4f 52 44 20 20 20 20 20 20 de;...WORD 9f50: 52 65 73 65 72 76 65 64 31 3b 0d 0a 09 57 4f 52 Reserved1;...WOR 9f60: 44 20 20 20 20 20 20 52 65 73 65 72 76 65 64 32 D Reserved2 9f70: 3b 0d 0a 09 43 48 41 52 5b 31 32 38 5d 20 73 7a ;...CHAR[128] sz 9f80: 50 61 74 68 4e 61 6d 65 3b 20 2f 2f 20 63 6f 6e PathName; // con 9f90: 73 74 20 4f 46 53 5f 4d 41 58 50 41 54 48 4e 41 st OFS_MAXPATHNA 9fa0: 4d 45 20 3d 20 31 32 38 3b 0d 0a 7d 0d 0a 61 6c ME = 128;..}..al 9fb0: 69 61 73 20 4f 46 53 54 52 55 43 54 2a 20 4c 50 ias OFSTRUCT* LP 9fc0: 4f 46 53 54 52 55 43 54 2c 20 50 4f 46 53 54 52 OFSTRUCT, POFSTR 9fd0: 55 43 54 3b 0d 0a 0d 0a 2f 2a 09 3f 3f 3f 20 4d UCT;..../*.??? M 9fe0: 53 44 4e 20 64 6f 63 75 6d 65 6e 74 73 20 74 68 SDN documents th 9ff0: 69 73 20 6f 6e 6c 79 20 66 6f 72 20 57 69 6e 64 is only for Wind a000: 6f 77 73 20 43 45 2c 20 62 75 74 20 69 74 27 73 ows CE, but it's a010: 20 75 73 65 64 20 62 79 0d 0a 20 2a 09 49 6d 61 used by.. *.Ima a020: 67 65 47 65 74 43 65 72 74 69 66 69 63 61 74 65 geGetCertificate a030: 44 61 74 61 2c 20 77 68 69 63 68 20 69 73 20 69 Data, which is i a040: 6e 20 64 65 73 6b 74 6f 70 20 57 69 6e 64 6f 77 n desktop Window a050: 73 2e 0d 0a 20 2a 2f 0d 0a 73 74 72 75 63 74 20 s... */..struct a060: 57 49 4e 5f 43 45 52 54 49 46 49 43 41 54 45 20 WIN_CERTIFICATE a070: 7b 0d 0a 09 44 57 4f 52 44 20 64 77 4c 65 6e 67 {...DWORD dwLeng a080: 74 68 3b 0d 0a 09 57 4f 52 44 20 20 77 52 65 76 th;...WORD wRev a090: 69 73 69 6f 6e 3b 0d 0a 09 57 4f 52 44 20 20 77 ision;...WORD w a0a0: 43 65 72 74 69 66 69 63 61 74 65 54 79 70 65 3b CertificateType; a0b0: 0d 0a 09 42 59 54 45 20 20 5f 62 43 65 72 74 69 ...BYTE _bCerti a0c0: 66 69 63 61 74 65 3b 0d 0a 0d 0a 09 42 59 54 45 ficate;.....BYTE a0d0: 2a 20 62 43 65 72 74 69 66 69 63 61 74 65 28 29 * bCertificate() a0e0: 20 7b 20 72 65 74 75 72 6e 20 26 5f 62 43 65 72 { return &_bCer a0f0: 74 69 66 69 63 61 74 65 3b 20 7d 0d 0a 7d 0d 0a tificate; }..}.. a100: 61 6c 69 61 73 20 57 49 4e 5f 43 45 52 54 49 46 alias WIN_CERTIF a110: 49 43 41 54 45 2a 20 4c 50 57 49 4e 5f 43 45 52 ICATE* LPWIN_CER a120: 54 49 46 49 43 41 54 45 3b 0d 0a 0d 0a 73 74 61 TIFICATE;....sta a130: 74 69 63 20 69 66 20 28 5f 57 49 4e 33 32 5f 57 tic if (_WIN32_W a140: 49 4e 4e 54 20 3e 3d 20 30 78 35 30 30 29 20 7b INNT >= 0x500) { a150: 0d 0a 09 65 6e 75 6d 20 43 4f 4d 50 55 54 45 52 ...enum COMPUTER a160: 5f 4e 41 4d 45 5f 46 4f 52 4d 41 54 20 7b 0d 0a _NAME_FORMAT {.. a170: 09 09 43 6f 6d 70 75 74 65 72 4e 61 6d 65 4e 65 ..ComputerNameNe a180: 74 42 49 4f 53 2c 0d 0a 09 09 43 6f 6d 70 75 74 tBIOS,....Comput a190: 65 72 4e 61 6d 65 44 6e 73 48 6f 73 74 6e 61 6d erNameDnsHostnam a1a0: 65 2c 0d 0a 09 09 43 6f 6d 70 75 74 65 72 4e 61 e,....ComputerNa a1b0: 6d 65 44 6e 73 44 6f 6d 61 69 6e 2c 0d 0a 09 09 meDnsDomain,.... a1c0: 43 6f 6d 70 75 74 65 72 4e 61 6d 65 44 6e 73 46 ComputerNameDnsF a1d0: 75 6c 6c 79 51 75 61 6c 69 66 69 65 64 2c 0d 0a ullyQualified,.. a1e0: 09 09 43 6f 6d 70 75 74 65 72 4e 61 6d 65 50 68 ..ComputerNamePh a1f0: 79 73 69 63 61 6c 4e 65 74 42 49 4f 53 2c 0d 0a ysicalNetBIOS,.. a200: 09 09 43 6f 6d 70 75 74 65 72 4e 61 6d 65 50 68 ..ComputerNamePh a210: 79 73 69 63 61 6c 44 6e 73 48 6f 73 74 6e 61 6d ysicalDnsHostnam a220: 65 2c 0d 0a 09 09 43 6f 6d 70 75 74 65 72 4e 61 e,....ComputerNa a230: 6d 65 50 68 79 73 69 63 61 6c 44 6e 73 44 6f 6d mePhysicalDnsDom a240: 61 69 6e 2c 0d 0a 09 09 43 6f 6d 70 75 74 65 72 ain,....Computer a250: 4e 61 6d 65 50 68 79 73 69 63 61 6c 44 6e 73 46 NamePhysicalDnsF a260: 75 6c 6c 79 51 75 61 6c 69 66 69 65 64 2c 0d 0a ullyQualified,.. a270: 09 09 43 6f 6d 70 75 74 65 72 4e 61 6d 65 4d 61 ..ComputerNameMa a280: 78 0d 0a 09 7d 0d 0a 7d 0d 0a 0d 0a 73 74 61 74 x...}..}....stat a290: 69 63 20 69 66 20 28 5f 57 49 4e 33 32 5f 57 49 ic if (_WIN32_WI a2a0: 4e 4e 54 20 3e 3d 20 30 78 35 30 31 29 20 7b 0d NNT >= 0x501) {. a2b0: 0a 09 73 74 72 75 63 74 20 41 43 54 43 54 58 41 ..struct ACTCTXA a2c0: 20 7b 0d 0a 09 09 55 4c 4f 4e 47 20 63 62 53 69 {....ULONG cbSi a2d0: 7a 65 20 3d 20 74 68 69 73 2e 73 69 7a 65 6f 66 ze = this.sizeof a2e0: 3b 0d 0a 09 09 44 57 4f 52 44 20 64 77 46 6c 61 ;....DWORD dwFla a2f0: 67 73 3b 0d 0a 09 09 4c 50 43 53 54 52 20 6c 70 gs;....LPCSTR lp a300: 53 6f 75 72 63 65 3b 0d 0a 09 09 55 53 48 4f 52 Source;....USHOR a310: 54 20 77 50 72 6f 63 65 73 73 6f 72 41 72 63 68 T wProcessorArch a320: 69 74 65 63 74 75 72 65 3b 0d 0a 09 09 4c 41 4e itecture;....LAN a330: 47 49 44 20 77 4c 61 6e 67 49 64 3b 0d 0a 09 09 GID wLangId;.... a340: 4c 50 43 53 54 52 20 6c 70 41 73 73 65 6d 62 6c LPCSTR lpAssembl a350: 79 44 69 72 65 63 74 6f 72 79 3b 0d 0a 09 09 4c yDirectory;....L a360: 50 43 53 54 52 20 6c 70 52 65 73 6f 75 72 63 65 PCSTR lpResource a370: 4e 61 6d 65 3b 0d 0a 09 09 4c 50 43 53 54 52 20 Name;....LPCSTR a380: 6c 70 41 70 70 6c 69 63 61 74 69 6f 6e 4e 61 6d lpApplicationNam a390: 65 3b 0d 0a 09 09 48 4d 4f 44 55 4c 45 20 68 4d e;....HMODULE hM a3a0: 6f 64 75 6c 65 3b 0d 0a 09 7d 0d 0a 09 61 6c 69 odule;...}...ali a3b0: 61 73 20 41 43 54 43 54 58 41 2a 20 20 20 20 20 as ACTCTXA* a3c0: 20 20 20 50 41 43 54 43 54 58 41 3b 0d 0a 09 61 PACTCTXA;...a a3d0: 6c 69 61 73 20 63 6f 6e 73 74 28 41 43 54 43 54 lias const(ACTCT a3e0: 58 41 29 2a 20 50 43 41 43 54 43 54 58 41 3b 0d XA)* PCACTCTXA;. a3f0: 0a 0d 0a 09 73 74 72 75 63 74 20 41 43 54 43 54 ....struct ACTCT a400: 58 57 20 7b 0d 0a 09 09 55 4c 4f 4e 47 20 63 62 XW {....ULONG cb a410: 53 69 7a 65 20 3d 20 74 68 69 73 2e 73 69 7a 65 Size = this.size a420: 6f 66 3b 0d 0a 09 09 44 57 4f 52 44 20 64 77 46 of;....DWORD dwF a430: 6c 61 67 73 3b 0d 0a 09 09 4c 50 43 57 53 54 52 lags;....LPCWSTR a440: 20 6c 70 53 6f 75 72 63 65 3b 0d 0a 09 09 55 53 lpSource;....US a450: 48 4f 52 54 20 77 50 72 6f 63 65 73 73 6f 72 41 HORT wProcessorA a460: 72 63 68 69 74 65 63 74 75 72 65 3b 0d 0a 09 09 rchitecture;.... a470: 4c 41 4e 47 49 44 20 77 4c 61 6e 67 49 64 3b 0d LANGID wLangId;. a480: 0a 09 09 4c 50 43 57 53 54 52 20 6c 70 41 73 73 ...LPCWSTR lpAss a490: 65 6d 62 6c 79 44 69 72 65 63 74 6f 72 79 3b 0d emblyDirectory;. a4a0: 0a 09 09 4c 50 43 57 53 54 52 20 6c 70 52 65 73 ...LPCWSTR lpRes a4b0: 6f 75 72 63 65 4e 61 6d 65 3b 0d 0a 09 09 4c 50 ourceName;....LP a4c0: 43 57 53 54 52 20 6c 70 41 70 70 6c 69 63 61 74 CWSTR lpApplicat a4d0: 69 6f 6e 4e 61 6d 65 3b 0d 0a 09 09 48 4d 4f 44 ionName;....HMOD a4e0: 55 4c 45 20 68 4d 6f 64 75 6c 65 3b 0d 0a 09 7d ULE hModule;...} a4f0: 0d 0a 09 61 6c 69 61 73 20 41 43 54 43 54 58 57 ...alias ACTCTXW a500: 2a 20 20 20 20 20 20 20 20 50 41 43 54 43 54 58 * PACTCTX a510: 57 3b 0d 0a 09 61 6c 69 61 73 20 63 6f 6e 73 74 W;...alias const a520: 28 41 43 54 43 54 58 57 29 2a 20 50 43 41 43 54 (ACTCTXW)* PCACT a530: 43 54 58 57 3b 0d 0a 0d 0a 09 73 74 72 75 63 74 CTXW;.....struct a540: 20 41 43 54 43 54 58 5f 53 45 43 54 49 4f 4e 5f ACTCTX_SECTION_ a550: 4b 45 59 45 44 5f 44 41 54 41 20 7b 0d 0a 09 09 KEYED_DATA {.... a560: 55 4c 4f 4e 47 20 63 62 53 69 7a 65 20 3d 20 74 ULONG cbSize = t a570: 68 69 73 2e 73 69 7a 65 6f 66 3b 0d 0a 09 09 55 his.sizeof;....U a580: 4c 4f 4e 47 20 75 6c 44 61 74 61 46 6f 72 6d 61 LONG ulDataForma a590: 74 56 65 72 73 69 6f 6e 3b 0d 0a 09 09 50 56 4f tVersion;....PVO a5a0: 49 44 20 6c 70 44 61 74 61 3b 0d 0a 09 09 55 4c ID lpData;....UL a5b0: 4f 4e 47 20 75 6c 4c 65 6e 67 74 68 3b 0d 0a 09 ONG ulLength;... a5c0: 09 50 56 4f 49 44 20 6c 70 53 65 63 74 69 6f 6e .PVOID lpSection a5d0: 47 6c 6f 62 61 6c 44 61 74 61 3b 0d 0a 09 09 55 GlobalData;....U a5e0: 4c 4f 4e 47 20 75 6c 53 65 63 74 69 6f 6e 47 6c LONG ulSectionGl a5f0: 6f 62 61 6c 44 61 74 61 4c 65 6e 67 74 68 3b 0d obalDataLength;. a600: 0a 09 09 50 56 4f 49 44 20 6c 70 53 65 63 74 69 ...PVOID lpSecti a610: 6f 6e 42 61 73 65 3b 0d 0a 09 09 55 4c 4f 4e 47 onBase;....ULONG a620: 20 75 6c 53 65 63 74 69 6f 6e 54 6f 74 61 6c 4c ulSectionTotalL a630: 65 6e 67 74 68 3b 0d 0a 09 09 48 41 4e 44 4c 45 ength;....HANDLE a640: 20 68 41 63 74 43 74 78 3b 0d 0a 09 09 48 41 4e hActCtx;....HAN a650: 44 4c 45 20 75 6c 41 73 73 65 6d 62 6c 79 52 6f DLE ulAssemblyRo a660: 73 74 65 72 49 6e 64 65 78 3b 0d 0a 09 7d 0d 0a sterIndex;...}.. a670: 09 61 6c 69 61 73 20 41 43 54 43 54 58 5f 53 45 .alias ACTCTX_SE a680: 43 54 49 4f 4e 5f 4b 45 59 45 44 5f 44 41 54 41 CTION_KEYED_DATA a690: 2a 20 20 20 20 20 20 20 20 50 41 43 54 43 54 58 * PACTCTX a6a0: 5f 53 45 43 54 49 4f 4e 5f 4b 45 59 45 44 5f 44 _SECTION_KEYED_D a6b0: 41 54 41 3b 0d 0a 09 61 6c 69 61 73 20 63 6f 6e ATA;...alias con a6c0: 73 74 28 41 43 54 43 54 58 5f 53 45 43 54 49 4f st(ACTCTX_SECTIO a6d0: 4e 5f 4b 45 59 45 44 5f 44 41 54 41 29 2a 20 50 N_KEYED_DATA)* P a6e0: 43 41 43 54 43 54 58 5f 53 45 43 54 49 4f 4e 5f CACTCTX_SECTION_ a6f0: 4b 45 59 45 44 5f 44 41 54 41 3b 0d 0a 0d 0a 09 KEYED_DATA;..... a700: 65 6e 75 6d 20 4d 45 4d 4f 52 59 5f 52 45 53 4f enum MEMORY_RESO a710: 55 52 43 45 5f 4e 4f 54 49 46 49 43 41 54 49 4f URCE_NOTIFICATIO a720: 4e 5f 54 59 50 45 20 7b 0d 0a 09 09 4c 6f 77 4d N_TYPE {....LowM a730: 65 6d 6f 72 79 52 65 73 6f 75 72 63 65 4e 6f 74 emoryResourceNot a740: 69 66 69 63 61 74 69 6f 6e 2c 0d 0a 09 09 48 69 ification,....Hi a750: 67 68 4d 65 6d 6f 72 79 52 65 73 6f 75 72 63 65 ghMemoryResource a760: 4e 6f 74 69 66 69 63 61 74 69 6f 6e 0d 0a 09 7d Notification...} a770: 0d 0a 0d 0a 7d 20 2f 2f 20 28 5f 57 49 4e 33 32 ....} // (_WIN32 a780: 5f 57 49 4e 4e 54 20 3e 3d 20 30 78 35 30 31 29 _WINNT >= 0x501) a790: 0d 0a 0d 0a 73 74 61 74 69 63 20 69 66 20 28 5f ....static if (_ a7a0: 57 49 4e 33 32 5f 57 49 4e 4e 54 20 3e 3d 20 30 WIN32_WINNT >= 0 a7b0: 78 34 31 30 29 20 7b 0d 0a 09 2f 2a 09 61 70 70 x410) {.../*.app a7c0: 61 72 65 6e 74 6c 79 20 75 73 65 64 20 6f 6e 6c arently used onl a7d0: 79 20 62 79 20 53 65 74 54 68 72 65 61 64 45 78 y by SetThreadEx a7e0: 65 63 75 74 69 6f 6e 53 74 61 74 65 20 28 57 69 ecutionState (Wi a7f0: 6e 32 30 30 30 2b 29 0d 0a 09 20 2a 09 61 6e 64 n2000+)... *.and a800: 20 44 44 4b 20 66 75 6e 63 74 69 6f 6e 73 20 28 DDK functions ( a810: 76 65 72 73 69 6f 6e 20 63 6f 6d 70 61 74 69 62 version compatib a820: 69 6c 69 74 79 20 6e 6f 74 20 65 73 74 61 62 6c ility not establ a830: 69 73 68 65 64 29 0d 0a 09 20 2a 2f 0d 0a 09 61 ished)... */...a a840: 6c 69 61 73 20 44 57 4f 52 44 20 45 58 45 43 55 lias DWORD EXECU a850: 54 49 4f 4e 5f 53 54 41 54 45 3b 0d 0a 7d 0d 0a TION_STATE;..}.. a860: 0d 0a 2f 2f 20 43 61 6c 6c 62 61 63 6b 73 0d 0a ..// Callbacks.. a870: 65 78 74 65 72 6e 20 28 57 69 6e 64 6f 77 73 29 extern (Windows) a880: 20 7b 0d 0a 09 61 6c 69 61 73 20 44 57 4f 52 44 {...alias DWORD a890: 20 66 75 6e 63 74 69 6f 6e 28 4c 50 56 4f 49 44 function(LPVOID a8a0: 29 20 4c 50 54 48 52 45 41 44 5f 53 54 41 52 54 ) LPTHREAD_START a8b0: 5f 52 4f 55 54 49 4e 45 3b 0d 0a 09 61 6c 69 61 _ROUTINE;...alia a8c0: 73 20 44 57 4f 52 44 20 66 75 6e 63 74 69 6f 6e s DWORD function a8d0: 28 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 (LARGE_INTEGER, a8e0: 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 4c LARGE_INTEGER, L a8f0: 41 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 4c 41 ARGE_INTEGER, LA a900: 52 47 45 5f 49 4e 54 45 47 45 52 2c 0d 0a 09 09 RGE_INTEGER,.... a910: 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 48 41 DWORD, DWORD, HA a920: 4e 44 4c 45 2c 20 48 41 4e 44 4c 45 2c 20 4c 50 NDLE, HANDLE, LP a930: 56 4f 49 44 29 20 20 4c 50 50 52 4f 47 52 45 53 VOID) LPPROGRES a940: 53 5f 52 4f 55 54 49 4e 45 3b 0d 0a 09 61 6c 69 S_ROUTINE;...ali a950: 61 73 20 76 6f 69 64 20 66 75 6e 63 74 69 6f 6e as void function a960: 28 50 56 4f 49 44 29 20 4c 50 46 49 42 45 52 5f (PVOID) LPFIBER_ a970: 53 54 41 52 54 5f 52 4f 55 54 49 4e 45 3b 0d 0a START_ROUTINE;.. a980: 0d 0a 09 61 6c 69 61 73 20 42 4f 4f 4c 20 66 75 ...alias BOOL fu a990: 6e 63 74 69 6f 6e 28 48 4d 4f 44 55 4c 45 2c 20 nction(HMODULE, a9a0: 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 LPCSTR, LPCSTR, a9b0: 57 4f 52 44 2c 20 4c 4f 4e 47 29 20 45 4e 55 4d WORD, LONG) ENUM a9c0: 52 45 53 4c 41 4e 47 50 52 4f 43 41 3b 0d 0a 09 RESLANGPROCA;... a9d0: 61 6c 69 61 73 20 42 4f 4f 4c 20 66 75 6e 63 74 alias BOOL funct a9e0: 69 6f 6e 28 48 4d 4f 44 55 4c 45 2c 20 4c 50 43 ion(HMODULE, LPC a9f0: 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 57 WSTR, LPCWSTR, W aa00: 4f 52 44 2c 20 4c 4f 4e 47 29 20 45 4e 55 4d 52 ORD, LONG) ENUMR aa10: 45 53 4c 41 4e 47 50 52 4f 43 57 3b 0d 0a 09 61 ESLANGPROCW;...a aa20: 6c 69 61 73 20 42 4f 4f 4c 20 66 75 6e 63 74 69 lias BOOL functi aa30: 6f 6e 28 48 4d 4f 44 55 4c 45 2c 20 4c 50 43 53 on(HMODULE, LPCS aa40: 54 52 2c 20 4c 50 53 54 52 2c 20 4c 4f 4e 47 29 TR, LPSTR, LONG) aa50: 20 45 4e 55 4d 52 45 53 4e 41 4d 45 50 52 4f 43 ENUMRESNAMEPROC aa60: 41 3b 0d 0a 09 61 6c 69 61 73 20 42 4f 4f 4c 20 A;...alias BOOL aa70: 66 75 6e 63 74 69 6f 6e 28 48 4d 4f 44 55 4c 45 function(HMODULE aa80: 2c 20 4c 50 43 57 53 54 52 2c 20 4c 50 57 53 54 , LPCWSTR, LPWST aa90: 52 2c 20 4c 4f 4e 47 29 20 45 4e 55 4d 52 45 53 R, LONG) ENUMRES aaa0: 4e 41 4d 45 50 52 4f 43 57 3b 0d 0a 09 61 6c 69 NAMEPROCW;...ali aab0: 61 73 20 42 4f 4f 4c 20 66 75 6e 63 74 69 6f 6e as BOOL function aac0: 28 48 4d 4f 44 55 4c 45 2c 20 4c 50 53 54 52 2c (HMODULE, LPSTR, aad0: 20 4c 4f 4e 47 29 20 45 4e 55 4d 52 45 53 54 59 LONG) ENUMRESTY aae0: 50 45 50 52 4f 43 41 3b 0d 0a 09 61 6c 69 61 73 PEPROCA;...alias aaf0: 20 42 4f 4f 4c 20 66 75 6e 63 74 69 6f 6e 28 48 BOOL function(H ab00: 4d 4f 44 55 4c 45 2c 20 4c 50 57 53 54 52 2c 20 MODULE, LPWSTR, ab10: 4c 4f 4e 47 29 20 45 4e 55 4d 52 45 53 54 59 50 LONG) ENUMRESTYP ab20: 45 50 52 4f 43 57 3b 0d 0a 09 61 6c 69 61 73 20 EPROCW;...alias ab30: 76 6f 69 64 20 66 75 6e 63 74 69 6f 6e 28 44 57 void function(DW ab40: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 4c 50 4f 56 ORD, DWORD, LPOV ab50: 45 52 4c 41 50 50 45 44 29 20 4c 50 4f 56 45 52 ERLAPPED) LPOVER ab60: 4c 41 50 50 45 44 5f 43 4f 4d 50 4c 45 54 49 4f LAPPED_COMPLETIO ab70: 4e 5f 52 4f 55 54 49 4e 45 3b 0d 0a 09 61 6c 69 N_ROUTINE;...ali ab80: 61 73 20 4c 4f 4e 47 20 66 75 6e 63 74 69 6f 6e as LONG function ab90: 28 4c 50 45 58 43 45 50 54 49 4f 4e 5f 50 4f 49 (LPEXCEPTION_POI aba0: 4e 54 45 52 53 29 20 50 54 4f 50 5f 4c 45 56 45 NTERS) PTOP_LEVE abb0: 4c 5f 45 58 43 45 50 54 49 4f 4e 5f 46 49 4c 54 L_EXCEPTION_FILT abc0: 45 52 3b 0d 0a 09 61 6c 69 61 73 20 50 54 4f 50 ER;...alias PTOP abd0: 5f 4c 45 56 45 4c 5f 45 58 43 45 50 54 49 4f 4e _LEVEL_EXCEPTION abe0: 5f 46 49 4c 54 45 52 20 4c 50 54 4f 50 5f 4c 45 _FILTER LPTOP_LE abf0: 56 45 4c 5f 45 58 43 45 50 54 49 4f 4e 5f 46 49 VEL_EXCEPTION_FI ac00: 4c 54 45 52 3b 0d 0a 0d 0a 09 61 6c 69 61 73 20 LTER;.....alias ac10: 76 6f 69 64 20 66 75 6e 63 74 69 6f 6e 28 55 4c void function(UL ac20: 4f 4e 47 5f 50 54 52 29 20 50 41 50 43 46 55 4e ONG_PTR) PAPCFUN ac30: 43 3b 0d 0a 09 61 6c 69 61 73 20 76 6f 69 64 20 C;...alias void ac40: 66 75 6e 63 74 69 6f 6e 28 50 56 4f 49 44 2c 20 function(PVOID, ac50: 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 20 50 54 DWORD, DWORD) PT ac60: 49 4d 45 52 41 50 43 52 4f 55 54 49 4e 45 3b 0d IMERAPCROUTINE;. ac70: 0a 0d 0a 09 73 74 61 74 69 63 20 69 66 20 28 5f ....static if (_ ac80: 57 49 4e 33 32 5f 57 49 4e 4e 54 20 3e 3d 20 30 WIN32_WINNT >= 0 ac90: 78 35 30 30 29 20 7b 0d 0a 09 09 61 6c 69 61 73 x500) {....alias aca0: 20 76 6f 69 64 20 66 75 6e 63 74 69 6f 6e 28 50 void function(P acb0: 56 4f 49 44 2c 20 42 4f 4f 4c 45 41 4e 29 20 57 VOID, BOOLEAN) W acc0: 41 49 54 4f 52 54 49 4d 45 52 43 41 4c 4c 42 41 AITORTIMERCALLBA acd0: 43 4b 3b 0d 0a 09 7d 0d 0a 7d 0d 0a 0d 0a 4c 50 CK;...}..}....LP ace0: 54 53 54 52 20 4d 41 4b 45 49 4e 54 41 54 4f 4d TSTR MAKEINTATOM acf0: 28 29 28 75 73 68 6f 72 74 20 69 29 20 7b 0d 0a ()(ushort i) {.. ad00: 09 72 65 74 75 72 6e 20 63 61 73 74 28 4c 50 54 .return cast(LPT ad10: 53 54 52 29 20 63 61 73 74 28 73 69 7a 65 5f 74 STR) cast(size_t ad20: 29 20 69 3b 0d 0a 7d 0d 0a 0d 0a 65 78 74 65 72 ) i;..}....exter ad30: 6e 20 28 57 69 6e 64 6f 77 73 29 20 7b 0d 0a 09 n (Windows) {... ad40: 41 54 4f 4d 20 41 64 64 41 74 6f 6d 41 28 4c 50 ATOM AddAtomA(LP ad50: 43 53 54 52 29 3b 0d 0a 09 41 54 4f 4d 20 41 64 CSTR);...ATOM Ad ad60: 64 41 74 6f 6d 57 28 4c 50 43 57 53 54 52 29 3b dAtomW(LPCWSTR); ad70: 0d 0a 09 42 4f 4f 4c 20 41 72 65 46 69 6c 65 41 ...BOOL AreFileA ad80: 70 69 73 41 4e 53 49 28 29 3b 0d 0a 09 42 4f 4f pisANSI();...BOO ad90: 4c 20 42 65 65 70 28 44 57 4f 52 44 2c 20 44 57 L Beep(DWORD, DW ada0: 4f 52 44 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 42 ORD);...HANDLE B adb0: 65 67 69 6e 55 70 64 61 74 65 52 65 73 6f 75 72 eginUpdateResour adc0: 63 65 41 28 4c 50 43 53 54 52 2c 20 42 4f 4f 4c ceA(LPCSTR, BOOL add0: 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 42 65 67 69 );...HANDLE Begi ade0: 6e 55 70 64 61 74 65 52 65 73 6f 75 72 63 65 57 nUpdateResourceW adf0: 28 4c 50 43 57 53 54 52 2c 20 42 4f 4f 4c 29 3b (LPCWSTR, BOOL); ae00: 0d 0a 09 42 4f 4f 4c 20 42 75 69 6c 64 43 6f 6d ...BOOL BuildCom ae10: 6d 44 43 42 41 28 4c 50 43 53 54 52 2c 20 4c 50 mDCBA(LPCSTR, LP ae20: 44 43 42 29 3b 0d 0a 09 42 4f 4f 4c 20 42 75 69 DCB);...BOOL Bui ae30: 6c 64 43 6f 6d 6d 44 43 42 57 28 4c 50 43 57 53 ldCommDCBW(LPCWS ae40: 54 52 2c 20 4c 50 44 43 42 29 3b 0d 0a 09 42 4f TR, LPDCB);...BO ae50: 4f 4c 20 42 75 69 6c 64 43 6f 6d 6d 44 43 42 41 OL BuildCommDCBA ae60: 6e 64 54 69 6d 65 6f 75 74 73 41 28 4c 50 43 53 ndTimeoutsA(LPCS ae70: 54 52 2c 20 4c 50 44 43 42 2c 20 4c 50 43 4f 4d TR, LPDCB, LPCOM ae80: 4d 54 49 4d 45 4f 55 54 53 29 3b 0d 0a 09 42 4f MTIMEOUTS);...BO ae90: 4f 4c 20 42 75 69 6c 64 43 6f 6d 6d 44 43 42 41 OL BuildCommDCBA aea0: 6e 64 54 69 6d 65 6f 75 74 73 57 28 4c 50 43 57 ndTimeoutsW(LPCW aeb0: 53 54 52 2c 20 4c 50 44 43 42 2c 20 4c 50 43 4f STR, LPDCB, LPCO aec0: 4d 4d 54 49 4d 45 4f 55 54 53 29 3b 0d 0a 09 42 MMTIMEOUTS);...B aed0: 4f 4f 4c 20 43 61 6c 6c 4e 61 6d 65 64 50 69 70 OOL CallNamedPip aee0: 65 41 28 4c 50 43 53 54 52 2c 20 50 56 4f 49 44 eA(LPCSTR, PVOID aef0: 2c 20 44 57 4f 52 44 2c 20 50 56 4f 49 44 2c 20 , DWORD, PVOID, af00: 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c 20 44 DWORD, PDWORD, D af10: 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 43 61 WORD);...BOOL Ca af20: 6c 6c 4e 61 6d 65 64 50 69 70 65 57 28 4c 50 43 llNamedPipeW(LPC af30: 57 53 54 52 2c 20 50 56 4f 49 44 2c 20 44 57 4f WSTR, PVOID, DWO af40: 52 44 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 RD, PVOID, DWORD af50: 2c 20 50 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 , PDWORD, DWORD) af60: 3b 0d 0a 09 42 4f 4f 4c 20 43 61 6e 63 65 6c 44 ;...BOOL CancelD af70: 65 76 69 63 65 57 61 6b 65 75 70 52 65 71 75 65 eviceWakeupReque af80: 73 74 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f st(HANDLE);...BO af90: 4f 4c 20 43 68 65 63 6b 54 6f 6b 65 6e 4d 65 6d OL CheckTokenMem afa0: 62 65 72 73 68 69 70 28 48 41 4e 44 4c 45 2c 20 bership(HANDLE, afb0: 50 53 49 44 2c 20 50 42 4f 4f 4c 29 3b 0d 0a 09 PSID, PBOOL);... afc0: 42 4f 4f 4c 20 43 6c 65 61 72 43 6f 6d 6d 42 72 BOOL ClearCommBr afd0: 65 61 6b 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 eak(HANDLE);...B afe0: 4f 4f 4c 20 43 6c 65 61 72 43 6f 6d 6d 45 72 72 OOL ClearCommErr aff0: 6f 72 28 48 41 4e 44 4c 45 2c 20 50 44 57 4f 52 or(HANDLE, PDWOR b000: 44 2c 20 4c 50 43 4f 4d 53 54 41 54 29 3b 0d 0a D, LPCOMSTAT);.. b010: 09 42 4f 4f 4c 20 43 6c 6f 73 65 48 61 6e 64 6c .BOOL CloseHandl b020: 65 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f e(HANDLE);...BOO b030: 4c 20 43 6f 6d 6d 43 6f 6e 66 69 67 44 69 61 6c L CommConfigDial b040: 6f 67 41 28 4c 50 43 53 54 52 2c 20 48 57 4e 44 ogA(LPCSTR, HWND b050: 2c 20 4c 50 43 4f 4d 4d 43 4f 4e 46 49 47 29 3b , LPCOMMCONFIG); b060: 0d 0a 09 42 4f 4f 4c 20 43 6f 6d 6d 43 6f 6e 66 ...BOOL CommConf b070: 69 67 44 69 61 6c 6f 67 57 28 4c 50 43 57 53 54 igDialogW(LPCWST b080: 52 2c 20 48 57 4e 44 2c 20 4c 50 43 4f 4d 4d 43 R, HWND, LPCOMMC b090: 4f 4e 46 49 47 29 3b 0d 0a 09 4c 4f 4e 47 20 43 ONFIG);...LONG C b0a0: 6f 6d 70 61 72 65 46 69 6c 65 54 69 6d 65 28 63 ompareFileTime(c b0b0: 6f 6e 73 74 28 46 49 4c 45 54 49 4d 45 29 2a 2c onst(FILETIME)*, b0c0: 20 63 6f 6e 73 74 28 46 49 4c 45 54 49 4d 45 29 const(FILETIME) b0d0: 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 43 6f 6e 74 69 *);...BOOL Conti b0e0: 6e 75 65 44 65 62 75 67 45 76 65 6e 74 28 44 57 nueDebugEvent(DW b0f0: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 ORD, DWORD, DWOR b100: 44 29 3b 0d 0a 09 42 4f 4f 4c 20 43 6f 70 79 46 D);...BOOL CopyF b110: 69 6c 65 41 28 4c 50 43 53 54 52 2c 20 4c 50 43 ileA(LPCSTR, LPC b120: 53 54 52 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 42 4f STR, BOOL);...BO b130: 4f 4c 20 43 6f 70 79 46 69 6c 65 57 28 4c 50 43 OL CopyFileW(LPC b140: 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 42 WSTR, LPCWSTR, B b150: 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 43 6f 70 OOL);...BOOL Cop b160: 79 46 69 6c 65 45 78 41 28 4c 50 43 53 54 52 2c yFileExA(LPCSTR, b170: 20 4c 50 43 53 54 52 2c 20 4c 50 50 52 4f 47 52 LPCSTR, LPPROGR b180: 45 53 53 5f 52 4f 55 54 49 4e 45 2c 20 4c 50 56 ESS_ROUTINE, LPV b190: 4f 49 44 2c 20 4c 50 42 4f 4f 4c 2c 20 44 57 4f OID, LPBOOL, DWO b1a0: 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 43 6f 70 79 RD);...BOOL Copy b1b0: 46 69 6c 65 45 78 57 28 4c 50 43 57 53 54 52 2c FileExW(LPCWSTR, b1c0: 20 4c 50 43 57 53 54 52 2c 20 4c 50 50 52 4f 47 LPCWSTR, LPPROG b1d0: 52 45 53 53 5f 52 4f 55 54 49 4e 45 2c 20 4c 50 RESS_ROUTINE, LP b1e0: 56 4f 49 44 2c 20 4c 50 42 4f 4f 4c 2c 20 44 57 VOID, LPBOOL, DW b1f0: 4f 52 44 29 3b 0d 0a 0d 0a 09 2f 2b 20 46 49 58 ORD);...../+ FIX b200: 4d 45 0d 0a 09 61 6c 69 61 73 20 6d 65 6d 6d 6f ME...alias memmo b210: 76 65 20 52 74 6c 4d 6f 76 65 4d 65 6d 6f 72 79 ve RtlMoveMemory b220: 3b 0d 0a 09 61 6c 69 61 73 20 6d 65 6d 63 70 79 ;...alias memcpy b230: 20 52 74 6c 43 6f 70 79 4d 65 6d 6f 72 79 3b 0d RtlCopyMemory;. b240: 0a 0d 0a 09 76 6f 69 64 20 52 74 6c 46 69 6c 6c ....void RtlFill b250: 4d 65 6d 6f 72 79 28 50 56 4f 49 44 20 64 65 73 Memory(PVOID des b260: 74 2c 20 53 49 5a 45 5f 54 20 6c 65 6e 2c 20 42 t, SIZE_T len, B b270: 59 54 45 20 66 69 6c 6c 29 20 7b 0d 0a 09 09 6d YTE fill) {....m b280: 65 6d 73 65 74 28 64 65 73 74 2c 20 66 69 6c 6c emset(dest, fill b290: 2c 20 6c 65 6e 29 3b 0d 0a 09 7d 0d 0a 0d 0a 09 , len);...}..... b2a0: 76 6f 69 64 20 52 74 6c 5a 65 72 6f 4d 65 6d 6f void RtlZeroMemo b2b0: 72 79 28 50 56 4f 49 44 20 64 65 73 74 2c 20 53 ry(PVOID dest, S b2c0: 49 5a 45 5f 54 20 6c 65 6e 29 20 7b 0d 0a 09 09 IZE_T len) {.... b2d0: 52 74 6c 46 69 6c 6c 4d 65 6d 6f 72 79 28 64 65 RtlFillMemory(de b2e0: 73 74 2c 20 6c 65 6e 2c 20 30 29 3b 0d 0a 09 7d st, len, 0);...} b2f0: 0d 0a 0d 0a 09 61 6c 69 61 73 20 52 74 6c 4d 6f .....alias RtlMo b300: 76 65 4d 65 6d 6f 72 79 20 4d 6f 76 65 4d 65 6d veMemory MoveMem b310: 6f 72 79 3b 0d 0a 09 61 6c 69 61 73 20 52 74 6c ory;...alias Rtl b320: 43 6f 70 79 4d 65 6d 6f 72 79 20 43 6f 70 79 4d CopyMemory CopyM b330: 65 6d 6f 72 79 3b 0d 0a 09 61 6c 69 61 73 20 52 emory;...alias R b340: 74 6c 46 69 6c 6c 4d 65 6d 6f 72 79 20 46 69 6c tlFillMemory Fil b350: 6c 4d 65 6d 6f 72 79 3b 0d 0a 09 61 6c 69 61 73 lMemory;...alias b360: 20 52 74 6c 5a 65 72 6f 4d 65 6d 6f 72 79 20 5a RtlZeroMemory Z b370: 65 72 6f 4d 65 6d 6f 72 79 3b 0d 0a 09 2b 2f 0d eroMemory;...+/. b380: 0a 09 42 4f 4f 4c 20 43 72 65 61 74 65 44 69 72 ..BOOL CreateDir b390: 65 63 74 6f 72 79 41 28 4c 50 43 53 54 52 2c 20 ectoryA(LPCSTR, b3a0: 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 LPSECURITY_ATTRI b3b0: 42 55 54 45 53 29 3b 0d 0a 09 42 4f 4f 4c 20 43 BUTES);...BOOL C b3c0: 72 65 61 74 65 44 69 72 65 63 74 6f 72 79 57 28 reateDirectoryW( b3d0: 4c 50 43 57 53 54 52 2c 20 4c 50 53 45 43 55 52 LPCWSTR, LPSECUR b3e0: 49 54 59 5f 41 54 54 52 49 42 55 54 45 53 29 3b ITY_ATTRIBUTES); b3f0: 0d 0a 09 42 4f 4f 4c 20 43 72 65 61 74 65 44 69 ...BOOL CreateDi b400: 72 65 63 74 6f 72 79 45 78 41 28 4c 50 43 53 54 rectoryExA(LPCST b410: 52 2c 20 4c 50 43 53 54 52 2c 20 4c 50 53 45 43 R, LPCSTR, LPSEC b420: 55 52 49 54 59 5f 41 54 54 52 49 42 55 54 45 53 URITY_ATTRIBUTES b430: 29 3b 0d 0a 09 42 4f 4f 4c 20 43 72 65 61 74 65 );...BOOL Create b440: 44 69 72 65 63 74 6f 72 79 45 78 57 28 4c 50 43 DirectoryExW(LPC b450: 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 4c WSTR, LPCWSTR, L b460: 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 PSECURITY_ATTRIB b470: 55 54 45 53 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 UTES);...HANDLE b480: 43 72 65 61 74 65 45 76 65 6e 74 41 28 4c 50 53 CreateEventA(LPS b490: 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 55 54 ECURITY_ATTRIBUT b4a0: 45 53 2c 20 42 4f 4f 4c 2c 20 42 4f 4f 4c 2c 20 ES, BOOL, BOOL, b4b0: 4c 50 43 53 54 52 29 3b 0d 0a 09 48 41 4e 44 4c LPCSTR);...HANDL b4c0: 45 20 43 72 65 61 74 65 45 76 65 6e 74 57 28 4c E CreateEventW(L b4d0: 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 PSECURITY_ATTRIB b4e0: 55 54 45 53 2c 20 42 4f 4f 4c 2c 20 42 4f 4f 4c UTES, BOOL, BOOL b4f0: 2c 20 4c 50 43 57 53 54 52 29 3b 0d 0a 09 48 41 , LPCWSTR);...HA b500: 4e 44 4c 45 20 43 72 65 61 74 65 46 69 6c 65 41 NDLE CreateFileA b510: 28 4c 50 43 53 54 52 2c 20 44 57 4f 52 44 2c 20 (LPCSTR, DWORD, b520: 44 57 4f 52 44 2c 20 4c 50 53 45 43 55 52 49 54 DWORD, LPSECURIT b530: 59 5f 41 54 54 52 49 42 55 54 45 53 2c 20 44 57 Y_ATTRIBUTES, DW b540: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 48 41 4e 44 ORD, DWORD, HAND b550: 4c 45 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 43 72 LE);...HANDLE Cr b560: 65 61 74 65 46 69 6c 65 57 28 4c 50 43 57 53 54 eateFileW(LPCWST b570: 52 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c R, DWORD, DWORD, b580: 20 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 LPSECURITY_ATTR b590: 49 42 55 54 45 53 2c 20 44 57 4f 52 44 2c 20 44 IBUTES, DWORD, D b5a0: 57 4f 52 44 2c 20 48 41 4e 44 4c 45 29 3b 0d 0a WORD, HANDLE);.. b5b0: 09 48 41 4e 44 4c 45 20 43 72 65 61 74 65 49 6f .HANDLE CreateIo b5c0: 43 6f 6d 70 6c 65 74 69 6f 6e 50 6f 72 74 28 48 CompletionPort(H b5d0: 41 4e 44 4c 45 2c 20 48 41 4e 44 4c 45 2c 20 55 ANDLE, HANDLE, U b5e0: 4c 4f 4e 47 5f 50 54 52 2c 20 44 57 4f 52 44 29 LONG_PTR, DWORD) b5f0: 3b 0d 0a 09 48 41 4e 44 4c 45 20 43 72 65 61 74 ;...HANDLE Creat b600: 65 4d 61 69 6c 73 6c 6f 74 41 28 4c 50 43 53 54 eMailslotA(LPCST b610: 52 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c R, DWORD, DWORD, b620: 20 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 LPSECURITY_ATTR b630: 49 42 55 54 45 53 29 3b 0d 0a 09 48 41 4e 44 4c IBUTES);...HANDL b640: 45 20 43 72 65 61 74 65 4d 61 69 6c 73 6c 6f 74 E CreateMailslot b650: 57 28 4c 50 43 57 53 54 52 2c 20 44 57 4f 52 44 W(LPCWSTR, DWORD b660: 2c 20 44 57 4f 52 44 2c 20 4c 50 53 45 43 55 52 , DWORD, LPSECUR b670: 49 54 59 5f 41 54 54 52 49 42 55 54 45 53 29 3b ITY_ATTRIBUTES); b680: 0d 0a 09 48 41 4e 44 4c 45 20 43 72 65 61 74 65 ...HANDLE Create b690: 4d 75 74 65 78 41 28 4c 50 53 45 43 55 52 49 54 MutexA(LPSECURIT b6a0: 59 5f 41 54 54 52 49 42 55 54 45 53 2c 20 42 4f Y_ATTRIBUTES, BO b6b0: 4f 4c 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 48 OL, LPCSTR);...H b6c0: 41 4e 44 4c 45 20 43 72 65 61 74 65 4d 75 74 65 ANDLE CreateMute b6d0: 78 57 28 4c 50 53 45 43 55 52 49 54 59 5f 41 54 xW(LPSECURITY_AT b6e0: 54 52 49 42 55 54 45 53 2c 20 42 4f 4f 4c 2c 20 TRIBUTES, BOOL, b6f0: 4c 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c LPCWSTR);...BOOL b700: 20 43 72 65 61 74 65 50 69 70 65 28 50 48 41 4e CreatePipe(PHAN b710: 44 4c 45 2c 20 50 48 41 4e 44 4c 45 2c 20 4c 50 DLE, PHANDLE, LP b720: 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 55 SECURITY_ATTRIBU b730: 54 45 53 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 TES, DWORD);...B b740: 4f 4f 4c 20 43 72 65 61 74 65 50 72 6f 63 65 73 OOL CreateProces b750: 73 41 28 4c 50 43 53 54 52 2c 20 4c 50 53 54 52 sA(LPCSTR, LPSTR b760: 2c 20 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 , LPSECURITY_ATT b770: 52 49 42 55 54 45 53 2c 20 4c 50 53 45 43 55 52 RIBUTES, LPSECUR b780: 49 54 59 5f 41 54 54 52 49 42 55 54 45 53 2c 20 ITY_ATTRIBUTES, b790: 42 4f 4f 4c 2c 20 44 57 4f 52 44 2c 20 50 56 4f BOOL, DWORD, PVO b7a0: 49 44 2c 20 4c 50 43 53 54 52 2c 20 4c 50 53 54 ID, LPCSTR, LPST b7b0: 41 52 54 55 50 49 4e 46 4f 41 2c 20 4c 50 50 52 ARTUPINFOA, LPPR b7c0: 4f 43 45 53 53 5f 49 4e 46 4f 52 4d 41 54 49 4f OCESS_INFORMATIO b7d0: 4e 29 3b 0d 0a 09 42 4f 4f 4c 20 43 72 65 61 74 N);...BOOL Creat b7e0: 65 50 72 6f 63 65 73 73 57 28 4c 50 43 57 53 54 eProcessW(LPCWST b7f0: 52 2c 20 4c 50 57 53 54 52 2c 20 4c 50 53 45 43 R, LPWSTR, LPSEC b800: 55 52 49 54 59 5f 41 54 54 52 49 42 55 54 45 53 URITY_ATTRIBUTES b810: 2c 20 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 , LPSECURITY_ATT b820: 52 49 42 55 54 45 53 2c 20 42 4f 4f 4c 2c 20 44 RIBUTES, BOOL, D b830: 57 4f 52 44 2c 20 50 56 4f 49 44 2c 20 4c 50 43 WORD, PVOID, LPC b840: 57 53 54 52 2c 20 4c 50 53 54 41 52 54 55 50 49 WSTR, LPSTARTUPI b850: 4e 46 4f 57 2c 20 4c 50 50 52 4f 43 45 53 53 5f NFOW, LPPROCESS_ b860: 49 4e 46 4f 52 4d 41 54 49 4f 4e 29 3b 0d 0a 09 INFORMATION);... b870: 48 41 4e 44 4c 45 20 43 72 65 61 74 65 53 65 6d HANDLE CreateSem b880: 61 70 68 6f 72 65 41 28 4c 50 53 45 43 55 52 49 aphoreA(LPSECURI b890: 54 59 5f 41 54 54 52 49 42 55 54 45 53 2c 20 4c TY_ATTRIBUTES, L b8a0: 4f 4e 47 2c 20 4c 4f 4e 47 2c 20 4c 50 43 53 54 ONG, LONG, LPCST b8b0: 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 43 72 65 R);...HANDLE Cre b8c0: 61 74 65 53 65 6d 61 70 68 6f 72 65 57 28 4c 50 ateSemaphoreW(LP b8d0: 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 55 SECURITY_ATTRIBU b8e0: 54 45 53 2c 20 4c 4f 4e 47 2c 20 4c 4f 4e 47 2c TES, LONG, LONG, b8f0: 20 4c 50 43 57 53 54 52 29 3b 0d 0a 09 48 41 4e LPCWSTR);...HAN b900: 44 4c 45 20 43 72 65 61 74 65 54 68 72 65 61 64 DLE CreateThread b910: 28 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 (LPSECURITY_ATTR b920: 49 42 55 54 45 53 2c 20 44 57 4f 52 44 2c 20 4c IBUTES, DWORD, L b930: 50 54 48 52 45 41 44 5f 53 54 41 52 54 5f 52 4f PTHREAD_START_RO b940: 55 54 49 4e 45 2c 20 50 56 4f 49 44 2c 20 44 57 UTINE, PVOID, DW b950: 4f 52 44 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 ORD, PDWORD);... b960: 42 4f 4f 4c 20 44 65 62 75 67 41 63 74 69 76 65 BOOL DebugActive b970: 50 72 6f 63 65 73 73 28 44 57 4f 52 44 29 3b 0d Process(DWORD);. b980: 0a 09 76 6f 69 64 20 44 65 62 75 67 42 72 65 61 ..void DebugBrea b990: 6b 28 29 3b 0d 0a 09 41 54 4f 4d 20 44 65 6c 65 k();...ATOM Dele b9a0: 74 65 41 74 6f 6d 28 41 54 4f 4d 29 3b 0d 0a 09 teAtom(ATOM);... b9b0: 76 6f 69 64 20 44 65 6c 65 74 65 43 72 69 74 69 void DeleteCriti b9c0: 63 61 6c 53 65 63 74 69 6f 6e 28 50 43 52 49 54 calSection(PCRIT b9d0: 49 43 41 4c 5f 53 45 43 54 49 4f 4e 29 3b 0d 0a ICAL_SECTION);.. b9e0: 09 42 4f 4f 4c 20 44 65 6c 65 74 65 46 69 6c 65 .BOOL DeleteFile b9f0: 41 28 4c 50 43 53 54 52 29 3b 0d 0a 09 42 4f 4f A(LPCSTR);...BOO ba00: 4c 20 44 65 6c 65 74 65 46 69 6c 65 57 28 4c 50 L DeleteFileW(LP ba10: 43 57 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 44 CWSTR);...BOOL D ba20: 69 73 61 62 6c 65 54 68 72 65 61 64 4c 69 62 72 isableThreadLibr ba30: 61 72 79 43 61 6c 6c 73 28 48 4d 4f 44 55 4c 45 aryCalls(HMODULE ba40: 29 3b 0d 0a 09 42 4f 4f 4c 20 44 6f 73 44 61 74 );...BOOL DosDat ba50: 65 54 69 6d 65 54 6f 46 69 6c 65 54 69 6d 65 28 eTimeToFileTime( ba60: 57 4f 52 44 2c 20 57 4f 52 44 2c 20 4c 50 46 49 WORD, WORD, LPFI ba70: 4c 45 54 49 4d 45 29 3b 0d 0a 09 42 4f 4f 4c 20 LETIME);...BOOL ba80: 44 75 70 6c 69 63 61 74 65 48 61 6e 64 6c 65 28 DuplicateHandle( ba90: 48 41 4e 44 4c 45 2c 20 48 41 4e 44 4c 45 2c 20 HANDLE, HANDLE, baa0: 48 41 4e 44 4c 45 2c 20 50 48 41 4e 44 4c 45 2c HANDLE, PHANDLE, bab0: 20 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 44 57 DWORD, BOOL, DW bac0: 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 45 6e 64 ORD);...BOOL End bad0: 55 70 64 61 74 65 52 65 73 6f 75 72 63 65 41 28 UpdateResourceA( bae0: 48 41 4e 44 4c 45 2c 20 42 4f 4f 4c 29 3b 0d 0a HANDLE, BOOL);.. baf0: 09 42 4f 4f 4c 20 45 6e 64 55 70 64 61 74 65 52 .BOOL EndUpdateR bb00: 65 73 6f 75 72 63 65 57 28 48 41 4e 44 4c 45 2c esourceW(HANDLE, bb10: 20 42 4f 4f 4c 29 3b 0d 0a 09 76 6f 69 64 20 45 BOOL);...void E bb20: 6e 74 65 72 43 72 69 74 69 63 61 6c 53 65 63 74 nterCriticalSect bb30: 69 6f 6e 28 4c 50 43 52 49 54 49 43 41 4c 5f 53 ion(LPCRITICAL_S bb40: 45 43 54 49 4f 4e 29 3b 0d 0a 09 42 4f 4f 4c 20 ECTION);...BOOL bb50: 45 6e 75 6d 52 65 73 6f 75 72 63 65 4c 61 6e 67 EnumResourceLang bb60: 75 61 67 65 73 41 28 48 4d 4f 44 55 4c 45 2c 20 uagesA(HMODULE, bb70: 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 LPCSTR, LPCSTR, bb80: 45 4e 55 4d 52 45 53 4c 41 4e 47 50 52 4f 43 2c ENUMRESLANGPROC, bb90: 20 4c 4f 4e 47 5f 50 54 52 29 3b 0d 0a 09 42 4f LONG_PTR);...BO bba0: 4f 4c 20 45 6e 75 6d 52 65 73 6f 75 72 63 65 4c OL EnumResourceL bbb0: 61 6e 67 75 61 67 65 73 57 28 48 4d 4f 44 55 4c anguagesW(HMODUL bbc0: 45 2c 20 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 E, LPCWSTR, LPCW bbd0: 53 54 52 2c 20 45 4e 55 4d 52 45 53 4c 41 4e 47 STR, ENUMRESLANG bbe0: 50 52 4f 43 2c 20 4c 4f 4e 47 5f 50 54 52 29 3b PROC, LONG_PTR); bbf0: 0d 0a 09 42 4f 4f 4c 20 45 6e 75 6d 52 65 73 6f ...BOOL EnumReso bc00: 75 72 63 65 4e 61 6d 65 73 41 28 48 4d 4f 44 55 urceNamesA(HMODU bc10: 4c 45 2c 20 4c 50 43 53 54 52 2c 20 45 4e 55 4d LE, LPCSTR, ENUM bc20: 52 45 53 4e 41 4d 45 50 52 4f 43 2c 20 4c 4f 4e RESNAMEPROC, LON bc30: 47 5f 50 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 45 G_PTR);...BOOL E bc40: 6e 75 6d 52 65 73 6f 75 72 63 65 4e 61 6d 65 73 numResourceNames bc50: 57 28 48 4d 4f 44 55 4c 45 2c 20 4c 50 43 57 53 W(HMODULE, LPCWS bc60: 54 52 2c 20 45 4e 55 4d 52 45 53 4e 41 4d 45 50 TR, ENUMRESNAMEP bc70: 52 4f 43 2c 20 4c 4f 4e 47 5f 50 54 52 29 3b 0d ROC, LONG_PTR);. bc80: 0a 09 42 4f 4f 4c 20 45 6e 75 6d 52 65 73 6f 75 ..BOOL EnumResou bc90: 72 63 65 54 79 70 65 73 41 28 48 4d 4f 44 55 4c rceTypesA(HMODUL bca0: 45 2c 20 45 4e 55 4d 52 45 53 54 59 50 45 50 52 E, ENUMRESTYPEPR bcb0: 4f 43 2c 20 4c 4f 4e 47 5f 50 54 52 29 3b 0d 0a OC, LONG_PTR);.. bcc0: 09 42 4f 4f 4c 20 45 6e 75 6d 52 65 73 6f 75 72 .BOOL EnumResour bcd0: 63 65 54 79 70 65 73 57 28 48 4d 4f 44 55 4c 45 ceTypesW(HMODULE bce0: 2c 20 45 4e 55 4d 52 45 53 54 59 50 45 50 52 4f , ENUMRESTYPEPRO bcf0: 43 2c 20 4c 4f 4e 47 5f 50 54 52 29 3b 0d 0a 09 C, LONG_PTR);... bd00: 42 4f 4f 4c 20 45 73 63 61 70 65 43 6f 6d 6d 46 BOOL EscapeCommF bd10: 75 6e 63 74 69 6f 6e 28 48 41 4e 44 4c 45 2c 20 unction(HANDLE, bd20: 44 57 4f 52 44 29 3b 0d 0a 09 76 6f 69 64 20 45 DWORD);...void E bd30: 78 69 74 50 72 6f 63 65 73 73 28 55 49 4e 54 29 xitProcess(UINT) bd40: 3b 20 2f 2f 20 4e 65 76 65 72 20 72 65 74 75 72 ; // Never retur bd50: 6e 73 0d 0a 09 76 6f 69 64 20 45 78 69 74 54 68 ns...void ExitTh bd60: 72 65 61 64 28 44 57 4f 52 44 29 3b 20 2f 2f 20 read(DWORD); // bd70: 4e 65 76 65 72 20 72 65 74 75 72 6e 73 0d 0a 09 Never returns... bd80: 44 57 4f 52 44 20 45 78 70 61 6e 64 45 6e 76 69 DWORD ExpandEnvi bd90: 72 6f 6e 6d 65 6e 74 53 74 72 69 6e 67 73 41 28 ronmentStringsA( bda0: 4c 50 43 53 54 52 2c 20 4c 50 53 54 52 2c 20 44 LPCSTR, LPSTR, D bdb0: 57 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 45 WORD);...DWORD E bdc0: 78 70 61 6e 64 45 6e 76 69 72 6f 6e 6d 65 6e 74 xpandEnvironment bdd0: 53 74 72 69 6e 67 73 57 28 4c 50 43 57 53 54 52 StringsW(LPCWSTR bde0: 2c 20 4c 50 57 53 54 52 2c 20 44 57 4f 52 44 29 , LPWSTR, DWORD) bdf0: 3b 0d 0a 09 76 6f 69 64 20 46 61 74 61 6c 41 70 ;...void FatalAp be00: 70 45 78 69 74 41 28 55 49 4e 54 2c 20 4c 50 43 pExitA(UINT, LPC be10: 53 54 52 29 3b 0d 0a 09 76 6f 69 64 20 46 61 74 STR);...void Fat be20: 61 6c 41 70 70 45 78 69 74 57 28 55 49 4e 54 2c alAppExitW(UINT, be30: 20 4c 50 43 57 53 54 52 29 3b 0d 0a 09 76 6f 69 LPCWSTR);...voi be40: 64 20 46 61 74 61 6c 45 78 69 74 28 69 6e 74 29 d FatalExit(int) be50: 3b 0d 0a 09 42 4f 4f 4c 20 46 69 6c 65 54 69 6d ;...BOOL FileTim be60: 65 54 6f 44 6f 73 44 61 74 65 54 69 6d 65 28 63 eToDosDateTime(c be70: 6f 6e 73 74 28 46 49 4c 45 54 49 4d 45 29 2a 2c onst(FILETIME)*, be80: 20 4c 50 57 4f 52 44 2c 20 4c 50 57 4f 52 44 29 LPWORD, LPWORD) be90: 3b 0d 0a 09 42 4f 4f 4c 20 46 69 6c 65 54 69 6d ;...BOOL FileTim bea0: 65 54 6f 4c 6f 63 61 6c 46 69 6c 65 54 69 6d 65 eToLocalFileTime beb0: 28 63 6f 6e 73 74 28 46 49 4c 45 54 49 4d 45 29 (const(FILETIME) bec0: 2a 2c 20 4c 50 46 49 4c 45 54 49 4d 45 29 3b 0d *, LPFILETIME);. bed0: 0a 09 42 4f 4f 4c 20 46 69 6c 65 54 69 6d 65 54 ..BOOL FileTimeT bee0: 6f 53 79 73 74 65 6d 54 69 6d 65 28 63 6f 6e 73 oSystemTime(cons bef0: 74 28 46 49 4c 45 54 49 4d 45 29 2a 2c 20 4c 50 t(FILETIME)*, LP bf00: 53 59 53 54 45 4d 54 49 4d 45 29 3b 0d 0a 09 41 SYSTEMTIME);...A bf10: 54 4f 4d 20 46 69 6e 64 41 74 6f 6d 41 28 4c 50 TOM FindAtomA(LP bf20: 43 53 54 52 29 3b 0d 0a 09 41 54 4f 4d 20 46 69 CSTR);...ATOM Fi bf30: 6e 64 41 74 6f 6d 57 28 4c 50 43 57 53 54 52 29 ndAtomW(LPCWSTR) bf40: 3b 0d 0a 09 42 4f 4f 4c 20 46 69 6e 64 43 6c 6f ;...BOOL FindClo bf50: 73 65 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f se(HANDLE);...BO bf60: 4f 4c 20 46 69 6e 64 43 6c 6f 73 65 43 68 61 6e OL FindCloseChan bf70: 67 65 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 48 geNotification(H bf80: 41 4e 44 4c 45 29 3b 0d 0a 09 48 41 4e 44 4c 45 ANDLE);...HANDLE bf90: 20 46 69 6e 64 46 69 72 73 74 43 68 61 6e 67 65 FindFirstChange bfa0: 4e 6f 74 69 66 69 63 61 74 69 6f 6e 41 28 4c 50 NotificationA(LP bfb0: 43 53 54 52 2c 20 42 4f 4f 4c 2c 20 44 57 4f 52 CSTR, BOOL, DWOR bfc0: 44 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 46 69 6e D);...HANDLE Fin bfd0: 64 46 69 72 73 74 43 68 61 6e 67 65 4e 6f 74 69 dFirstChangeNoti bfe0: 66 69 63 61 74 69 6f 6e 57 28 4c 50 43 57 53 54 ficationW(LPCWST bff0: 52 2c 20 42 4f 4f 4c 2c 20 44 57 4f 52 44 29 3b R, BOOL, DWORD); c000: 0d 0a 09 48 41 4e 44 4c 45 20 46 69 6e 64 46 69 ...HANDLE FindFi c010: 72 73 74 46 69 6c 65 41 28 4c 50 43 53 54 52 2c rstFileA(LPCSTR, c020: 20 4c 50 57 49 4e 33 32 5f 46 49 4e 44 5f 44 41 LPWIN32_FIND_DA c030: 54 41 41 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 46 TAA);...HANDLE F c040: 69 6e 64 46 69 72 73 74 46 69 6c 65 57 28 4c 50 indFirstFileW(LP c050: 43 57 53 54 52 2c 20 4c 50 57 49 4e 33 32 5f 46 CWSTR, LPWIN32_F c060: 49 4e 44 5f 44 41 54 41 57 29 3b 0d 0a 09 42 4f IND_DATAW);...BO c070: 4f 4c 20 46 69 6e 64 4e 65 78 74 43 68 61 6e 67 OL FindNextChang c080: 65 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 48 41 eNotification(HA c090: 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c 20 46 69 NDLE);...BOOL Fi c0a0: 6e 64 4e 65 78 74 46 69 6c 65 41 28 48 41 4e 44 ndNextFileA(HAND c0b0: 4c 45 2c 20 4c 50 57 49 4e 33 32 5f 46 49 4e 44 LE, LPWIN32_FIND c0c0: 5f 44 41 54 41 41 29 3b 0d 0a 09 42 4f 4f 4c 20 _DATAA);...BOOL c0d0: 46 69 6e 64 4e 65 78 74 46 69 6c 65 57 28 48 41 FindNextFileW(HA c0e0: 4e 44 4c 45 2c 20 4c 50 57 49 4e 33 32 5f 46 49 NDLE, LPWIN32_FI c0f0: 4e 44 5f 44 41 54 41 57 29 3b 0d 0a 09 48 52 53 ND_DATAW);...HRS c100: 52 43 20 46 69 6e 64 52 65 73 6f 75 72 63 65 41 RC FindResourceA c110: 28 48 4d 4f 44 55 4c 45 2c 20 4c 50 43 53 54 52 (HMODULE, LPCSTR c120: 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 48 52 53 , LPCSTR);...HRS c130: 52 43 20 46 69 6e 64 52 65 73 6f 75 72 63 65 57 RC FindResourceW c140: 28 48 49 4e 53 54 41 4e 43 45 2c 20 4c 50 43 57 (HINSTANCE, LPCW c150: 53 54 52 2c 20 4c 50 43 57 53 54 52 29 3b 0d 0a STR, LPCWSTR);.. c160: 09 48 52 53 52 43 20 46 69 6e 64 52 65 73 6f 75 .HRSRC FindResou c170: 72 63 65 45 78 41 28 48 49 4e 53 54 41 4e 43 45 rceExA(HINSTANCE c180: 2c 20 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 , LPCSTR, LPCSTR c190: 2c 20 57 4f 52 44 29 3b 0d 0a 09 48 52 53 52 43 , WORD);...HRSRC c1a0: 20 46 69 6e 64 52 65 73 6f 75 72 63 65 45 78 57 FindResourceExW c1b0: 28 48 49 4e 53 54 41 4e 43 45 2c 20 4c 50 43 57 (HINSTANCE, LPCW c1c0: 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 57 4f STR, LPCWSTR, WO c1d0: 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 46 6c 75 73 RD);...BOOL Flus c1e0: 68 46 69 6c 65 42 75 66 66 65 72 73 28 48 41 4e hFileBuffers(HAN c1f0: 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c 20 46 6c 75 DLE);...BOOL Flu c200: 73 68 49 6e 73 74 72 75 63 74 69 6f 6e 43 61 63 shInstructionCac c210: 68 65 28 48 41 4e 44 4c 45 2c 20 50 43 56 4f 49 he(HANDLE, PCVOI c220: 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 44 57 4f D, DWORD);...DWO c230: 52 44 20 46 6f 72 6d 61 74 4d 65 73 73 61 67 65 RD FormatMessage c240: 41 28 44 57 4f 52 44 2c 20 50 43 56 4f 49 44 2c A(DWORD, PCVOID, c250: 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 4c DWORD, DWORD, L c260: 50 53 54 52 2c 20 44 57 4f 52 44 2c 20 76 61 5f PSTR, DWORD, va_ c270: 6c 69 73 74 2a 29 3b 0d 0a 09 44 57 4f 52 44 20 list*);...DWORD c280: 46 6f 72 6d 61 74 4d 65 73 73 61 67 65 57 28 44 FormatMessageW(D c290: 57 4f 52 44 2c 20 50 43 56 4f 49 44 2c 20 44 57 WORD, PCVOID, DW c2a0: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 4c 50 57 53 ORD, DWORD, LPWS c2b0: 54 52 2c 20 44 57 4f 52 44 2c 20 76 61 5f 6c 69 TR, DWORD, va_li c2c0: 73 74 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 46 72 65 st*);...BOOL Fre c2d0: 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 53 74 72 69 eEnvironmentStri c2e0: 6e 67 73 41 28 4c 50 53 54 52 29 3b 0d 0a 09 42 ngsA(LPSTR);...B c2f0: 4f 4f 4c 20 46 72 65 65 45 6e 76 69 72 6f 6e 6d OOL FreeEnvironm c300: 65 6e 74 53 74 72 69 6e 67 73 57 28 4c 50 57 53 entStringsW(LPWS c310: 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 46 72 65 65 TR);...BOOL Free c320: 4c 69 62 72 61 72 79 28 48 4d 4f 44 55 4c 45 29 Library(HMODULE) c330: 3b 0d 0a 09 76 6f 69 64 20 46 72 65 65 4c 69 62 ;...void FreeLib c340: 72 61 72 79 41 6e 64 45 78 69 74 54 68 72 65 61 raryAndExitThrea c350: 64 28 48 4d 4f 44 55 4c 45 2c 20 44 57 4f 52 44 d(HMODULE, DWORD c360: 29 3b 20 2f 2f 20 6e 65 76 65 72 20 72 65 74 75 ); // never retu c370: 72 6e 73 0d 0a 09 42 4f 4f 4c 20 46 72 65 65 52 rns...BOOL FreeR c380: 65 73 6f 75 72 63 65 28 48 47 4c 4f 42 41 4c 29 esource(HGLOBAL) c390: 3b 0d 0a 09 55 49 4e 54 20 47 65 74 41 74 6f 6d ;...UINT GetAtom c3a0: 4e 61 6d 65 41 28 41 54 4f 4d 2c 20 4c 50 53 54 NameA(ATOM, LPST c3b0: 52 2c 20 69 6e 74 29 3b 0d 0a 09 55 49 4e 54 20 R, int);...UINT c3c0: 47 65 74 41 74 6f 6d 4e 61 6d 65 57 28 41 54 4f GetAtomNameW(ATO c3d0: 4d 2c 20 4c 50 57 53 54 52 2c 20 69 6e 74 29 3b M, LPWSTR, int); c3e0: 0d 0a 09 4c 50 53 54 52 20 47 65 74 43 6f 6d 6d ...LPSTR GetComm c3f0: 61 6e 64 4c 69 6e 65 41 28 29 3b 0d 0a 09 4c 50 andLineA();...LP c400: 57 53 54 52 20 47 65 74 43 6f 6d 6d 61 6e 64 4c WSTR GetCommandL c410: 69 6e 65 57 28 29 3b 0d 0a 09 42 4f 4f 4c 20 47 ineW();...BOOL G c420: 65 74 43 6f 6d 6d 43 6f 6e 66 69 67 28 48 41 4e etCommConfig(HAN c430: 44 4c 45 2c 20 4c 50 43 4f 4d 4d 43 4f 4e 46 49 DLE, LPCOMMCONFI c440: 47 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f G, PDWORD);...BO c450: 4f 4c 20 47 65 74 43 6f 6d 6d 4d 61 73 6b 28 48 OL GetCommMask(H c460: 41 4e 44 4c 45 2c 20 50 44 57 4f 52 44 29 3b 0d ANDLE, PDWORD);. c470: 0a 09 42 4f 4f 4c 20 47 65 74 43 6f 6d 6d 4d 6f ..BOOL GetCommMo c480: 64 65 6d 53 74 61 74 75 73 28 48 41 4e 44 4c 45 demStatus(HANDLE c490: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f , PDWORD);...BOO c4a0: 4c 20 47 65 74 43 6f 6d 6d 50 72 6f 70 65 72 74 L GetCommPropert c4b0: 69 65 73 28 48 41 4e 44 4c 45 2c 20 4c 50 43 4f ies(HANDLE, LPCO c4c0: 4d 4d 50 52 4f 50 29 3b 0d 0a 09 42 4f 4f 4c 20 MMPROP);...BOOL c4d0: 47 65 74 43 6f 6d 6d 53 74 61 74 65 28 48 41 4e GetCommState(HAN c4e0: 44 4c 45 2c 20 4c 50 44 43 42 29 3b 0d 0a 09 42 DLE, LPDCB);...B c4f0: 4f 4f 4c 20 47 65 74 43 6f 6d 6d 54 69 6d 65 6f OOL GetCommTimeo c500: 75 74 73 28 48 41 4e 44 4c 45 2c 20 4c 50 43 4f uts(HANDLE, LPCO c510: 4d 4d 54 49 4d 45 4f 55 54 53 29 3b 0d 0a 09 42 MMTIMEOUTS);...B c520: 4f 4f 4c 20 47 65 74 43 6f 6d 70 75 74 65 72 4e OOL GetComputerN c530: 61 6d 65 41 28 4c 50 53 54 52 2c 20 50 44 57 4f ameA(LPSTR, PDWO c540: 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 43 RD);...BOOL GetC c550: 6f 6d 70 75 74 65 72 4e 61 6d 65 57 28 4c 50 57 omputerNameW(LPW c560: 53 54 52 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 STR, PDWORD);... c570: 44 57 4f 52 44 20 47 65 74 43 75 72 72 65 6e 74 DWORD GetCurrent c580: 44 69 72 65 63 74 6f 72 79 41 28 44 57 4f 52 44 DirectoryA(DWORD c590: 2c 20 4c 50 53 54 52 29 3b 0d 0a 09 44 57 4f 52 , LPSTR);...DWOR c5a0: 44 20 47 65 74 43 75 72 72 65 6e 74 44 69 72 65 D GetCurrentDire c5b0: 63 74 6f 72 79 57 28 44 57 4f 52 44 2c 20 4c 50 ctoryW(DWORD, LP c5c0: 57 53 54 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 WSTR);...HANDLE c5d0: 47 65 74 43 75 72 72 65 6e 74 50 72 6f 63 65 73 GetCurrentProces c5e0: 73 28 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 s();...DWORD Get c5f0: 43 75 72 72 65 6e 74 50 72 6f 63 65 73 73 49 64 CurrentProcessId c600: 28 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 47 65 74 ();...HANDLE Get c610: 43 75 72 72 65 6e 74 54 68 72 65 61 64 28 29 3b CurrentThread(); c620: 0d 0a 2f 2a 20 49 6e 20 4d 69 6e 47 57 3a 0d 0a ../* In MinGW:.. c630: 23 69 66 64 65 66 20 5f 57 49 4e 33 32 5f 57 43 #ifdef _WIN32_WC c640: 45 0d 0a 65 78 74 65 72 6e 20 44 57 4f 52 44 20 E..extern DWORD c650: 47 65 74 43 75 72 72 65 6e 74 54 68 72 65 61 64 GetCurrentThread c660: 49 64 28 76 6f 69 64 29 3b 0d 0a 23 65 6c 73 65 Id(void);..#else c670: 0d 0a 57 49 4e 42 41 53 45 41 50 49 20 44 57 4f ..WINBASEAPI DWO c680: 52 44 20 57 49 4e 41 50 49 20 47 65 74 43 75 72 RD WINAPI GetCur c690: 72 65 6e 74 54 68 72 65 61 64 49 64 28 76 6f 69 rentThreadId(voi c6a0: 64 29 3b 0d 0a 23 65 6e 64 69 66 0d 0a 2a 2f 0d d);..#endif..*/. c6b0: 0a 09 44 57 4f 52 44 20 47 65 74 43 75 72 72 65 ..DWORD GetCurre c6c0: 6e 74 54 68 72 65 61 64 49 64 28 29 3b 0d 0a 0d ntThreadId();... c6d0: 0a 09 61 6c 69 61 73 20 47 65 74 54 69 63 6b 43 ..alias GetTickC c6e0: 6f 75 6e 74 20 47 65 74 43 75 72 72 65 6e 74 54 ount GetCurrentT c6f0: 69 6d 65 3b 0d 0a 0d 0a 09 42 4f 4f 4c 20 47 65 ime;.....BOOL Ge c700: 74 44 65 66 61 75 6c 74 43 6f 6d 6d 43 6f 6e 66 tDefaultCommConf c710: 69 67 41 28 4c 50 43 53 54 52 2c 20 4c 50 43 4f igA(LPCSTR, LPCO c720: 4d 4d 43 4f 4e 46 49 47 2c 20 50 44 57 4f 52 44 MMCONFIG, PDWORD c730: 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 44 65 66 );...BOOL GetDef c740: 61 75 6c 74 43 6f 6d 6d 43 6f 6e 66 69 67 57 28 aultCommConfigW( c750: 4c 50 43 57 53 54 52 2c 20 4c 50 43 4f 4d 4d 43 LPCWSTR, LPCOMMC c760: 4f 4e 46 49 47 2c 20 50 44 57 4f 52 44 29 3b 0d ONFIG, PDWORD);. c770: 0a 09 42 4f 4f 4c 20 47 65 74 44 69 73 6b 46 72 ..BOOL GetDiskFr c780: 65 65 53 70 61 63 65 41 28 4c 50 43 53 54 52 2c eeSpaceA(LPCSTR, c790: 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c PDWORD, PDWORD, c7a0: 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 29 PDWORD, PDWORD) c7b0: 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 44 69 73 6b ;...BOOL GetDisk c7c0: 46 72 65 65 53 70 61 63 65 57 28 4c 50 43 57 53 FreeSpaceW(LPCWS c7d0: 54 52 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f TR, PDWORD, PDWO c7e0: 52 44 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f RD, PDWORD, PDWO c7f0: 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 44 RD);...BOOL GetD c800: 69 73 6b 46 72 65 65 53 70 61 63 65 45 78 41 28 iskFreeSpaceExA( c810: 4c 50 43 53 54 52 2c 20 50 55 4c 41 52 47 45 5f LPCSTR, PULARGE_ c820: 49 4e 54 45 47 45 52 2c 20 50 55 4c 41 52 47 45 INTEGER, PULARGE c830: 5f 49 4e 54 45 47 45 52 2c 20 50 55 4c 41 52 47 _INTEGER, PULARG c840: 45 5f 49 4e 54 45 47 45 52 29 3b 0d 0a 09 42 4f E_INTEGER);...BO c850: 4f 4c 20 47 65 74 44 69 73 6b 46 72 65 65 53 70 OL GetDiskFreeSp c860: 61 63 65 45 78 57 28 4c 50 43 57 53 54 52 2c 20 aceExW(LPCWSTR, c870: 50 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c PULARGE_INTEGER, c880: 20 50 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 PULARGE_INTEGER c890: 2c 20 50 55 4c 41 52 47 45 5f 49 4e 54 45 47 45 , PULARGE_INTEGE c8a0: 52 29 3b 0d 0a 09 55 49 4e 54 20 47 65 74 44 72 R);...UINT GetDr c8b0: 69 76 65 54 79 70 65 41 28 4c 50 43 53 54 52 29 iveTypeA(LPCSTR) c8c0: 3b 0d 0a 09 55 49 4e 54 20 47 65 74 44 72 69 76 ;...UINT GetDriv c8d0: 65 54 79 70 65 57 28 4c 50 43 57 53 54 52 29 3b eTypeW(LPCWSTR); c8e0: 0d 0a 09 4c 50 53 54 52 20 47 65 74 45 6e 76 69 ...LPSTR GetEnvi c8f0: 72 6f 6e 6d 65 6e 74 53 74 72 69 6e 67 73 28 29 ronmentStrings() c900: 3b 20 2f 2f 20 3f 3f 3f 0d 0a 09 4c 50 53 54 52 ; // ???...LPSTR c910: 20 47 65 74 45 6e 76 69 72 6f 6e 6d 65 6e 74 53 GetEnvironmentS c920: 74 72 69 6e 67 73 41 28 29 3b 0d 0a 09 4c 50 57 tringsA();...LPW c930: 53 54 52 20 47 65 74 45 6e 76 69 72 6f 6e 6d 65 STR GetEnvironme c940: 6e 74 53 74 72 69 6e 67 73 57 28 29 3b 0d 0a 09 ntStringsW();... c950: 44 57 4f 52 44 20 47 65 74 45 6e 76 69 72 6f 6e DWORD GetEnviron c960: 6d 65 6e 74 56 61 72 69 61 62 6c 65 41 28 4c 50 mentVariableA(LP c970: 43 53 54 52 2c 20 4c 50 53 54 52 2c 20 44 57 4f CSTR, LPSTR, DWO c980: 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 RD);...DWORD Get c990: 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 72 69 61 EnvironmentVaria c9a0: 62 6c 65 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 bleW(LPCWSTR, LP c9b0: 57 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 WSTR, DWORD);... c9c0: 42 4f 4f 4c 20 47 65 74 45 78 69 74 43 6f 64 65 BOOL GetExitCode c9d0: 50 72 6f 63 65 73 73 28 48 41 4e 44 4c 45 2c 20 Process(HANDLE, c9e0: 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 PDWORD);...BOOL c9f0: 47 65 74 45 78 69 74 43 6f 64 65 54 68 72 65 61 GetExitCodeThrea ca00: 64 28 48 41 4e 44 4c 45 2c 20 50 44 57 4f 52 44 d(HANDLE, PDWORD ca10: 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 46 69 );...DWORD GetFi ca20: 6c 65 41 74 74 72 69 62 75 74 65 73 41 28 4c 50 leAttributesA(LP ca30: 43 53 54 52 29 3b 0d 0a 09 44 57 4f 52 44 20 47 CSTR);...DWORD G ca40: 65 74 46 69 6c 65 41 74 74 72 69 62 75 74 65 73 etFileAttributes ca50: 57 28 4c 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f W(LPCWSTR);...BO ca60: 4f 4c 20 47 65 74 46 69 6c 65 49 6e 66 6f 72 6d OL GetFileInform ca70: 61 74 69 6f 6e 42 79 48 61 6e 64 6c 65 28 48 41 ationByHandle(HA ca80: 4e 44 4c 45 2c 20 4c 50 42 59 5f 48 41 4e 44 4c NDLE, LPBY_HANDL ca90: 45 5f 46 49 4c 45 5f 49 4e 46 4f 52 4d 41 54 49 E_FILE_INFORMATI caa0: 4f 4e 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 ON);...DWORD Get cab0: 46 69 6c 65 53 69 7a 65 28 48 41 4e 44 4c 45 2c FileSize(HANDLE, cac0: 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c PDWORD);...BOOL cad0: 20 47 65 74 46 69 6c 65 54 69 6d 65 28 48 41 4e GetFileTime(HAN cae0: 44 4c 45 2c 20 4c 50 46 49 4c 45 54 49 4d 45 2c DLE, LPFILETIME, caf0: 20 4c 50 46 49 4c 45 54 49 4d 45 2c 20 4c 50 46 LPFILETIME, LPF cb00: 49 4c 45 54 49 4d 45 29 3b 0d 0a 09 44 57 4f 52 ILETIME);...DWOR cb10: 44 20 47 65 74 46 69 6c 65 54 79 70 65 28 48 41 D GetFileType(HA cb20: 4e 44 4c 45 29 3b 0d 0a 09 44 57 4f 52 44 20 47 NDLE);...DWORD G cb30: 65 74 46 75 6c 6c 50 61 74 68 4e 61 6d 65 41 28 etFullPathNameA( cb40: 4c 50 43 53 54 52 2c 20 44 57 4f 52 44 2c 20 4c LPCSTR, DWORD, L cb50: 50 53 54 52 2c 20 4c 50 53 54 52 2a 29 3b 0d 0a PSTR, LPSTR*);.. cb60: 09 44 57 4f 52 44 20 47 65 74 46 75 6c 6c 50 61 .DWORD GetFullPa cb70: 74 68 4e 61 6d 65 57 28 4c 50 43 57 53 54 52 2c thNameW(LPCWSTR, cb80: 20 44 57 4f 52 44 2c 20 4c 50 57 53 54 52 2c 20 DWORD, LPWSTR, cb90: 4c 50 57 53 54 52 2a 29 3b 0d 0a 09 44 57 4f 52 LPWSTR*);...DWOR cba0: 44 20 47 65 74 4c 61 73 74 45 72 72 6f 72 28 29 D GetLastError() cbb0: 3b 0d 0a 09 76 6f 69 64 20 47 65 74 4c 6f 63 61 ;...void GetLoca cbc0: 6c 54 69 6d 65 28 4c 50 53 59 53 54 45 4d 54 49 lTime(LPSYSTEMTI cbd0: 4d 45 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 ME);...DWORD Get cbe0: 4c 6f 67 69 63 61 6c 44 72 69 76 65 73 28 29 3b LogicalDrives(); cbf0: 0d 0a 09 44 57 4f 52 44 20 47 65 74 4c 6f 67 69 ...DWORD GetLogi cc00: 63 61 6c 44 72 69 76 65 53 74 72 69 6e 67 73 41 calDriveStringsA cc10: 28 44 57 4f 52 44 2c 20 4c 50 53 54 52 29 3b 0d (DWORD, LPSTR);. cc20: 0a 09 44 57 4f 52 44 20 47 65 74 4c 6f 67 69 63 ..DWORD GetLogic cc30: 61 6c 44 72 69 76 65 53 74 72 69 6e 67 73 57 28 alDriveStringsW( cc40: 44 57 4f 52 44 2c 20 4c 50 57 53 54 52 29 3b 0d DWORD, LPWSTR);. cc50: 0a 09 42 4f 4f 4c 20 47 65 74 4d 61 69 6c 73 6c ..BOOL GetMailsl cc60: 6f 74 49 6e 66 6f 28 48 41 4e 44 4c 45 2c 20 50 otInfo(HANDLE, P cc70: 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c 20 50 DWORD, PDWORD, P cc80: 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 29 3b 0d DWORD, PDWORD);. cc90: 0a 09 44 57 4f 52 44 20 47 65 74 4d 6f 64 75 6c ..DWORD GetModul cca0: 65 46 69 6c 65 4e 61 6d 65 41 28 48 49 4e 53 54 eFileNameA(HINST ccb0: 41 4e 43 45 2c 20 4c 50 53 54 52 2c 20 44 57 4f ANCE, LPSTR, DWO ccc0: 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 RD);...DWORD Get ccd0: 4d 6f 64 75 6c 65 46 69 6c 65 4e 61 6d 65 57 28 ModuleFileNameW( cce0: 48 49 4e 53 54 41 4e 43 45 2c 20 4c 50 57 53 54 HINSTANCE, LPWST ccf0: 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 48 4d 4f R, DWORD);...HMO cd00: 44 55 4c 45 20 47 65 74 4d 6f 64 75 6c 65 48 61 DULE GetModuleHa cd10: 6e 64 6c 65 41 28 4c 50 43 53 54 52 29 3b 0d 0a ndleA(LPCSTR);.. cd20: 09 48 4d 4f 44 55 4c 45 20 47 65 74 4d 6f 64 75 .HMODULE GetModu cd30: 6c 65 48 61 6e 64 6c 65 57 28 4c 50 43 57 53 54 leHandleW(LPCWST cd40: 52 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 4e 61 R);...BOOL GetNa cd50: 6d 65 64 50 69 70 65 48 61 6e 64 6c 65 53 74 61 medPipeHandleSta cd60: 74 65 41 28 48 41 4e 44 4c 45 2c 20 50 44 57 4f teA(HANDLE, PDWO cd70: 52 44 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f RD, PDWORD, PDWO cd80: 52 44 2c 20 50 44 57 4f 52 44 2c 20 4c 50 53 54 RD, PDWORD, LPST cd90: 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f R, DWORD);...BOO cda0: 4c 20 47 65 74 4e 61 6d 65 64 50 69 70 65 48 61 L GetNamedPipeHa cdb0: 6e 64 6c 65 53 74 61 74 65 57 28 48 41 4e 44 4c ndleStateW(HANDL cdc0: 45 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 E, PDWORD, PDWOR cdd0: 44 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 D, PDWORD, PDWOR cde0: 44 2c 20 4c 50 57 53 54 52 2c 20 44 57 4f 52 44 D, LPWSTR, DWORD cdf0: 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 4e 61 6d );...BOOL GetNam ce00: 65 64 50 69 70 65 49 6e 66 6f 28 48 41 4e 44 4c edPipeInfo(HANDL ce10: 45 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 E, PDWORD, PDWOR ce20: 44 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 D, PDWORD, PDWOR ce30: 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 4f 76 D);...BOOL GetOv ce40: 65 72 6c 61 70 70 65 64 52 65 73 75 6c 74 28 48 erlappedResult(H ce50: 41 4e 44 4c 45 2c 20 4c 50 4f 56 45 52 4c 41 50 ANDLE, LPOVERLAP ce60: 50 45 44 2c 20 50 44 57 4f 52 44 2c 20 42 4f 4f PED, PDWORD, BOO ce70: 4c 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 50 L);...DWORD GetP ce80: 72 69 6f 72 69 74 79 43 6c 61 73 73 28 48 41 4e riorityClass(HAN ce90: 44 4c 45 29 3b 0d 0a 09 55 49 4e 54 20 47 65 74 DLE);...UINT Get cea0: 50 72 69 76 61 74 65 50 72 6f 66 69 6c 65 49 6e PrivateProfileIn ceb0: 74 41 28 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 tA(LPCSTR, LPCST cec0: 52 2c 20 49 4e 54 2c 20 4c 50 43 53 54 52 29 3b R, INT, LPCSTR); ced0: 0d 0a 09 55 49 4e 54 20 47 65 74 50 72 69 76 61 ...UINT GetPriva cee0: 74 65 50 72 6f 66 69 6c 65 49 6e 74 57 28 4c 50 teProfileIntW(LP cef0: 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 CWSTR, LPCWSTR, cf00: 49 4e 54 2c 20 4c 50 43 57 53 54 52 29 3b 0d 0a INT, LPCWSTR);.. cf10: 09 44 57 4f 52 44 20 47 65 74 50 72 69 76 61 74 .DWORD GetPrivat cf20: 65 50 72 6f 66 69 6c 65 53 65 63 74 69 6f 6e 41 eProfileSectionA cf30: 28 4c 50 43 53 54 52 2c 20 4c 50 53 54 52 2c 20 (LPCSTR, LPSTR, cf40: 44 57 4f 52 44 2c 20 4c 50 43 53 54 52 29 3b 0d DWORD, LPCSTR);. cf50: 0a 09 44 57 4f 52 44 20 47 65 74 50 72 69 76 61 ..DWORD GetPriva cf60: 74 65 50 72 6f 66 69 6c 65 53 65 63 74 69 6f 6e teProfileSection cf70: 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 57 53 54 W(LPCWSTR, LPWST cf80: 52 2c 20 44 57 4f 52 44 2c 20 4c 50 43 57 53 54 R, DWORD, LPCWST cf90: 52 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 50 R);...DWORD GetP cfa0: 72 69 76 61 74 65 50 72 6f 66 69 6c 65 53 65 63 rivateProfileSec cfb0: 74 69 6f 6e 4e 61 6d 65 73 41 28 4c 50 53 54 52 tionNamesA(LPSTR cfc0: 2c 20 44 57 4f 52 44 2c 20 4c 50 43 53 54 52 29 , DWORD, LPCSTR) cfd0: 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 50 72 69 ;...DWORD GetPri cfe0: 76 61 74 65 50 72 6f 66 69 6c 65 53 65 63 74 69 vateProfileSecti cff0: 6f 6e 4e 61 6d 65 73 57 28 4c 50 57 53 54 52 2c onNamesW(LPWSTR, d000: 20 44 57 4f 52 44 2c 20 4c 50 43 57 53 54 52 29 DWORD, LPCWSTR) d010: 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 50 72 69 ;...DWORD GetPri d020: 76 61 74 65 50 72 6f 66 69 6c 65 53 74 72 69 6e vateProfileStrin d030: 67 41 28 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 gA(LPCSTR, LPCST d040: 52 2c 20 4c 50 43 53 54 52 2c 20 4c 50 53 54 52 R, LPCSTR, LPSTR d050: 2c 20 44 57 4f 52 44 2c 20 4c 50 43 53 54 52 29 , DWORD, LPCSTR) d060: 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 50 72 69 ;...DWORD GetPri d070: 76 61 74 65 50 72 6f 66 69 6c 65 53 74 72 69 6e vateProfileStrin d080: 67 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 gW(LPCWSTR, LPCW d090: 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 4c 50 STR, LPCWSTR, LP d0a0: 57 53 54 52 2c 20 44 57 4f 52 44 2c 20 4c 50 43 WSTR, DWORD, LPC d0b0: 57 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 WSTR);...BOOL Ge d0c0: 74 50 72 69 76 61 74 65 50 72 6f 66 69 6c 65 53 tPrivateProfileS d0d0: 74 72 75 63 74 41 28 4c 50 43 53 54 52 2c 20 4c tructA(LPCSTR, L d0e0: 50 43 53 54 52 2c 20 4c 50 56 4f 49 44 2c 20 55 PCSTR, LPVOID, U d0f0: 49 4e 54 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 INT, LPCSTR);... d100: 42 4f 4f 4c 20 47 65 74 50 72 69 76 61 74 65 50 BOOL GetPrivateP d110: 72 6f 66 69 6c 65 53 74 72 75 63 74 57 28 4c 50 rofileStructW(LP d120: 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 CWSTR, LPCWSTR, d130: 4c 50 56 4f 49 44 2c 20 55 49 4e 54 2c 20 4c 50 LPVOID, UINT, LP d140: 43 57 53 54 52 29 3b 0d 0a 09 46 41 52 50 52 4f CWSTR);...FARPRO d150: 43 20 47 65 74 50 72 6f 63 41 64 64 72 65 73 73 C GetProcAddress d160: 28 48 49 4e 53 54 41 4e 43 45 2c 20 4c 50 43 53 (HINSTANCE, LPCS d170: 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 50 TR);...BOOL GetP d180: 72 6f 63 65 73 73 41 66 66 69 6e 69 74 79 4d 61 rocessAffinityMa d190: 73 6b 28 48 41 4e 44 4c 45 2c 20 50 44 57 4f 52 sk(HANDLE, PDWOR d1a0: 44 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 44 57 D, PDWORD);...DW d1b0: 4f 52 44 20 47 65 74 50 72 6f 63 65 73 73 56 65 ORD GetProcessVe d1c0: 72 73 69 6f 6e 28 44 57 4f 52 44 29 3b 0d 0a 09 rsion(DWORD);... d1d0: 55 49 4e 54 20 47 65 74 50 72 6f 66 69 6c 65 49 UINT GetProfileI d1e0: 6e 74 41 28 4c 50 43 53 54 52 2c 20 4c 50 43 53 ntA(LPCSTR, LPCS d1f0: 54 52 2c 20 49 4e 54 29 3b 0d 0a 09 55 49 4e 54 TR, INT);...UINT d200: 20 47 65 74 50 72 6f 66 69 6c 65 49 6e 74 57 28 GetProfileIntW( d210: 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 LPCWSTR, LPCWSTR d220: 2c 20 49 4e 54 29 3b 0d 0a 09 44 57 4f 52 44 20 , INT);...DWORD d230: 47 65 74 50 72 6f 66 69 6c 65 53 65 63 74 69 6f GetProfileSectio d240: 6e 41 28 4c 50 43 53 54 52 2c 20 4c 50 53 54 52 nA(LPCSTR, LPSTR d250: 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 , DWORD);...DWOR d260: 44 20 47 65 74 50 72 6f 66 69 6c 65 53 65 63 74 D GetProfileSect d270: 69 6f 6e 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 ionW(LPCWSTR, LP d280: 57 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 WSTR, DWORD);... d290: 44 57 4f 52 44 20 47 65 74 50 72 6f 66 69 6c 65 DWORD GetProfile d2a0: 53 74 72 69 6e 67 41 28 4c 50 43 53 54 52 2c 20 StringA(LPCSTR, d2b0: 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 LPCSTR, LPCSTR, d2c0: 4c 50 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a LPSTR, DWORD);.. d2d0: 09 44 57 4f 52 44 20 47 65 74 50 72 6f 66 69 6c .DWORD GetProfil d2e0: 65 53 74 72 69 6e 67 57 28 4c 50 43 57 53 54 52 eStringW(LPCWSTR d2f0: 2c 20 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 , LPCWSTR, LPCWS d300: 54 52 2c 20 4c 50 57 53 54 52 2c 20 44 57 4f 52 TR, LPWSTR, DWOR d310: 44 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 53 D);...DWORD GetS d320: 68 6f 72 74 50 61 74 68 4e 61 6d 65 41 28 4c 50 hortPathNameA(LP d330: 43 53 54 52 2c 20 4c 50 53 54 52 2c 20 44 57 4f CSTR, LPSTR, DWO d340: 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 RD);...DWORD Get d350: 53 68 6f 72 74 50 61 74 68 4e 61 6d 65 57 28 4c ShortPathNameW(L d360: 50 43 57 53 54 52 2c 20 4c 50 57 53 54 52 2c 20 PCWSTR, LPWSTR, d370: 44 57 4f 52 44 29 3b 0d 0a 09 56 4f 49 44 20 47 DWORD);...VOID G d380: 65 74 53 74 61 72 74 75 70 49 6e 66 6f 41 28 4c etStartupInfoA(L d390: 50 53 54 41 52 54 55 50 49 4e 46 4f 41 29 3b 0d PSTARTUPINFOA);. d3a0: 0a 09 56 4f 49 44 20 47 65 74 53 74 61 72 74 75 ..VOID GetStartu d3b0: 70 49 6e 66 6f 57 28 4c 50 53 54 41 52 54 55 50 pInfoW(LPSTARTUP d3c0: 49 4e 46 4f 57 29 3b 0d 0a 09 48 41 4e 44 4c 45 INFOW);...HANDLE d3d0: 20 47 65 74 53 74 64 48 61 6e 64 6c 65 28 44 57 GetStdHandle(DW d3e0: 4f 52 44 29 3b 0d 0a 09 55 49 4e 54 20 47 65 74 ORD);...UINT Get d3f0: 53 79 73 74 65 6d 44 69 72 65 63 74 6f 72 79 41 SystemDirectoryA d400: 28 4c 50 53 54 52 2c 20 55 49 4e 54 29 3b 0d 0a (LPSTR, UINT);.. d410: 09 55 49 4e 54 20 47 65 74 53 79 73 74 65 6d 44 .UINT GetSystemD d420: 69 72 65 63 74 6f 72 79 57 28 4c 50 57 53 54 52 irectoryW(LPWSTR d430: 2c 20 55 49 4e 54 29 3b 0d 0a 09 56 4f 49 44 20 , UINT);...VOID d440: 47 65 74 53 79 73 74 65 6d 49 6e 66 6f 28 4c 50 GetSystemInfo(LP d450: 53 59 53 54 45 4d 5f 49 4e 46 4f 29 3b 0d 0a 09 SYSTEM_INFO);... d460: 56 4f 49 44 20 47 65 74 53 79 73 74 65 6d 54 69 VOID GetSystemTi d470: 6d 65 28 4c 50 53 59 53 54 45 4d 54 49 4d 45 29 me(LPSYSTEMTIME) d480: 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 53 79 73 74 ;...BOOL GetSyst d490: 65 6d 54 69 6d 65 41 64 6a 75 73 74 6d 65 6e 74 emTimeAdjustment d4a0: 28 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c (PDWORD, PDWORD, d4b0: 20 50 42 4f 4f 4c 29 3b 0d 0a 09 76 6f 69 64 20 PBOOL);...void d4c0: 47 65 74 53 79 73 74 65 6d 54 69 6d 65 41 73 46 GetSystemTimeAsF d4d0: 69 6c 65 54 69 6d 65 28 4c 50 46 49 4c 45 54 49 ileTime(LPFILETI d4e0: 4d 45 29 3b 0d 0a 09 55 49 4e 54 20 47 65 74 54 ME);...UINT GetT d4f0: 65 6d 70 46 69 6c 65 4e 61 6d 65 41 28 4c 50 43 empFileNameA(LPC d500: 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 55 49 4e STR, LPCSTR, UIN d510: 54 2c 20 4c 50 53 54 52 29 3b 0d 0a 09 55 49 4e T, LPSTR);...UIN d520: 54 20 47 65 74 54 65 6d 70 46 69 6c 65 4e 61 6d T GetTempFileNam d530: 65 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 eW(LPCWSTR, LPCW d540: 53 54 52 2c 20 55 49 4e 54 2c 20 4c 50 57 53 54 STR, UINT, LPWST d550: 52 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 54 R);...DWORD GetT d560: 65 6d 70 50 61 74 68 41 28 44 57 4f 52 44 2c 20 empPathA(DWORD, d570: 4c 50 53 54 52 29 3b 0d 0a 09 44 57 4f 52 44 20 LPSTR);...DWORD d580: 47 65 74 54 65 6d 70 50 61 74 68 57 28 44 57 4f GetTempPathW(DWO d590: 52 44 2c 20 4c 50 57 53 54 52 29 3b 0d 0a 09 42 RD, LPWSTR);...B d5a0: 4f 4f 4c 20 47 65 74 54 68 72 65 61 64 43 6f 6e OOL GetThreadCon d5b0: 74 65 78 74 28 48 41 4e 44 4c 45 2c 20 4c 50 43 text(HANDLE, LPC d5c0: 4f 4e 54 45 58 54 29 3b 0d 0a 09 69 6e 74 20 47 ONTEXT);...int G d5d0: 65 74 54 68 72 65 61 64 50 72 69 6f 72 69 74 79 etThreadPriority d5e0: 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c (HANDLE);...BOOL d5f0: 20 47 65 74 54 68 72 65 61 64 53 65 6c 65 63 74 GetThreadSelect d600: 6f 72 45 6e 74 72 79 28 48 41 4e 44 4c 45 2c 20 orEntry(HANDLE, d610: 44 57 4f 52 44 2c 20 4c 50 4c 44 54 5f 45 4e 54 DWORD, LPLDT_ENT d620: 52 59 29 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 RY);...DWORD Get d630: 54 69 63 6b 43 6f 75 6e 74 28 29 3b 0d 0a 09 44 TickCount();...D d640: 57 4f 52 44 20 47 65 74 54 69 6d 65 5a 6f 6e 65 WORD GetTimeZone d650: 49 6e 66 6f 72 6d 61 74 69 6f 6e 28 4c 50 54 49 Information(LPTI d660: 4d 45 5f 5a 4f 4e 45 5f 49 4e 46 4f 52 4d 41 54 ME_ZONE_INFORMAT d670: 49 4f 4e 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 ION);...BOOL Get d680: 55 73 65 72 4e 61 6d 65 41 20 28 4c 50 53 54 52 UserNameA (LPSTR d690: 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f , PDWORD);...BOO d6a0: 4c 20 47 65 74 55 73 65 72 4e 61 6d 65 57 28 4c L GetUserNameW(L d6b0: 50 57 53 54 52 2c 20 50 44 57 4f 52 44 29 3b 0d PWSTR, PDWORD);. d6c0: 0a 09 44 57 4f 52 44 20 47 65 74 56 65 72 73 69 ..DWORD GetVersi d6d0: 6f 6e 28 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 on();...BOOL Get d6e0: 56 65 72 73 69 6f 6e 45 78 41 28 4c 50 4f 53 56 VersionExA(LPOSV d6f0: 45 52 53 49 4f 4e 49 4e 46 4f 41 29 3b 0d 0a 09 ERSIONINFOA);... d700: 42 4f 4f 4c 20 47 65 74 56 65 72 73 69 6f 6e 45 BOOL GetVersionE d710: 78 57 28 4c 50 4f 53 56 45 52 53 49 4f 4e 49 4e xW(LPOSVERSIONIN d720: 46 4f 57 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 FOW);...BOOL Get d730: 56 6f 6c 75 6d 65 49 6e 66 6f 72 6d 61 74 69 6f VolumeInformatio d740: 6e 41 28 4c 50 43 53 54 52 2c 20 4c 50 53 54 52 nA(LPCSTR, LPSTR d750: 2c 20 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c , DWORD, PDWORD, d760: 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c PDWORD, PDWORD, d770: 20 4c 50 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d LPSTR, DWORD);. d780: 0a 09 42 4f 4f 4c 20 47 65 74 56 6f 6c 75 6d 65 ..BOOL GetVolume d790: 49 6e 66 6f 72 6d 61 74 69 6f 6e 57 28 4c 50 43 InformationW(LPC d7a0: 57 53 54 52 2c 20 4c 50 57 53 54 52 2c 20 44 57 WSTR, LPWSTR, DW d7b0: 4f 52 44 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 ORD, PDWORD, PDW d7c0: 4f 52 44 2c 20 50 44 57 4f 52 44 2c 20 4c 50 57 ORD, PDWORD, LPW d7d0: 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 55 STR, DWORD);...U d7e0: 49 4e 54 20 47 65 74 57 69 6e 64 6f 77 73 44 69 INT GetWindowsDi d7f0: 72 65 63 74 6f 72 79 41 28 4c 50 53 54 52 2c 20 rectoryA(LPSTR, d800: 55 49 4e 54 29 3b 0d 0a 09 55 49 4e 54 20 47 65 UINT);...UINT Ge d810: 74 57 69 6e 64 6f 77 73 44 69 72 65 63 74 6f 72 tWindowsDirector d820: 79 57 28 4c 50 57 53 54 52 2c 20 55 49 4e 54 29 yW(LPWSTR, UINT) d830: 3b 0d 0a 09 44 57 4f 52 44 20 47 65 74 57 69 6e ;...DWORD GetWin d840: 64 6f 77 54 68 72 65 61 64 50 72 6f 63 65 73 73 dowThreadProcess d850: 49 64 28 48 57 4e 44 2c 20 50 44 57 4f 52 44 29 Id(HWND, PDWORD) d860: 3b 0d 0a 09 41 54 4f 4d 20 47 6c 6f 62 61 6c 41 ;...ATOM GlobalA d870: 64 64 41 74 6f 6d 41 28 4c 50 43 53 54 52 29 3b ddAtomA(LPCSTR); d880: 0d 0a 09 41 54 4f 4d 20 47 6c 6f 62 61 6c 41 64 ...ATOM GlobalAd d890: 64 41 74 6f 6d 57 28 4c 50 43 57 53 54 52 29 3b dAtomW(LPCWSTR); d8a0: 0d 0a 09 41 54 4f 4d 20 47 6c 6f 62 61 6c 44 65 ...ATOM GlobalDe d8b0: 6c 65 74 65 41 74 6f 6d 28 41 54 4f 4d 29 3b 0d leteAtom(ATOM);. d8c0: 0a 09 41 54 4f 4d 20 47 6c 6f 62 61 6c 46 69 6e ..ATOM GlobalFin d8d0: 64 41 74 6f 6d 41 28 4c 50 43 53 54 52 29 3b 0d dAtomA(LPCSTR);. d8e0: 0a 09 41 54 4f 4d 20 47 6c 6f 62 61 6c 46 69 6e ..ATOM GlobalFin d8f0: 64 41 74 6f 6d 57 28 4c 50 43 57 53 54 52 29 3b dAtomW(LPCWSTR); d900: 0d 0a 09 55 49 4e 54 20 47 6c 6f 62 61 6c 47 65 ...UINT GlobalGe d910: 74 41 74 6f 6d 4e 61 6d 65 41 28 41 54 4f 4d 2c tAtomNameA(ATOM, d920: 20 4c 50 53 54 52 2c 20 69 6e 74 29 3b 0d 0a 09 LPSTR, int);... d930: 55 49 4e 54 20 47 6c 6f 62 61 6c 47 65 74 41 74 UINT GlobalGetAt d940: 6f 6d 4e 61 6d 65 57 28 41 54 4f 4d 2c 20 4c 50 omNameW(ATOM, LP d950: 57 53 54 52 2c 20 69 6e 74 29 3b 0d 0a 0d 0a 09 WSTR, int);..... d960: 62 6f 6f 6c 20 48 61 73 4f 76 65 72 6c 61 70 70 bool HasOverlapp d970: 65 64 49 6f 43 6f 6d 70 6c 65 74 65 64 28 4c 50 edIoCompleted(LP d980: 4f 56 45 52 4c 41 50 50 45 44 20 6c 70 4f 76 65 OVERLAPPED lpOve d990: 72 6c 61 70 70 65 64 29 20 7b 0d 0a 09 09 72 65 rlapped) {....re d9a0: 74 75 72 6e 20 6c 70 4f 76 65 72 6c 61 70 70 65 turn lpOverlappe d9b0: 64 2e 49 6e 74 65 72 6e 61 6c 20 21 3d 20 53 54 d.Internal != ST d9c0: 41 54 55 53 5f 50 45 4e 44 49 4e 47 3b 0d 0a 09 ATUS_PENDING;... d9d0: 7d 0d 0a 0d 0a 09 42 4f 4f 4c 20 49 6e 69 74 41 }.....BOOL InitA d9e0: 74 6f 6d 54 61 62 6c 65 28 44 57 4f 52 44 29 3b tomTable(DWORD); d9f0: 0d 0a 09 56 4f 49 44 20 49 6e 69 74 69 61 6c 69 ...VOID Initiali da00: 7a 65 43 72 69 74 69 63 61 6c 53 65 63 74 69 6f zeCriticalSectio da10: 6e 28 4c 50 43 52 49 54 49 43 41 4c 5f 53 45 43 n(LPCRITICAL_SEC da20: 54 49 4f 4e 29 3b 0d 0a 09 2f 2a 09 3f 3f 3f 20 TION);.../*.??? da30: 54 68 65 20 6e 65 78 74 20 74 77 6f 20 61 72 65 The next two are da40: 20 61 6c 6c 65 67 65 64 6c 79 20 6f 62 73 6f 6c allegedly obsol da50: 65 74 65 20 61 6e 64 20 22 73 75 70 70 6f 72 74 ete and "support da60: 65 64 20 6f 6e 6c 79 20 66 6f 72 0d 0a 09 20 2a ed only for... * da70: 09 62 61 63 6b 77 61 72 64 20 63 6f 6d 70 61 74 .backward compat da80: 69 62 69 6c 69 74 79 20 77 69 74 68 20 74 68 65 ibility with the da90: 20 31 36 2d 62 69 74 20 57 69 6e 64 6f 77 73 20 16-bit Windows daa0: 41 50 49 22 2e 20 20 59 65 74 20 74 68 65 0d 0a API". Yet the.. dab0: 09 20 2a 09 72 65 70 6c 61 63 65 6d 65 6e 74 73 . *.replacements dac0: 20 49 73 42 61 64 52 65 61 64 50 74 72 20 61 6e IsBadReadPtr an dad0: 64 20 49 73 42 61 64 57 72 69 74 65 50 74 72 20 d IsBadWritePtr dae0: 61 72 65 20 61 70 70 61 72 65 6e 74 6c 79 20 57 are apparently W daf0: 69 6e 32 30 30 30 2b 0d 0a 09 20 2a 09 6f 6e 6c in2000+... *.onl db00: 79 2e 20 20 57 68 65 72 65 27 73 20 74 68 65 20 y. Where's the db10: 6d 69 73 74 61 6b 65 3f 0d 0a 09 20 2a 2f 0d 0a mistake?... */.. db20: 09 42 4f 4f 4c 20 49 73 42 61 64 48 75 67 65 52 .BOOL IsBadHugeR db30: 65 61 64 50 74 72 28 50 43 56 4f 49 44 2c 20 55 eadPtr(PCVOID, U db40: 49 4e 54 5f 50 54 52 29 3b 0d 0a 09 42 4f 4f 4c INT_PTR);...BOOL db50: 20 49 73 42 61 64 48 75 67 65 57 72 69 74 65 50 IsBadHugeWriteP db60: 74 72 28 50 56 4f 49 44 2c 20 55 49 4e 54 5f 50 tr(PVOID, UINT_P db70: 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 49 73 42 61 TR);...BOOL IsBa db80: 64 52 65 61 64 50 74 72 28 50 43 56 4f 49 44 2c dReadPtr(PCVOID, db90: 20 55 49 4e 54 5f 50 54 52 29 3b 0d 0a 09 42 4f UINT_PTR);...BO dba0: 4f 4c 20 49 73 42 61 64 53 74 72 69 6e 67 50 74 OL IsBadStringPt dbb0: 72 41 28 4c 50 43 53 54 52 2c 20 55 49 4e 54 5f rA(LPCSTR, UINT_ dbc0: 50 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 49 73 42 PTR);...BOOL IsB dbd0: 61 64 53 74 72 69 6e 67 50 74 72 57 28 4c 50 43 adStringPtrW(LPC dbe0: 57 53 54 52 2c 20 55 49 4e 54 5f 50 54 52 29 3b WSTR, UINT_PTR); dbf0: 0d 0a 09 42 4f 4f 4c 20 49 73 42 61 64 57 72 69 ...BOOL IsBadWri dc00: 74 65 50 74 72 28 50 56 4f 49 44 2c 20 55 49 4e tePtr(PVOID, UIN dc10: 54 5f 50 54 52 29 3b 0d 0a 09 76 6f 69 64 20 4c T_PTR);...void L dc20: 65 61 76 65 43 72 69 74 69 63 61 6c 53 65 63 74 eaveCriticalSect dc30: 69 6f 6e 28 4c 50 43 52 49 54 49 43 41 4c 5f 53 ion(LPCRITICAL_S dc40: 45 43 54 49 4f 4e 29 3b 0d 0a 09 48 49 4e 53 54 ECTION);...HINST dc50: 41 4e 43 45 20 4c 6f 61 64 4c 69 62 72 61 72 79 ANCE LoadLibrary dc60: 41 28 4c 50 43 53 54 52 29 3b 0d 0a 09 48 49 4e A(LPCSTR);...HIN dc70: 53 54 41 4e 43 45 20 4c 6f 61 64 4c 69 62 72 61 STANCE LoadLibra dc80: 72 79 57 28 4c 50 43 57 53 54 52 29 3b 0d 0a 09 ryW(LPCWSTR);... dc90: 48 49 4e 53 54 41 4e 43 45 20 4c 6f 61 64 4c 69 HINSTANCE LoadLi dca0: 62 72 61 72 79 45 78 41 28 4c 50 43 53 54 52 2c braryExA(LPCSTR, dcb0: 20 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 29 3b HANDLE, DWORD); dcc0: 0d 0a 09 48 49 4e 53 54 41 4e 43 45 20 4c 6f 61 ...HINSTANCE Loa dcd0: 64 4c 69 62 72 61 72 79 45 78 57 28 4c 50 43 57 dLibraryExW(LPCW dce0: 53 54 52 2c 20 48 41 4e 44 4c 45 2c 20 44 57 4f STR, HANDLE, DWO dcf0: 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 4c 6f 61 RD);...DWORD Loa dd00: 64 4d 6f 64 75 6c 65 28 4c 50 43 53 54 52 2c 20 dModule(LPCSTR, dd10: 50 56 4f 49 44 29 3b 0d 0a 09 48 47 4c 4f 42 41 PVOID);...HGLOBA dd20: 4c 20 4c 6f 61 64 52 65 73 6f 75 72 63 65 28 48 L LoadResource(H dd30: 49 4e 53 54 41 4e 43 45 2c 20 48 52 53 52 43 29 INSTANCE, HRSRC) dd40: 3b 0d 0a 09 42 4f 4f 4c 20 4c 6f 63 61 6c 46 69 ;...BOOL LocalFi dd50: 6c 65 54 69 6d 65 54 6f 46 69 6c 65 54 69 6d 65 leTimeToFileTime dd60: 28 63 6f 6e 73 74 28 46 49 4c 45 54 49 4d 45 29 (const(FILETIME) dd70: 2a 2c 20 4c 50 46 49 4c 45 54 49 4d 45 29 3b 0d *, LPFILETIME);. dd80: 0a 09 42 4f 4f 4c 20 4c 6f 63 6b 46 69 6c 65 28 ..BOOL LockFile( dd90: 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 44 HANDLE, DWORD, D dda0: 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f WORD, DWORD, DWO ddb0: 52 44 29 3b 0d 0a 09 50 56 4f 49 44 20 4c 6f 63 RD);...PVOID Loc ddc0: 6b 52 65 73 6f 75 72 63 65 28 48 47 4c 4f 42 41 kResource(HGLOBA ddd0: 4c 29 3b 0d 0a 0d 0a 09 4c 50 53 54 52 20 6c 73 L);.....LPSTR ls dde0: 74 72 63 61 74 41 28 4c 50 53 54 52 2c 20 4c 50 trcatA(LPSTR, LP ddf0: 43 53 54 52 29 3b 0d 0a 09 4c 50 57 53 54 52 20 CSTR);...LPWSTR de00: 6c 73 74 72 63 61 74 57 28 4c 50 57 53 54 52 2c lstrcatW(LPWSTR, de10: 20 4c 50 43 57 53 54 52 29 3b 0d 0a 09 69 6e 74 LPCWSTR);...int de20: 20 6c 73 74 72 63 6d 70 41 28 4c 50 43 53 54 52 lstrcmpA(LPCSTR de30: 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 69 6e 74 , LPCSTR);...int de40: 20 6c 73 74 72 63 6d 70 69 41 28 4c 50 43 53 54 lstrcmpiA(LPCST de50: 52 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 69 6e R, LPCSTR);...in de60: 74 20 6c 73 74 72 63 6d 70 69 57 28 4c 50 43 57 t lstrcmpiW(LPCW de70: 53 54 52 2c 20 4c 50 43 57 53 54 52 29 3b 0d 0a STR, LPCWSTR);.. de80: 09 69 6e 74 20 6c 73 74 72 63 6d 70 57 28 4c 50 .int lstrcmpW(LP de90: 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 29 3b CWSTR, LPCWSTR); dea0: 0d 0a 09 4c 50 53 54 52 20 6c 73 74 72 63 70 79 ...LPSTR lstrcpy deb0: 41 28 4c 50 53 54 52 2c 20 4c 50 43 53 54 52 29 A(LPSTR, LPCSTR) dec0: 3b 0d 0a 09 4c 50 53 54 52 20 6c 73 74 72 63 70 ;...LPSTR lstrcp ded0: 79 6e 41 28 4c 50 53 54 52 2c 20 4c 50 43 53 54 ynA(LPSTR, LPCST dee0: 52 2c 20 69 6e 74 29 3b 0d 0a 09 4c 50 57 53 54 R, int);...LPWST def0: 52 20 6c 73 74 72 63 70 79 6e 57 28 4c 50 57 53 R lstrcpynW(LPWS df00: 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 69 6e 74 TR, LPCWSTR, int df10: 29 3b 0d 0a 09 4c 50 57 53 54 52 20 6c 73 74 72 );...LPWSTR lstr df20: 63 70 79 57 28 4c 50 57 53 54 52 2c 20 4c 50 43 cpyW(LPWSTR, LPC df30: 57 53 54 52 29 3b 0d 0a 09 69 6e 74 20 6c 73 74 WSTR);...int lst df40: 72 6c 65 6e 41 28 4c 50 43 53 54 52 29 3b 0d 0a rlenA(LPCSTR);.. df50: 09 69 6e 74 20 6c 73 74 72 6c 65 6e 57 28 4c 50 .int lstrlenW(LP df60: 43 57 53 54 52 29 3b 0d 0a 0d 0a 09 42 4f 4f 4c CWSTR);.....BOOL df70: 20 4d 6f 76 65 46 69 6c 65 41 28 4c 50 43 53 54 MoveFileA(LPCST df80: 52 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 42 4f R, LPCSTR);...BO df90: 4f 4c 20 4d 6f 76 65 46 69 6c 65 57 28 4c 50 43 OL MoveFileW(LPC dfa0: 57 53 54 52 2c 20 4c 50 43 57 53 54 52 29 3b 0d WSTR, LPCWSTR);. dfb0: 0a 09 69 6e 74 20 4d 75 6c 44 69 76 28 69 6e 74 ..int MulDiv(int dfc0: 2c 20 69 6e 74 2c 20 69 6e 74 29 3b 0d 0a 09 48 , int, int);...H dfd0: 41 4e 44 4c 45 20 4f 70 65 6e 45 76 65 6e 74 41 ANDLE OpenEventA dfe0: 28 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 4c 50 (DWORD, BOOL, LP dff0: 43 53 54 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 CSTR);...HANDLE e000: 4f 70 65 6e 45 76 65 6e 74 57 28 44 57 4f 52 44 OpenEventW(DWORD e010: 2c 20 42 4f 4f 4c 2c 20 4c 50 43 57 53 54 52 29 , BOOL, LPCWSTR) e020: 3b 0d 0a 09 64 65 70 72 65 63 61 74 65 64 20 48 ;...deprecated H e030: 46 49 4c 45 20 4f 70 65 6e 46 69 6c 65 28 4c 50 FILE OpenFile(LP e040: 43 53 54 52 2c 20 4c 50 4f 46 53 54 52 55 43 54 CSTR, LPOFSTRUCT e050: 2c 20 55 49 4e 54 29 3b 0d 0a 09 48 41 4e 44 4c , UINT);...HANDL e060: 45 20 4f 70 65 6e 4d 75 74 65 78 41 28 44 57 4f E OpenMutexA(DWO e070: 52 44 2c 20 42 4f 4f 4c 2c 20 4c 50 43 53 54 52 RD, BOOL, LPCSTR e080: 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 4f 70 65 6e );...HANDLE Open e090: 4d 75 74 65 78 57 28 44 57 4f 52 44 2c 20 42 4f MutexW(DWORD, BO e0a0: 4f 4c 2c 20 4c 50 43 57 53 54 52 29 3b 0d 0a 09 OL, LPCWSTR);... e0b0: 48 41 4e 44 4c 45 20 4f 70 65 6e 50 72 6f 63 65 HANDLE OpenProce e0c0: 73 73 28 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 ss(DWORD, BOOL, e0d0: 44 57 4f 52 44 29 3b 0d 0a 09 48 41 4e 44 4c 45 DWORD);...HANDLE e0e0: 20 4f 70 65 6e 53 65 6d 61 70 68 6f 72 65 41 28 OpenSemaphoreA( e0f0: 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 4c 50 43 DWORD, BOOL, LPC e100: 53 54 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 4f STR);...HANDLE O e110: 70 65 6e 53 65 6d 61 70 68 6f 72 65 57 28 44 57 penSemaphoreW(DW e120: 4f 52 44 2c 20 42 4f 4f 4c 2c 20 4c 50 43 57 53 ORD, BOOL, LPCWS e130: 54 52 29 3b 0d 0a 09 76 6f 69 64 20 4f 75 74 70 TR);...void Outp e140: 75 74 44 65 62 75 67 53 74 72 69 6e 67 41 28 4c utDebugStringA(L e150: 50 43 53 54 52 29 3b 0d 0a 09 76 6f 69 64 20 4f PCSTR);...void O e160: 75 74 70 75 74 44 65 62 75 67 53 74 72 69 6e 67 utputDebugString e170: 57 28 4c 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f W(LPCWSTR);...BO e180: 4f 4c 20 50 65 65 6b 4e 61 6d 65 64 50 69 70 65 OL PeekNamedPipe e190: 28 48 41 4e 44 4c 45 2c 20 50 56 4f 49 44 2c 20 (HANDLE, PVOID, e1a0: 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c 20 50 DWORD, PDWORD, P e1b0: 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 29 3b 0d DWORD, PDWORD);. e1c0: 0a 09 42 4f 4f 4c 20 50 75 6c 73 65 45 76 65 6e ..BOOL PulseEven e1d0: 74 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f t(HANDLE);...BOO e1e0: 4c 20 50 75 72 67 65 43 6f 6d 6d 28 48 41 4e 44 L PurgeComm(HAND e1f0: 4c 45 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f LE, DWORD);...BO e200: 4f 4c 20 51 75 65 72 79 50 65 72 66 6f 72 6d 61 OL QueryPerforma e210: 6e 63 65 43 6f 75 6e 74 65 72 28 50 4c 41 52 47 nceCounter(PLARG e220: 45 5f 49 4e 54 45 47 45 52 29 3b 0d 0a 09 42 4f E_INTEGER);...BO e230: 4f 4c 20 51 75 65 72 79 50 65 72 66 6f 72 6d 61 OL QueryPerforma e240: 6e 63 65 46 72 65 71 75 65 6e 63 79 28 50 4c 41 nceFrequency(PLA e250: 52 47 45 5f 49 4e 54 45 47 45 52 29 3b 0d 0a 09 RGE_INTEGER);... e260: 44 57 4f 52 44 20 51 75 65 75 65 55 73 65 72 41 DWORD QueueUserA e270: 50 43 28 50 41 50 43 46 55 4e 43 2c 20 48 41 4e PC(PAPCFUNC, HAN e280: 44 4c 45 2c 20 55 4c 4f 4e 47 5f 50 54 52 29 3b DLE, ULONG_PTR); e290: 0d 0a 09 76 6f 69 64 20 52 61 69 73 65 45 78 63 ...void RaiseExc e2a0: 65 70 74 69 6f 6e 28 44 57 4f 52 44 2c 20 44 57 eption(DWORD, DW e2b0: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 63 6f 6e 73 ORD, DWORD, cons e2c0: 74 28 44 57 4f 52 44 29 2a 29 3b 0d 0a 09 42 4f t(DWORD)*);...BO e2d0: 4f 4c 20 52 65 61 64 46 69 6c 65 28 48 41 4e 44 OL ReadFile(HAND e2e0: 4c 45 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 LE, PVOID, DWORD e2f0: 2c 20 50 44 57 4f 52 44 2c 20 4c 50 4f 56 45 52 , PDWORD, LPOVER e300: 4c 41 50 50 45 44 29 3b 0d 0a 09 42 4f 4f 4c 20 LAPPED);...BOOL e310: 52 65 61 64 46 69 6c 65 45 78 28 48 41 4e 44 4c ReadFileEx(HANDL e320: 45 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c E, PVOID, DWORD, e330: 20 4c 50 4f 56 45 52 4c 41 50 50 45 44 2c 20 4c LPOVERLAPPED, L e340: 50 4f 56 45 52 4c 41 50 50 45 44 5f 43 4f 4d 50 POVERLAPPED_COMP e350: 4c 45 54 49 4f 4e 5f 52 4f 55 54 49 4e 45 29 3b LETION_ROUTINE); e360: 0d 0a 09 42 4f 4f 4c 20 52 65 61 64 50 72 6f 63 ...BOOL ReadProc e370: 65 73 73 4d 65 6d 6f 72 79 28 48 41 4e 44 4c 45 essMemory(HANDLE e380: 2c 20 50 43 56 4f 49 44 2c 20 50 56 4f 49 44 2c , PCVOID, PVOID, e390: 20 53 49 5a 45 5f 54 2c 20 53 49 5a 45 5f 54 2a SIZE_T, SIZE_T* e3a0: 29 3b 0d 0a 09 42 4f 4f 4c 20 52 65 6c 65 61 73 );...BOOL Releas e3b0: 65 4d 75 74 65 78 28 48 41 4e 44 4c 45 29 3b 0d eMutex(HANDLE);. e3c0: 0a 09 42 4f 4f 4c 20 52 65 6c 65 61 73 65 53 65 ..BOOL ReleaseSe e3d0: 6d 61 70 68 6f 72 65 28 48 41 4e 44 4c 45 2c 20 maphore(HANDLE, e3e0: 4c 4f 4e 47 2c 20 4c 50 4c 4f 4e 47 29 3b 0d 0a LONG, LPLONG);.. e3f0: 09 42 4f 4f 4c 20 52 65 6d 6f 76 65 44 69 72 65 .BOOL RemoveDire e400: 63 74 6f 72 79 41 28 4c 50 43 53 54 52 29 3b 0d ctoryA(LPCSTR);. e410: 0a 09 42 4f 4f 4c 20 52 65 6d 6f 76 65 44 69 72 ..BOOL RemoveDir e420: 65 63 74 6f 72 79 57 28 4c 50 43 57 53 54 52 29 ectoryW(LPCWSTR) e430: 3b 0d 0a 2f 2a 20 49 6e 20 4d 69 6e 47 57 3a 0d ;../* In MinGW:. e440: 0a 23 69 66 64 65 66 20 5f 57 49 4e 33 32 5f 57 .#ifdef _WIN32_W e450: 43 45 0d 0a 65 78 74 65 72 6e 20 42 4f 4f 4c 20 CE..extern BOOL e460: 52 65 73 65 74 45 76 65 6e 74 28 48 41 4e 44 4c ResetEvent(HANDL e470: 45 29 3b 0d 0a 23 65 6c 73 65 0d 0a 57 49 4e 42 E);..#else..WINB e480: 41 53 45 41 50 49 20 42 4f 4f 4c 20 57 49 4e 41 ASEAPI BOOL WINA e490: 50 49 20 52 65 73 65 74 45 76 65 6e 74 28 48 41 PI ResetEvent(HA e4a0: 4e 44 4c 45 29 3b 0d 0a 23 65 6e 64 69 66 0d 0a NDLE);..#endif.. e4b0: 2a 2f 0d 0a 09 42 4f 4f 4c 20 52 65 73 65 74 45 */...BOOL ResetE e4c0: 76 65 6e 74 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 vent(HANDLE);... e4d0: 44 57 4f 52 44 20 52 65 73 75 6d 65 54 68 72 65 DWORD ResumeThre e4e0: 61 64 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 44 57 ad(HANDLE);...DW e4f0: 4f 52 44 20 53 65 61 72 63 68 50 61 74 68 41 28 ORD SearchPathA( e500: 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 LPCSTR, LPCSTR, e510: 4c 50 43 53 54 52 2c 20 44 57 4f 52 44 2c 20 4c LPCSTR, DWORD, L e520: 50 53 54 52 2c 20 4c 50 53 54 52 2a 29 3b 0d 0a PSTR, LPSTR*);.. e530: 09 44 57 4f 52 44 20 53 65 61 72 63 68 50 61 74 .DWORD SearchPat e540: 68 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 hW(LPCWSTR, LPCW e550: 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 44 57 STR, LPCWSTR, DW e560: 4f 52 44 2c 20 4c 50 57 53 54 52 2c 20 4c 50 57 ORD, LPWSTR, LPW e570: 53 54 52 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 STR*);...BOOL Se e580: 74 43 6f 6d 6d 42 72 65 61 6b 28 48 41 4e 44 4c tCommBreak(HANDL e590: 45 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 43 6f E);...BOOL SetCo e5a0: 6d 6d 43 6f 6e 66 69 67 28 48 41 4e 44 4c 45 2c mmConfig(HANDLE, e5b0: 20 4c 50 43 4f 4d 4d 43 4f 4e 46 49 47 2c 20 44 LPCOMMCONFIG, D e5c0: 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 WORD);...BOOL Se e5d0: 74 43 6f 6d 6d 4d 61 73 6b 28 48 41 4e 44 4c 45 tCommMask(HANDLE e5e0: 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c , DWORD);...BOOL e5f0: 20 53 65 74 43 6f 6d 6d 53 74 61 74 65 28 48 41 SetCommState(HA e600: 4e 44 4c 45 2c 20 4c 50 44 43 42 29 3b 0d 0a 09 NDLE, LPDCB);... e610: 42 4f 4f 4c 20 53 65 74 43 6f 6d 6d 54 69 6d 65 BOOL SetCommTime e620: 6f 75 74 73 28 48 41 4e 44 4c 45 2c 20 4c 50 43 outs(HANDLE, LPC e630: 4f 4d 4d 54 49 4d 45 4f 55 54 53 29 3b 0d 0a 09 OMMTIMEOUTS);... e640: 42 4f 4f 4c 20 53 65 74 43 6f 6d 70 75 74 65 72 BOOL SetComputer e650: 4e 61 6d 65 41 28 4c 50 43 53 54 52 29 3b 0d 0a NameA(LPCSTR);.. e660: 09 42 4f 4f 4c 20 53 65 74 43 6f 6d 70 75 74 65 .BOOL SetCompute e670: 72 4e 61 6d 65 57 28 4c 50 43 57 53 54 52 29 3b rNameW(LPCWSTR); e680: 0d 0a 09 42 4f 4f 4c 20 53 65 74 43 75 72 72 65 ...BOOL SetCurre e690: 6e 74 44 69 72 65 63 74 6f 72 79 41 28 4c 50 43 ntDirectoryA(LPC e6a0: 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 STR);...BOOL Set e6b0: 43 75 72 72 65 6e 74 44 69 72 65 63 74 6f 72 79 CurrentDirectory e6c0: 57 28 4c 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f W(LPCWSTR);...BO e6d0: 4f 4c 20 53 65 74 44 65 66 61 75 6c 74 43 6f 6d OL SetDefaultCom e6e0: 6d 43 6f 6e 66 69 67 41 28 4c 50 43 53 54 52 2c mConfigA(LPCSTR, e6f0: 20 4c 50 43 4f 4d 4d 43 4f 4e 46 49 47 2c 20 44 LPCOMMCONFIG, D e700: 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 WORD);...BOOL Se e710: 74 44 65 66 61 75 6c 74 43 6f 6d 6d 43 6f 6e 66 tDefaultCommConf e720: 69 67 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 igW(LPCWSTR, LPC e730: 4f 4d 4d 43 4f 4e 46 49 47 2c 20 44 57 4f 52 44 OMMCONFIG, DWORD e740: 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 45 6e 64 );...BOOL SetEnd e750: 4f 66 46 69 6c 65 28 48 41 4e 44 4c 45 29 3b 0d OfFile(HANDLE);. e760: 0a 09 42 4f 4f 4c 20 53 65 74 45 6e 76 69 72 6f ..BOOL SetEnviro e770: 6e 6d 65 6e 74 56 61 72 69 61 62 6c 65 41 28 4c nmentVariableA(L e780: 50 43 53 54 52 2c 20 4c 50 43 53 54 52 29 3b 0d PCSTR, LPCSTR);. e790: 0a 09 42 4f 4f 4c 20 53 65 74 45 6e 76 69 72 6f ..BOOL SetEnviro e7a0: 6e 6d 65 6e 74 56 61 72 69 61 62 6c 65 57 28 4c nmentVariableW(L e7b0: 50 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 29 PCWSTR, LPCWSTR) e7c0: 3b 0d 0a 09 55 49 4e 54 20 53 65 74 45 72 72 6f ;...UINT SetErro e7d0: 72 4d 6f 64 65 28 55 49 4e 54 29 3b 0d 0a 2f 2a rMode(UINT);../* e7e0: 20 49 6e 20 4d 69 6e 47 57 3a 0d 0a 23 69 66 64 In MinGW:..#ifd e7f0: 65 66 20 5f 57 49 4e 33 32 5f 57 43 45 0d 0a 65 ef _WIN32_WCE..e e800: 78 74 65 72 6e 20 42 4f 4f 4c 20 53 65 74 45 76 xtern BOOL SetEv e810: 65 6e 74 28 48 41 4e 44 4c 45 29 3b 0d 0a 23 65 ent(HANDLE);..#e e820: 6c 73 65 0d 0a 57 49 4e 42 41 53 45 41 50 49 20 lse..WINBASEAPI e830: 42 4f 4f 4c 20 57 49 4e 41 50 49 20 53 65 74 45 BOOL WINAPI SetE e840: 76 65 6e 74 28 48 41 4e 44 4c 45 29 3b 0d 0a 23 vent(HANDLE);..# e850: 65 6e 64 69 66 0d 0a 2a 2f 0d 0a 09 42 4f 4f 4c endif..*/...BOOL e860: 20 53 65 74 45 76 65 6e 74 28 48 41 4e 44 4c 45 SetEvent(HANDLE e870: 29 3b 0d 0a 09 56 4f 49 44 20 53 65 74 46 69 6c );...VOID SetFil e880: 65 41 70 69 73 54 6f 41 4e 53 49 28 29 3b 0d 0a eApisToANSI();.. e890: 09 56 4f 49 44 20 53 65 74 46 69 6c 65 41 70 69 .VOID SetFileApi e8a0: 73 54 6f 4f 45 4d 28 29 3b 0d 0a 09 42 4f 4f 4c sToOEM();...BOOL e8b0: 20 53 65 74 46 69 6c 65 41 74 74 72 69 62 75 74 SetFileAttribut e8c0: 65 73 41 28 4c 50 43 53 54 52 2c 20 44 57 4f 52 esA(LPCSTR, DWOR e8d0: 44 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 46 69 D);...BOOL SetFi e8e0: 6c 65 41 74 74 72 69 62 75 74 65 73 57 28 4c 50 leAttributesW(LP e8f0: 43 57 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a CWSTR, DWORD);.. e900: 09 44 57 4f 52 44 20 53 65 74 46 69 6c 65 50 6f .DWORD SetFilePo e910: 69 6e 74 65 72 28 48 41 4e 44 4c 45 2c 20 4c 4f inter(HANDLE, LO e920: 4e 47 2c 20 50 4c 4f 4e 47 2c 20 44 57 4f 52 44 NG, PLONG, DWORD e930: 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 46 69 6c );...BOOL SetFil e940: 65 54 69 6d 65 28 48 41 4e 44 4c 45 2c 20 63 6f eTime(HANDLE, co e950: 6e 73 74 28 46 49 4c 45 54 49 4d 45 29 2a 2c 20 nst(FILETIME)*, e960: 63 6f 6e 73 74 28 46 49 4c 45 54 49 4d 45 29 2a const(FILETIME)* e970: 2c 20 63 6f 6e 73 74 28 46 49 4c 45 54 49 4d 45 , const(FILETIME e980: 29 2a 29 3b 0d 0a 09 64 65 70 72 65 63 61 74 65 )*);...deprecate e990: 64 20 55 49 4e 54 20 53 65 74 48 61 6e 64 6c 65 d UINT SetHandle e9a0: 43 6f 75 6e 74 28 55 49 4e 54 29 3b 0d 0a 09 76 Count(UINT);...v e9b0: 6f 69 64 20 53 65 74 4c 61 73 74 45 72 72 6f 72 oid SetLastError e9c0: 28 44 57 4f 52 44 29 3b 0d 0a 09 76 6f 69 64 20 (DWORD);...void e9d0: 53 65 74 4c 61 73 74 45 72 72 6f 72 45 78 28 44 SetLastErrorEx(D e9e0: 57 4f 52 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 WORD, DWORD);... e9f0: 42 4f 4f 4c 20 53 65 74 4c 6f 63 61 6c 54 69 6d BOOL SetLocalTim ea00: 65 28 63 6f 6e 73 74 28 53 59 53 54 45 4d 54 49 e(const(SYSTEMTI ea10: 4d 45 29 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 ME)*);...BOOL Se ea20: 74 4d 61 69 6c 73 6c 6f 74 49 6e 66 6f 28 48 41 tMailslotInfo(HA ea30: 4e 44 4c 45 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 NDLE, DWORD);... ea40: 42 4f 4f 4c 20 53 65 74 4e 61 6d 65 64 50 69 70 BOOL SetNamedPip ea50: 65 48 61 6e 64 6c 65 53 74 61 74 65 28 48 41 4e eHandleState(HAN ea60: 44 4c 45 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 DLE, PDWORD, PDW ea70: 4f 52 44 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 ORD, PDWORD);... ea80: 42 4f 4f 4c 20 53 65 74 50 72 69 6f 72 69 74 79 BOOL SetPriority ea90: 43 6c 61 73 73 28 48 41 4e 44 4c 45 2c 20 44 57 Class(HANDLE, DW eaa0: 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 ORD);...BOOL Set eab0: 53 74 64 48 61 6e 64 6c 65 28 44 57 4f 52 44 2c StdHandle(DWORD, eac0: 20 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c HANDLE);...BOOL ead0: 20 53 65 74 53 79 73 74 65 6d 54 69 6d 65 28 63 SetSystemTime(c eae0: 6f 6e 73 74 28 53 59 53 54 45 4d 54 49 4d 45 29 onst(SYSTEMTIME) eaf0: 2a 29 3b 0d 0a 09 44 57 4f 52 44 20 53 65 74 54 *);...DWORD SetT eb00: 68 72 65 61 64 41 66 66 69 6e 69 74 79 4d 61 73 hreadAffinityMas eb10: 6b 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 29 k(HANDLE, DWORD) eb20: 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 54 68 72 65 ;...BOOL SetThre eb30: 61 64 43 6f 6e 74 65 78 74 28 48 41 4e 44 4c 45 adContext(HANDLE eb40: 2c 20 63 6f 6e 73 74 28 43 4f 4e 54 45 58 54 29 , const(CONTEXT) eb50: 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 54 68 *);...BOOL SetTh eb60: 72 65 61 64 50 72 69 6f 72 69 74 79 28 48 41 4e readPriority(HAN eb70: 44 4c 45 2c 20 69 6e 74 29 3b 0d 0a 09 42 4f 4f DLE, int);...BOO eb80: 4c 20 53 65 74 54 69 6d 65 5a 6f 6e 65 49 6e 66 L SetTimeZoneInf eb90: 6f 72 6d 61 74 69 6f 6e 28 63 6f 6e 73 74 28 54 ormation(const(T eba0: 49 4d 45 5f 5a 4f 4e 45 5f 49 4e 46 4f 52 4d 41 IME_ZONE_INFORMA ebb0: 54 49 4f 4e 29 2a 29 3b 0d 0a 09 4c 50 54 4f 50 TION)*);...LPTOP ebc0: 5f 4c 45 56 45 4c 5f 45 58 43 45 50 54 49 4f 4e _LEVEL_EXCEPTION ebd0: 5f 46 49 4c 54 45 52 20 53 65 74 55 6e 68 61 6e _FILTER SetUnhan ebe0: 64 6c 65 64 45 78 63 65 70 74 69 6f 6e 46 69 6c dledExceptionFil ebf0: 74 65 72 28 4c 50 54 4f 50 5f 4c 45 56 45 4c 5f ter(LPTOP_LEVEL_ ec00: 45 58 43 45 50 54 49 4f 4e 5f 46 49 4c 54 45 52 EXCEPTION_FILTER ec10: 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 75 70 43 );...BOOL SetupC ec20: 6f 6d 6d 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 omm(HANDLE, DWOR ec30: 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f D, DWORD);...BOO ec40: 4c 20 53 65 74 56 6f 6c 75 6d 65 4c 61 62 65 6c L SetVolumeLabel ec50: 41 28 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 A(LPCSTR, LPCSTR ec60: 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 56 6f 6c );...BOOL SetVol ec70: 75 6d 65 4c 61 62 65 6c 57 28 4c 50 43 57 53 54 umeLabelW(LPCWST ec80: 52 2c 20 4c 50 43 57 53 54 52 29 3b 0d 0a 0d 0a R, LPCWSTR);.... ec90: 09 44 57 4f 52 44 20 53 69 7a 65 6f 66 52 65 73 .DWORD SizeofRes eca0: 6f 75 72 63 65 28 48 49 4e 53 54 41 4e 43 45 2c ource(HINSTANCE, ecb0: 20 48 52 53 52 43 29 3b 0d 0a 09 76 6f 69 64 20 HRSRC);...void ecc0: 53 6c 65 65 70 28 44 57 4f 52 44 29 3b 0d 0a 09 Sleep(DWORD);... ecd0: 44 57 4f 52 44 20 53 6c 65 65 70 45 78 28 44 57 DWORD SleepEx(DW ece0: 4f 52 44 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 44 57 ORD, BOOL);...DW ecf0: 4f 52 44 20 53 75 73 70 65 6e 64 54 68 72 65 61 ORD SuspendThrea ed00: 64 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f d(HANDLE);...BOO ed10: 4c 20 53 79 73 74 65 6d 54 69 6d 65 54 6f 46 69 L SystemTimeToFi ed20: 6c 65 54 69 6d 65 28 63 6f 6e 73 74 28 53 59 53 leTime(const(SYS ed30: 54 45 4d 54 49 4d 45 29 2a 2c 20 4c 50 46 49 4c TEMTIME)*, LPFIL ed40: 45 54 49 4d 45 29 3b 0d 0a 09 42 4f 4f 4c 20 54 ETIME);...BOOL T ed50: 65 72 6d 69 6e 61 74 65 50 72 6f 63 65 73 73 28 erminateProcess( ed60: 48 41 4e 44 4c 45 2c 20 55 49 4e 54 29 3b 0d 0a HANDLE, UINT);.. ed70: 09 42 4f 4f 4c 20 54 65 72 6d 69 6e 61 74 65 54 .BOOL TerminateT ed80: 68 72 65 61 64 28 48 41 4e 44 4c 45 2c 20 44 57 hread(HANDLE, DW ed90: 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 54 6c ORD);...DWORD Tl eda0: 73 41 6c 6c 6f 63 28 29 3b 0d 0a 09 42 4f 4f 4c sAlloc();...BOOL edb0: 20 54 6c 73 46 72 65 65 28 44 57 4f 52 44 29 3b TlsFree(DWORD); edc0: 0d 0a 09 50 56 4f 49 44 20 54 6c 73 47 65 74 56 ...PVOID TlsGetV edd0: 61 6c 75 65 28 44 57 4f 52 44 29 3b 0d 0a 09 42 alue(DWORD);...B ede0: 4f 4f 4c 20 54 6c 73 53 65 74 56 61 6c 75 65 28 OOL TlsSetValue( edf0: 44 57 4f 52 44 2c 20 50 56 4f 49 44 29 3b 0d 0a DWORD, PVOID);.. ee00: 09 42 4f 4f 4c 20 54 72 61 6e 73 61 63 74 4e 61 .BOOL TransactNa ee10: 6d 65 64 50 69 70 65 28 48 41 4e 44 4c 45 2c 20 medPipe(HANDLE, ee20: 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 50 56 PVOID, DWORD, PV ee30: 4f 49 44 2c 20 44 57 4f 52 44 2c 20 50 44 57 4f OID, DWORD, PDWO ee40: 52 44 2c 20 4c 50 4f 56 45 52 4c 41 50 50 45 44 RD, LPOVERLAPPED ee50: 29 3b 0d 0a 09 42 4f 4f 4c 20 54 72 61 6e 73 6d );...BOOL Transm ee60: 69 74 43 6f 6d 6d 43 68 61 72 28 48 41 4e 44 4c itCommChar(HANDL ee70: 45 2c 20 63 68 61 72 29 3b 0d 0a 09 4c 4f 4e 47 E, char);...LONG ee80: 20 55 6e 68 61 6e 64 6c 65 64 45 78 63 65 70 74 UnhandledExcept ee90: 69 6f 6e 46 69 6c 74 65 72 28 4c 50 45 58 43 45 ionFilter(LPEXCE eea0: 50 54 49 4f 4e 5f 50 4f 49 4e 54 45 52 53 29 3b PTION_POINTERS); eeb0: 0d 0a 09 42 4f 4f 4c 20 55 6e 6c 6f 63 6b 46 69 ...BOOL UnlockFi eec0: 6c 65 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 le(HANDLE, DWORD eed0: 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 , DWORD, DWORD, eee0: 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 57 DWORD);...BOOL W eef0: 61 69 74 43 6f 6d 6d 45 76 65 6e 74 28 48 41 4e aitCommEvent(HAN ef00: 44 4c 45 2c 20 50 44 57 4f 52 44 2c 20 4c 50 4f DLE, PDWORD, LPO ef10: 56 45 52 4c 41 50 50 45 44 29 3b 0d 0a 09 42 4f VERLAPPED);...BO ef20: 4f 4c 20 57 61 69 74 46 6f 72 44 65 62 75 67 45 OL WaitForDebugE ef30: 76 65 6e 74 28 4c 50 44 45 42 55 47 5f 45 56 45 vent(LPDEBUG_EVE ef40: 4e 54 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 44 57 NT, DWORD);...DW ef50: 4f 52 44 20 57 61 69 74 46 6f 72 4d 75 6c 74 69 ORD WaitForMulti ef60: 70 6c 65 4f 62 6a 65 63 74 73 28 44 57 4f 52 44 pleObjects(DWORD ef70: 2c 20 63 6f 6e 73 74 28 48 41 4e 44 4c 45 29 2a , const(HANDLE)* ef80: 2c 20 42 4f 4f 4c 2c 20 44 57 4f 52 44 29 3b 0d , BOOL, DWORD);. ef90: 0a 09 44 57 4f 52 44 20 57 61 69 74 46 6f 72 4d ..DWORD WaitForM efa0: 75 6c 74 69 70 6c 65 4f 62 6a 65 63 74 73 45 78 ultipleObjectsEx efb0: 28 44 57 4f 52 44 2c 20 63 6f 6e 73 74 28 48 41 (DWORD, const(HA efc0: 4e 44 4c 45 29 2a 2c 20 42 4f 4f 4c 2c 20 44 57 NDLE)*, BOOL, DW efd0: 4f 52 44 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 44 57 ORD, BOOL);...DW efe0: 4f 52 44 20 57 61 69 74 46 6f 72 53 69 6e 67 6c ORD WaitForSingl eff0: 65 4f 62 6a 65 63 74 28 48 41 4e 44 4c 45 2c 20 eObject(HANDLE, f000: 44 57 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 DWORD);...DWORD f010: 57 61 69 74 46 6f 72 53 69 6e 67 6c 65 4f 62 6a WaitForSingleObj f020: 65 63 74 45 78 28 48 41 4e 44 4c 45 2c 20 44 57 ectEx(HANDLE, DW f030: 4f 52 44 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 42 4f ORD, BOOL);...BO f040: 4f 4c 20 57 61 69 74 4e 61 6d 65 64 50 69 70 65 OL WaitNamedPipe f050: 41 28 4c 50 43 53 54 52 2c 20 44 57 4f 52 44 29 A(LPCSTR, DWORD) f060: 3b 0d 0a 09 42 4f 4f 4c 20 57 61 69 74 4e 61 6d ;...BOOL WaitNam f070: 65 64 50 69 70 65 57 28 4c 50 43 57 53 54 52 2c edPipeW(LPCWSTR, f080: 20 44 57 4f 52 44 29 3b 0d 0a 09 2f 2f 20 75 6e DWORD);...// un f090: 64 6f 63 75 6d 65 6e 74 65 64 20 6f 6e 20 4d 53 documented on MS f0a0: 44 4e 0d 0a 09 42 4f 4f 4c 20 57 69 6e 4c 6f 61 DN...BOOL WinLoa f0b0: 64 54 72 75 73 74 50 72 6f 76 69 64 65 72 28 47 dTrustProvider(G f0c0: 55 49 44 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 57 72 UID*);...BOOL Wr f0d0: 69 74 65 46 69 6c 65 28 48 41 4e 44 4c 45 2c 20 iteFile(HANDLE, f0e0: 50 43 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 50 PCVOID, DWORD, P f0f0: 44 57 4f 52 44 2c 20 4c 50 4f 56 45 52 4c 41 50 DWORD, LPOVERLAP f100: 50 45 44 29 3b 0d 0a 09 42 4f 4f 4c 20 57 72 69 PED);...BOOL Wri f110: 74 65 46 69 6c 65 45 78 28 48 41 4e 44 4c 45 2c teFileEx(HANDLE, f120: 20 50 43 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 PCVOID, DWORD, f130: 4c 50 4f 56 45 52 4c 41 50 50 45 44 2c 20 4c 50 LPOVERLAPPED, LP f140: 4f 56 45 52 4c 41 50 50 45 44 5f 43 4f 4d 50 4c OVERLAPPED_COMPL f150: 45 54 49 4f 4e 5f 52 4f 55 54 49 4e 45 29 3b 0d ETION_ROUTINE);. f160: 0a 09 42 4f 4f 4c 20 57 72 69 74 65 50 72 69 76 ..BOOL WritePriv f170: 61 74 65 50 72 6f 66 69 6c 65 53 65 63 74 69 6f ateProfileSectio f180: 6e 41 28 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 nA(LPCSTR, LPCST f190: 52 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 42 4f R, LPCSTR);...BO f1a0: 4f 4c 20 57 72 69 74 65 50 72 69 76 61 74 65 50 OL WritePrivateP f1b0: 72 6f 66 69 6c 65 53 65 63 74 69 6f 6e 57 28 4c rofileSectionW(L f1c0: 50 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c PCWSTR, LPCWSTR, f1d0: 20 4c 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f 4f LPCWSTR);...BOO f1e0: 4c 20 57 72 69 74 65 50 72 69 76 61 74 65 50 72 L WritePrivatePr f1f0: 6f 66 69 6c 65 53 74 72 69 6e 67 41 28 4c 50 43 ofileStringA(LPC f200: 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 4c 50 43 STR, LPCSTR, LPC f210: 53 54 52 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 STR, LPCSTR);... f220: 42 4f 4f 4c 20 57 72 69 74 65 50 72 69 76 61 74 BOOL WritePrivat f230: 65 50 72 6f 66 69 6c 65 53 74 72 69 6e 67 57 28 eProfileStringW( f240: 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 LPCWSTR, LPCWSTR f250: 2c 20 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 , LPCWSTR, LPCWS f260: 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 57 72 69 74 TR);...BOOL Writ f270: 65 50 72 69 76 61 74 65 50 72 6f 66 69 6c 65 53 ePrivateProfileS f280: 74 72 75 63 74 41 28 4c 50 43 53 54 52 2c 20 4c tructA(LPCSTR, L f290: 50 43 53 54 52 2c 20 4c 50 56 4f 49 44 2c 20 55 PCSTR, LPVOID, U f2a0: 49 4e 54 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 INT, LPCSTR);... f2b0: 42 4f 4f 4c 20 57 72 69 74 65 50 72 69 76 61 74 BOOL WritePrivat f2c0: 65 50 72 6f 66 69 6c 65 53 74 72 75 63 74 57 28 eProfileStructW( f2d0: 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 LPCWSTR, LPCWSTR f2e0: 2c 20 4c 50 56 4f 49 44 2c 20 55 49 4e 54 2c 20 , LPVOID, UINT, f2f0: 4c 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c LPCWSTR);...BOOL f300: 20 57 72 69 74 65 50 72 6f 63 65 73 73 4d 65 6d WriteProcessMem f310: 6f 72 79 28 48 41 4e 44 4c 45 2c 20 4c 50 56 4f ory(HANDLE, LPVO f320: 49 44 2c 20 4c 50 43 56 4f 49 44 2c 20 53 49 5a ID, LPCVOID, SIZ f330: 45 5f 54 2c 20 53 49 5a 45 5f 54 2a 29 3b 0d 0a E_T, SIZE_T*);.. f340: 09 42 4f 4f 4c 20 57 72 69 74 65 50 72 6f 66 69 .BOOL WriteProfi f350: 6c 65 53 65 63 74 69 6f 6e 41 28 4c 50 43 53 54 leSectionA(LPCST f360: 52 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 42 4f R, LPCSTR);...BO f370: 4f 4c 20 57 72 69 74 65 50 72 6f 66 69 6c 65 53 OL WriteProfileS f380: 65 63 74 69 6f 6e 57 28 4c 50 43 57 53 54 52 2c ectionW(LPCWSTR, f390: 20 4c 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f 4f LPCWSTR);...BOO f3a0: 4c 20 57 72 69 74 65 50 72 6f 66 69 6c 65 53 74 L WriteProfileSt f3b0: 72 69 6e 67 41 28 4c 50 43 53 54 52 2c 20 4c 50 ringA(LPCSTR, LP f3c0: 43 53 54 52 2c 20 4c 50 43 53 54 52 29 3b 0d 0a CSTR, LPCSTR);.. f3d0: 09 42 4f 4f 4c 20 57 72 69 74 65 50 72 6f 66 69 .BOOL WriteProfi f3e0: 6c 65 53 74 72 69 6e 67 57 28 4c 50 43 57 53 54 leStringW(LPCWST f3f0: 52 2c 20 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 R, LPCWSTR, LPCW f400: 53 54 52 29 3b 0d 0a 0d 0a 09 2f 2a 09 4d 65 6d STR);...../*.Mem f410: 6f 72 79 20 61 6c 6c 6f 63 61 74 69 6f 6e 20 66 ory allocation f f420: 75 6e 63 74 69 6f 6e 73 2e 0d 0a 09 20 2a 09 4d unctions.... *.M f430: 53 44 4e 20 64 6f 63 75 6d 65 6e 74 73 20 74 68 SDN documents th f440: 65 73 65 20 65 72 72 6f 6e 65 6f 75 73 6c 79 20 ese erroneously f450: 61 73 20 57 69 6e 32 30 30 30 2b 3b 20 74 68 75 as Win2000+; thu f460: 73 20 69 74 20 69 73 20 75 6e 63 65 72 74 61 69 s it is uncertai f470: 6e 20 77 68 61 74 0d 0a 09 20 2a 09 76 65 72 73 n what... *.vers f480: 69 6f 6e 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 ion compatibilit f490: 79 20 74 68 65 79 20 72 65 61 6c 6c 79 20 68 61 y they really ha f4a0: 76 65 2e 0d 0a 09 20 2a 2f 0d 0a 09 48 47 4c 4f ve.... */...HGLO f4b0: 42 41 4c 20 47 6c 6f 62 61 6c 41 6c 6c 6f 63 28 BAL GlobalAlloc( f4c0: 55 49 4e 54 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 UINT, DWORD);... f4d0: 48 47 4c 4f 42 41 4c 20 47 6c 6f 62 61 6c 44 69 HGLOBAL GlobalDi f4e0: 73 63 61 72 64 28 48 47 4c 4f 42 41 4c 29 3b 0d scard(HGLOBAL);. f4f0: 0a 09 48 47 4c 4f 42 41 4c 20 47 6c 6f 62 61 6c ..HGLOBAL Global f500: 46 72 65 65 28 48 47 4c 4f 42 41 4c 29 3b 0d 0a Free(HGLOBAL);.. f510: 09 48 47 4c 4f 42 41 4c 20 47 6c 6f 62 61 6c 48 .HGLOBAL GlobalH f520: 61 6e 64 6c 65 28 50 43 56 4f 49 44 29 3b 0d 0a andle(PCVOID);.. f530: 09 4c 50 56 4f 49 44 20 47 6c 6f 62 61 6c 4c 6f .LPVOID GlobalLo f540: 63 6b 28 48 47 4c 4f 42 41 4c 29 3b 0d 0a 09 56 ck(HGLOBAL);...V f550: 4f 49 44 20 47 6c 6f 62 61 6c 4d 65 6d 6f 72 79 OID GlobalMemory f560: 53 74 61 74 75 73 28 4c 50 4d 45 4d 4f 52 59 53 Status(LPMEMORYS f570: 54 41 54 55 53 29 3b 0d 0a 09 48 47 4c 4f 42 41 TATUS);...HGLOBA f580: 4c 20 47 6c 6f 62 61 6c 52 65 41 6c 6c 6f 63 28 L GlobalReAlloc( f590: 48 47 4c 4f 42 41 4c 2c 20 44 57 4f 52 44 2c 20 HGLOBAL, DWORD, f5a0: 55 49 4e 54 29 3b 0d 0a 09 44 57 4f 52 44 20 47 UINT);...DWORD G f5b0: 6c 6f 62 61 6c 53 69 7a 65 28 48 47 4c 4f 42 41 lobalSize(HGLOBA f5c0: 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 47 6c 6f 62 61 L);...BOOL Globa f5d0: 6c 55 6e 6c 6f 63 6b 28 48 47 4c 4f 42 41 4c 29 lUnlock(HGLOBAL) f5e0: 3b 0d 0a 09 50 56 4f 49 44 20 48 65 61 70 41 6c ;...PVOID HeapAl f5f0: 6c 6f 63 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 loc(HANDLE, DWOR f600: 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 53 49 5a D, DWORD);...SIZ f610: 45 5f 54 20 48 65 61 70 43 6f 6d 70 61 63 74 28 E_T HeapCompact( f620: 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 29 3b 0d HANDLE, DWORD);. f630: 0a 09 48 41 4e 44 4c 45 20 48 65 61 70 43 72 65 ..HANDLE HeapCre f640: 61 74 65 28 44 57 4f 52 44 2c 20 44 57 4f 52 44 ate(DWORD, DWORD f650: 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c , DWORD);...BOOL f660: 20 48 65 61 70 44 65 73 74 72 6f 79 28 48 41 4e HeapDestroy(HAN f670: 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c 20 48 65 61 DLE);...BOOL Hea f680: 70 46 72 65 65 28 48 41 4e 44 4c 45 2c 20 44 57 pFree(HANDLE, DW f690: 4f 52 44 2c 20 50 56 4f 49 44 29 3b 0d 0a 09 42 ORD, PVOID);...B f6a0: 4f 4f 4c 20 48 65 61 70 4c 6f 63 6b 28 48 41 4e OOL HeapLock(HAN f6b0: 44 4c 45 29 3b 0d 0a 09 50 56 4f 49 44 20 48 65 DLE);...PVOID He f6c0: 61 70 52 65 41 6c 6c 6f 63 28 48 41 4e 44 4c 45 apReAlloc(HANDLE f6d0: 2c 20 44 57 4f 52 44 2c 20 50 56 4f 49 44 2c 20 , DWORD, PVOID, f6e0: 44 57 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 DWORD);...DWORD f6f0: 48 65 61 70 53 69 7a 65 28 48 41 4e 44 4c 45 2c HeapSize(HANDLE, f700: 20 44 57 4f 52 44 2c 20 50 43 56 4f 49 44 29 3b DWORD, PCVOID); f710: 0d 0a 09 42 4f 4f 4c 20 48 65 61 70 55 6e 6c 6f ...BOOL HeapUnlo f720: 63 6b 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f ck(HANDLE);...BO f730: 4f 4c 20 48 65 61 70 56 61 6c 69 64 61 74 65 28 OL HeapValidate( f740: 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 50 HANDLE, DWORD, P f750: 43 56 4f 49 44 29 3b 0d 0a 09 42 4f 4f 4c 20 48 CVOID);...BOOL H f760: 65 61 70 57 61 6c 6b 28 48 41 4e 44 4c 45 2c 20 eapWalk(HANDLE, f770: 4c 50 50 52 4f 43 45 53 53 5f 48 45 41 50 5f 45 LPPROCESS_HEAP_E f780: 4e 54 52 59 29 3b 0d 0a 09 48 4c 4f 43 41 4c 20 NTRY);...HLOCAL f790: 4c 6f 63 61 6c 41 6c 6c 6f 63 28 55 49 4e 54 2c LocalAlloc(UINT, f7a0: 20 53 49 5a 45 5f 54 29 3b 0d 0a 09 48 4c 4f 43 SIZE_T);...HLOC f7b0: 41 4c 20 4c 6f 63 61 6c 44 69 73 63 61 72 64 28 AL LocalDiscard( f7c0: 48 4c 4f 43 41 4c 29 3b 0d 0a 09 48 4c 4f 43 41 HLOCAL);...HLOCA f7d0: 4c 20 4c 6f 63 61 6c 46 72 65 65 28 48 4c 4f 43 L LocalFree(HLOC f7e0: 41 4c 29 3b 0d 0a 09 48 4c 4f 43 41 4c 20 4c 6f AL);...HLOCAL Lo f7f0: 63 61 6c 48 61 6e 64 6c 65 28 4c 50 43 56 4f 49 calHandle(LPCVOI f800: 44 29 3b 0d 0a 09 50 56 4f 49 44 20 4c 6f 63 61 D);...PVOID Loca f810: 6c 4c 6f 63 6b 28 48 4c 4f 43 41 4c 29 3b 0d 0a lLock(HLOCAL);.. f820: 09 48 4c 4f 43 41 4c 20 4c 6f 63 61 6c 52 65 41 .HLOCAL LocalReA f830: 6c 6c 6f 63 28 48 4c 4f 43 41 4c 2c 20 53 49 5a lloc(HLOCAL, SIZ f840: 45 5f 54 2c 20 55 49 4e 54 29 3b 0d 0a 09 55 49 E_T, UINT);...UI f850: 4e 54 20 4c 6f 63 61 6c 53 69 7a 65 28 48 4c 4f NT LocalSize(HLO f860: 43 41 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 4c 6f 63 CAL);...BOOL Loc f870: 61 6c 55 6e 6c 6f 63 6b 28 48 4c 4f 43 41 4c 29 alUnlock(HLOCAL) f880: 3b 0d 0a 09 50 56 4f 49 44 20 56 69 72 74 75 61 ;...PVOID Virtua f890: 6c 41 6c 6c 6f 63 28 50 56 4f 49 44 2c 20 44 57 lAlloc(PVOID, DW f8a0: 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 ORD, DWORD, DWOR f8b0: 44 29 3b 0d 0a 09 50 56 4f 49 44 20 56 69 72 74 D);...PVOID Virt f8c0: 75 61 6c 41 6c 6c 6f 63 45 78 28 48 41 4e 44 4c ualAllocEx(HANDL f8d0: 45 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c E, PVOID, DWORD, f8e0: 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 3b 0d DWORD, DWORD);. f8f0: 0a 09 42 4f 4f 4c 20 56 69 72 74 75 61 6c 46 72 ..BOOL VirtualFr f900: 65 65 28 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c ee(PVOID, DWORD, f910: 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 DWORD);...BOOL f920: 56 69 72 74 75 61 6c 46 72 65 65 45 78 28 48 41 VirtualFreeEx(HA f930: 4e 44 4c 45 2c 20 50 56 4f 49 44 2c 20 44 57 4f NDLE, PVOID, DWO f940: 52 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f RD, DWORD);...BO f950: 4f 4c 20 56 69 72 74 75 61 6c 4c 6f 63 6b 28 50 OL VirtualLock(P f960: 56 4f 49 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 VOID, DWORD);... f970: 42 4f 4f 4c 20 56 69 72 74 75 61 6c 50 72 6f 74 BOOL VirtualProt f980: 65 63 74 28 50 56 4f 49 44 2c 20 44 57 4f 52 44 ect(PVOID, DWORD f990: 2c 20 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 29 , DWORD, PDWORD) f9a0: 3b 0d 0a 09 42 4f 4f 4c 20 56 69 72 74 75 61 6c ;...BOOL Virtual f9b0: 50 72 6f 74 65 63 74 45 78 28 48 41 4e 44 4c 45 ProtectEx(HANDLE f9c0: 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 , PVOID, DWORD, f9d0: 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 29 3b 0d DWORD, PDWORD);. f9e0: 0a 09 44 57 4f 52 44 20 56 69 72 74 75 61 6c 51 ..DWORD VirtualQ f9f0: 75 65 72 79 28 4c 50 43 56 4f 49 44 2c 20 50 4d uery(LPCVOID, PM fa00: 45 4d 4f 52 59 5f 42 41 53 49 43 5f 49 4e 46 4f EMORY_BASIC_INFO fa10: 52 4d 41 54 49 4f 4e 2c 20 44 57 4f 52 44 29 3b RMATION, DWORD); fa20: 0d 0a 09 44 57 4f 52 44 20 56 69 72 74 75 61 6c ...DWORD Virtual fa30: 51 75 65 72 79 45 78 28 48 41 4e 44 4c 45 2c 20 QueryEx(HANDLE, fa40: 4c 50 43 56 4f 49 44 2c 20 50 4d 45 4d 4f 52 59 LPCVOID, PMEMORY fa50: 5f 42 41 53 49 43 5f 49 4e 46 4f 52 4d 41 54 49 _BASIC_INFORMATI fa60: 4f 4e 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f ON, DWORD);...BO fa70: 4f 4c 20 56 69 72 74 75 61 6c 55 6e 6c 6f 63 6b OL VirtualUnlock fa80: 28 50 56 4f 49 44 2c 20 44 57 4f 52 44 29 3b 0d (PVOID, DWORD);. fa90: 0a 2f 2f 20 6e 6f 74 20 69 6e 20 4d 69 6e 47 57 .// not in MinGW faa0: 20 34 2e 30 20 2d 20 3f 3f 3f 0d 0a 09 73 74 61 4.0 - ???...sta fab0: 74 69 63 20 69 66 20 28 5f 57 49 4e 33 32 5f 57 tic if (_WIN32_W fac0: 49 4e 4e 54 20 3e 3d 20 30 78 36 30 30 29 20 7b INNT >= 0x600) { fad0: 0d 0a 09 09 42 4f 4f 4c 20 43 61 6e 63 65 6c 49 ....BOOL CancelI fae0: 6f 45 78 28 48 41 4e 44 4c 45 2c 20 4c 50 4f 56 oEx(HANDLE, LPOV faf0: 45 52 4c 41 50 50 45 44 29 3b 0d 0a 09 7d 0d 0a ERLAPPED);...}.. fb00: 0d 0a 09 42 4f 4f 4c 20 43 61 6e 63 65 6c 49 6f ...BOOL CancelIo fb10: 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c (HANDLE);...BOOL fb20: 20 43 61 6e 63 65 6c 57 61 69 74 61 62 6c 65 54 CancelWaitableT fb30: 69 6d 65 72 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 imer(HANDLE);... fb40: 50 56 4f 49 44 20 43 6f 6e 76 65 72 74 54 68 72 PVOID ConvertThr fb50: 65 61 64 54 6f 46 69 62 65 72 28 50 56 4f 49 44 eadToFiber(PVOID fb60: 29 3b 0d 0a 09 4c 50 56 4f 49 44 20 43 72 65 61 );...LPVOID Crea fb70: 74 65 46 69 62 65 72 28 53 49 5a 45 5f 54 2c 20 teFiber(SIZE_T, fb80: 4c 50 46 49 42 45 52 5f 53 54 41 52 54 5f 52 4f LPFIBER_START_RO fb90: 55 54 49 4e 45 2c 20 4c 50 56 4f 49 44 29 3b 0d UTINE, LPVOID);. fba0: 0a 09 48 41 4e 44 4c 45 20 43 72 65 61 74 65 57 ..HANDLE CreateW fbb0: 61 69 74 61 62 6c 65 54 69 6d 65 72 41 28 4c 50 aitableTimerA(LP fbc0: 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 55 SECURITY_ATTRIBU fbd0: 54 45 53 2c 20 42 4f 4f 4c 2c 20 4c 50 43 53 54 TES, BOOL, LPCST fbe0: 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 43 72 65 R);...HANDLE Cre fbf0: 61 74 65 57 61 69 74 61 62 6c 65 54 69 6d 65 72 ateWaitableTimer fc00: 57 28 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 W(LPSECURITY_ATT fc10: 52 49 42 55 54 45 53 2c 20 42 4f 4f 4c 2c 20 4c RIBUTES, BOOL, L fc20: 50 43 57 53 54 52 29 3b 0d 0a 09 76 6f 69 64 20 PCWSTR);...void fc30: 44 65 6c 65 74 65 46 69 62 65 72 28 50 56 4f 49 DeleteFiber(PVOI fc40: 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 46 69 D);...BOOL GetFi fc50: 6c 65 41 74 74 72 69 62 75 74 65 73 45 78 41 28 leAttributesExA( fc60: 4c 50 43 53 54 52 2c 20 47 45 54 5f 46 49 4c 45 LPCSTR, GET_FILE fc70: 45 58 5f 49 4e 46 4f 5f 4c 45 56 45 4c 53 2c 20 EX_INFO_LEVELS, fc80: 50 56 4f 49 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 PVOID);...BOOL G fc90: 65 74 46 69 6c 65 41 74 74 72 69 62 75 74 65 73 etFileAttributes fca0: 45 78 57 28 4c 50 43 57 53 54 52 2c 20 47 45 54 ExW(LPCWSTR, GET fcb0: 5f 46 49 4c 45 45 58 5f 49 4e 46 4f 5f 4c 45 56 _FILEEX_INFO_LEV fcc0: 45 4c 53 2c 20 50 56 4f 49 44 29 3b 0d 0a 09 44 ELS, PVOID);...D fcd0: 57 4f 52 44 20 47 65 74 4c 6f 6e 67 50 61 74 68 WORD GetLongPath fce0: 4e 61 6d 65 41 28 4c 50 43 53 54 52 2c 20 4c 50 NameA(LPCSTR, LP fcf0: 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 44 STR, DWORD);...D fd00: 57 4f 52 44 20 47 65 74 4c 6f 6e 67 50 61 74 68 WORD GetLongPath fd10: 4e 61 6d 65 57 28 4c 50 43 57 53 54 52 2c 20 4c NameW(LPCWSTR, L fd20: 50 57 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a PWSTR, DWORD);.. fd30: 09 42 4f 4f 4c 20 49 6e 69 74 69 61 6c 69 7a 65 .BOOL Initialize fd40: 43 72 69 74 69 63 61 6c 53 65 63 74 69 6f 6e 41 CriticalSectionA fd50: 6e 64 53 70 69 6e 43 6f 75 6e 74 28 4c 50 43 52 ndSpinCount(LPCR fd60: 49 54 49 43 41 4c 5f 53 45 43 54 49 4f 4e 2c 20 ITICAL_SECTION, fd70: 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 49 DWORD);...BOOL I fd80: 73 44 65 62 75 67 67 65 72 50 72 65 73 65 6e 74 sDebuggerPresent fd90: 28 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 4f 70 65 ();...HANDLE Ope fda0: 6e 57 61 69 74 61 62 6c 65 54 69 6d 65 72 41 28 nWaitableTimerA( fdb0: 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 4c 50 43 DWORD, BOOL, LPC fdc0: 53 54 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 4f STR);...HANDLE O fdd0: 70 65 6e 57 61 69 74 61 62 6c 65 54 69 6d 65 72 penWaitableTimer fde0: 57 28 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 4c W(DWORD, BOOL, L fdf0: 50 43 57 53 54 52 29 3b 0d 0a 09 44 57 4f 52 44 PCWSTR);...DWORD fe00: 20 51 75 65 72 79 44 6f 73 44 65 76 69 63 65 41 QueryDosDeviceA fe10: 28 4c 50 43 53 54 52 2c 20 4c 50 53 54 52 2c 20 (LPCSTR, LPSTR, fe20: 44 57 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 DWORD);...DWORD fe30: 51 75 65 72 79 44 6f 73 44 65 76 69 63 65 57 28 QueryDosDeviceW( fe40: 4c 50 43 57 53 54 52 2c 20 4c 50 57 53 54 52 2c LPCWSTR, LPWSTR, fe50: 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 DWORD);...BOOL fe60: 53 65 74 57 61 69 74 61 62 6c 65 54 69 6d 65 72 SetWaitableTimer fe70: 28 48 41 4e 44 4c 45 2c 20 63 6f 6e 73 74 28 4c (HANDLE, const(L fe80: 41 52 47 45 5f 49 4e 54 45 47 45 52 29 2a 2c 20 ARGE_INTEGER)*, fe90: 4c 4f 4e 47 2c 20 50 54 49 4d 45 52 41 50 43 52 LONG, PTIMERAPCR fea0: 4f 55 54 49 4e 45 2c 20 50 56 4f 49 44 2c 20 42 OUTINE, PVOID, B feb0: 4f 4f 4c 29 3b 0d 0a 09 76 6f 69 64 20 53 77 69 OOL);...void Swi fec0: 74 63 68 54 6f 46 69 62 65 72 28 50 56 4f 49 44 tchToFiber(PVOID fed0: 29 3b 0d 0a 0d 0a 09 73 74 61 74 69 63 20 69 66 );.....static if fee0: 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 20 3e (_WIN32_WINNT > fef0: 3d 20 30 78 35 30 30 29 20 7b 0d 0a 09 09 48 41 = 0x500) {....HA ff00: 4e 44 4c 45 20 4f 70 65 6e 54 68 72 65 61 64 28 NDLE OpenThread( ff10: 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 44 57 4f DWORD, BOOL, DWO ff20: 52 44 29 3b 0d 0a 09 7d 0d 0a 0d 0a 09 42 4f 4f RD);...}.....BOO ff30: 4c 20 41 63 63 65 73 73 43 68 65 63 6b 28 50 53 L AccessCheck(PS ff40: 45 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 ECURITY_DESCRIPT ff50: 4f 52 2c 20 48 41 4e 44 4c 45 2c 20 44 57 4f 52 OR, HANDLE, DWOR ff60: 44 2c 20 50 47 45 4e 45 52 49 43 5f 4d 41 50 50 D, PGENERIC_MAPP ff70: 49 4e 47 2c 20 50 50 52 49 56 49 4c 45 47 45 5f ING, PPRIVILEGE_ ff80: 53 45 54 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 SET, PDWORD, PDW ff90: 4f 52 44 2c 20 50 42 4f 4f 4c 29 3b 0d 0a 09 42 ORD, PBOOL);...B ffa0: 4f 4f 4c 20 41 63 63 65 73 73 43 68 65 63 6b 41 OOL AccessCheckA ffb0: 6e 64 41 75 64 69 74 41 6c 61 72 6d 41 28 4c 50 ndAuditAlarmA(LP ffc0: 43 53 54 52 2c 20 4c 50 56 4f 49 44 2c 20 4c 50 CSTR, LPVOID, LP ffd0: 53 54 52 2c 20 4c 50 53 54 52 2c 20 50 53 45 43 STR, LPSTR, PSEC ffe0: 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f 52 URITY_DESCRIPTOR fff0: 2c 20 44 57 4f 52 44 2c 20 50 47 45 4e 45 52 49 , DWORD, PGENERI 10000 43 5f 4d 41 50 50 49 4e 47 2c 20 42 4f 4f 4c 2c C_MAPPING, BOOL, 10010 20 50 44 57 4f 52 44 2c 20 50 42 4f 4f 4c 2c 20 PDWORD, PBOOL, 10020 50 42 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 41 PBOOL);...BOOL A 10030 63 63 65 73 73 43 68 65 63 6b 41 6e 64 41 75 64 ccessCheckAndAud 10040 69 74 41 6c 61 72 6d 57 28 4c 50 43 57 53 54 52 itAlarmW(LPCWSTR 10050 2c 20 4c 50 56 4f 49 44 2c 20 4c 50 57 53 54 52 , LPVOID, LPWSTR 10060 2c 20 4c 50 57 53 54 52 2c 20 50 53 45 43 55 52 , LPWSTR, PSECUR 10070 49 54 59 5f 44 45 53 43 52 49 50 54 4f 52 2c 20 ITY_DESCRIPTOR, 10080 44 57 4f 52 44 2c 20 50 47 45 4e 45 52 49 43 5f DWORD, PGENERIC_ 10090 4d 41 50 50 49 4e 47 2c 20 42 4f 4f 4c 2c 20 50 MAPPING, BOOL, P 100a0 44 57 4f 52 44 2c 20 50 42 4f 4f 4c 2c 20 50 42 DWORD, PBOOL, PB 100b0 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 41 64 64 OOL);...BOOL Add 100c0 41 63 63 65 73 73 41 6c 6c 6f 77 65 64 41 63 65 AccessAllowedAce 100d0 28 50 41 43 4c 2c 20 44 57 4f 52 44 2c 20 44 57 (PACL, DWORD, DW 100e0 4f 52 44 2c 20 50 53 49 44 29 3b 0d 0a 09 42 4f ORD, PSID);...BO 100f0 4f 4c 20 41 64 64 41 63 63 65 73 73 44 65 6e 69 OL AddAccessDeni 10100 65 64 41 63 65 28 50 41 43 4c 2c 20 44 57 4f 52 edAce(PACL, DWOR 10110 44 2c 20 44 57 4f 52 44 2c 20 50 53 49 44 29 3b D, DWORD, PSID); 10120 0d 0a 09 42 4f 4f 4c 20 41 64 64 41 63 65 28 50 ...BOOL AddAce(P 10130 41 43 4c 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 ACL, DWORD, DWOR 10140 44 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 29 D, PVOID, DWORD) 10150 3b 0d 0a 09 42 4f 4f 4c 20 41 64 64 41 75 64 69 ;...BOOL AddAudi 10160 74 41 63 63 65 73 73 41 63 65 28 50 41 43 4c 2c tAccessAce(PACL, 10170 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 50 DWORD, DWORD, P 10180 53 49 44 2c 20 42 4f 4f 4c 2c 20 42 4f 4f 4c 29 SID, BOOL, BOOL) 10190 3b 0d 0a 09 42 4f 4f 4c 20 41 64 6a 75 73 74 54 ;...BOOL AdjustT 101a0 6f 6b 65 6e 47 72 6f 75 70 73 28 48 41 4e 44 4c okenGroups(HANDL 101b0 45 2c 20 42 4f 4f 4c 2c 20 50 54 4f 4b 45 4e 5f E, BOOL, PTOKEN_ 101c0 47 52 4f 55 50 53 2c 20 44 57 4f 52 44 2c 20 50 GROUPS, DWORD, P 101d0 54 4f 4b 45 4e 5f 47 52 4f 55 50 53 2c 20 50 44 TOKEN_GROUPS, PD 101e0 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 41 64 WORD);...BOOL Ad 101f0 6a 75 73 74 54 6f 6b 65 6e 50 72 69 76 69 6c 65 justTokenPrivile 10200 67 65 73 28 48 41 4e 44 4c 45 2c 20 42 4f 4f 4c ges(HANDLE, BOOL 10210 2c 20 50 54 4f 4b 45 4e 5f 50 52 49 56 49 4c 45 , PTOKEN_PRIVILE 10220 47 45 53 2c 20 44 57 4f 52 44 2c 20 50 54 4f 4b GES, DWORD, PTOK 10230 45 4e 5f 50 52 49 56 49 4c 45 47 45 53 2c 20 50 EN_PRIVILEGES, P 10240 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 41 DWORD);...BOOL A 10250 6c 6c 6f 63 61 74 65 41 6e 64 49 6e 69 74 69 61 llocateAndInitia 10260 6c 69 7a 65 53 69 64 28 50 53 49 44 5f 49 44 45 lizeSid(PSID_IDE 10270 4e 54 49 46 49 45 52 5f 41 55 54 48 4f 52 49 54 NTIFIER_AUTHORIT 10280 59 2c 20 42 59 54 45 2c 20 44 57 4f 52 44 2c 20 Y, BYTE, DWORD, 10290 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 DWORD, DWORD, DW 102a0 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 ORD, DWORD, DWOR 102b0 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c D, DWORD, DWORD, 102c0 20 50 53 49 44 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 PSID*);...BOOL 102d0 41 6c 6c 6f 63 61 74 65 4c 6f 63 61 6c 6c 79 55 AllocateLocallyU 102e0 6e 69 71 75 65 49 64 28 50 4c 55 49 44 29 3b 0d niqueId(PLUID);. 102f0 0a 09 42 4f 4f 4c 20 41 72 65 41 6c 6c 41 63 63 ..BOOL AreAllAcc 10300 65 73 73 65 73 47 72 61 6e 74 65 64 28 44 57 4f essesGranted(DWO 10310 52 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f RD, DWORD);...BO 10320 4f 4c 20 41 72 65 41 6e 79 41 63 63 65 73 73 65 OL AreAnyAccesse 10330 73 47 72 61 6e 74 65 64 28 44 57 4f 52 44 2c 20 sGranted(DWORD, 10340 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 42 DWORD);...BOOL B 10350 61 63 6b 75 70 45 76 65 6e 74 4c 6f 67 41 28 48 ackupEventLogA(H 10360 41 4e 44 4c 45 2c 20 4c 50 43 53 54 52 29 3b 0d ANDLE, LPCSTR);. 10370 0a 09 42 4f 4f 4c 20 42 61 63 6b 75 70 45 76 65 ..BOOL BackupEve 10380 6e 74 4c 6f 67 57 28 48 41 4e 44 4c 45 2c 20 4c ntLogW(HANDLE, L 10390 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 PCWSTR);...BOOL 103a0 42 61 63 6b 75 70 52 65 61 64 28 48 41 4e 44 4c BackupRead(HANDL 103b0 45 2c 20 4c 50 42 59 54 45 2c 20 44 57 4f 52 44 E, LPBYTE, DWORD 103c0 2c 20 4c 50 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c , LPDWORD, BOOL, 103d0 20 42 4f 4f 4c 2c 20 4c 50 56 4f 49 44 2a 29 3b BOOL, LPVOID*); 103e0 0d 0a 09 42 4f 4f 4c 20 42 61 63 6b 75 70 53 65 ...BOOL BackupSe 103f0 65 6b 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 ek(HANDLE, DWORD 10400 2c 20 44 57 4f 52 44 2c 20 4c 50 44 57 4f 52 44 , DWORD, LPDWORD 10410 2c 20 4c 50 44 57 4f 52 44 2c 20 4c 50 56 4f 49 , LPDWORD, LPVOI 10420 44 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 42 61 63 6b D*);...BOOL Back 10430 75 70 57 72 69 74 65 28 48 41 4e 44 4c 45 2c 20 upWrite(HANDLE, 10440 4c 50 42 59 54 45 2c 20 44 57 4f 52 44 2c 20 4c LPBYTE, DWORD, L 10450 50 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 42 4f PDWORD, BOOL, BO 10460 4f 4c 2c 20 4c 50 56 4f 49 44 2a 29 3b 0d 0a 09 OL, LPVOID*);... 10470 42 4f 4f 4c 20 43 6c 65 61 72 45 76 65 6e 74 4c BOOL ClearEventL 10480 6f 67 41 28 48 41 4e 44 4c 45 2c 20 4c 50 43 53 ogA(HANDLE, LPCS 10490 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 43 6c 65 61 TR);...BOOL Clea 104a0 72 45 76 65 6e 74 4c 6f 67 57 28 48 41 4e 44 4c rEventLogW(HANDL 104b0 45 2c 20 4c 50 43 57 53 54 52 29 3b 0d 0a 09 42 E, LPCWSTR);...B 104c0 4f 4f 4c 20 43 6c 6f 73 65 45 76 65 6e 74 4c 6f OOL CloseEventLo 104d0 67 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f g(HANDLE);...BOO 104e0 4c 20 43 6f 6e 6e 65 63 74 4e 61 6d 65 64 50 69 L ConnectNamedPi 104f0 70 65 28 48 41 4e 44 4c 45 2c 20 4c 50 4f 56 45 pe(HANDLE, LPOVE 10500 52 4c 41 50 50 45 44 29 3b 0d 0a 09 42 4f 4f 4c RLAPPED);...BOOL 10510 20 43 6f 70 79 53 69 64 28 44 57 4f 52 44 2c 20 CopySid(DWORD, 10520 50 53 49 44 2c 20 50 53 49 44 29 3b 0d 0a 09 48 PSID, PSID);...H 10530 41 4e 44 4c 45 20 43 72 65 61 74 65 4e 61 6d 65 ANDLE CreateName 10540 64 50 69 70 65 41 28 4c 50 43 53 54 52 2c 20 44 dPipeA(LPCSTR, D 10550 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f WORD, DWORD, DWO 10560 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 RD, DWORD, DWORD 10570 2c 20 44 57 4f 52 44 2c 20 4c 50 53 45 43 55 52 , DWORD, LPSECUR 10580 49 54 59 5f 41 54 54 52 49 42 55 54 45 53 29 3b ITY_ATTRIBUTES); 10590 0d 0a 09 48 41 4e 44 4c 45 20 43 72 65 61 74 65 ...HANDLE Create 105a0 4e 61 6d 65 64 50 69 70 65 57 28 4c 50 43 57 53 NamedPipeW(LPCWS 105b0 54 52 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 TR, DWORD, DWORD 105c0 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 , DWORD, DWORD, 105d0 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 4c 50 DWORD, DWORD, LP 105e0 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 55 SECURITY_ATTRIBU 105f0 54 45 53 29 3b 0d 0a 09 42 4f 4f 4c 20 43 72 65 TES);...BOOL Cre 10600 61 74 65 50 72 69 76 61 74 65 4f 62 6a 65 63 74 atePrivateObject 10610 53 65 63 75 72 69 74 79 28 50 53 45 43 55 52 49 Security(PSECURI 10620 54 59 5f 44 45 53 43 52 49 50 54 4f 52 2c 20 50 TY_DESCRIPTOR, P 10630 53 45 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 SECURITY_DESCRIP 10640 54 4f 52 2c 20 50 53 45 43 55 52 49 54 59 5f 44 TOR, PSECURITY_D 10650 45 53 43 52 49 50 54 4f 52 2a 2c 20 42 4f 4f 4c ESCRIPTOR*, BOOL 10660 2c 20 48 41 4e 44 4c 45 2c 20 50 47 45 4e 45 52 , HANDLE, PGENER 10670 49 43 5f 4d 41 50 50 49 4e 47 29 3b 0d 0a 09 42 IC_MAPPING);...B 10680 4f 4f 4c 20 43 72 65 61 74 65 50 72 6f 63 65 73 OOL CreateProces 10690 73 41 73 55 73 65 72 41 28 48 41 4e 44 4c 45 2c sAsUserA(HANDLE, 106a0 20 4c 50 43 53 54 52 2c 20 4c 50 53 54 52 2c 20 LPCSTR, LPSTR, 106b0 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 LPSECURITY_ATTRI 106c0 42 55 54 45 53 2c 20 4c 50 53 45 43 55 52 49 54 BUTES, LPSECURIT 106d0 59 5f 41 54 54 52 49 42 55 54 45 53 2c 20 42 4f Y_ATTRIBUTES, BO 106e0 4f 4c 2c 20 44 57 4f 52 44 2c 20 50 56 4f 49 44 OL, DWORD, PVOID 106f0 2c 20 4c 50 43 53 54 52 2c 20 4c 50 53 54 41 52 , LPCSTR, LPSTAR 10700 54 55 50 49 4e 46 4f 41 2c 20 4c 50 50 52 4f 43 TUPINFOA, LPPROC 10710 45 53 53 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e 29 ESS_INFORMATION) 10720 3b 0d 0a 09 42 4f 4f 4c 20 43 72 65 61 74 65 50 ;...BOOL CreateP 10730 72 6f 63 65 73 73 41 73 55 73 65 72 57 28 48 41 rocessAsUserW(HA 10740 4e 44 4c 45 2c 20 4c 50 43 57 53 54 52 2c 20 4c NDLE, LPCWSTR, L 10750 50 57 53 54 52 2c 20 4c 50 53 45 43 55 52 49 54 PWSTR, LPSECURIT 10760 59 5f 41 54 54 52 49 42 55 54 45 53 2c 20 4c 50 Y_ATTRIBUTES, LP 10770 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 55 SECURITY_ATTRIBU 10780 54 45 53 2c 20 42 4f 4f 4c 2c 20 44 57 4f 52 44 TES, BOOL, DWORD 10790 2c 20 50 56 4f 49 44 2c 20 4c 50 43 57 53 54 52 , PVOID, LPCWSTR 107a0 2c 20 4c 50 53 54 41 52 54 55 50 49 4e 46 4f 57 , LPSTARTUPINFOW 107b0 2c 20 4c 50 50 52 4f 43 45 53 53 5f 49 4e 46 4f , LPPROCESS_INFO 107c0 52 4d 41 54 49 4f 4e 29 3b 0d 0a 09 48 41 4e 44 RMATION);...HAND 107d0 4c 45 20 43 72 65 61 74 65 52 65 6d 6f 74 65 54 LE CreateRemoteT 107e0 68 72 65 61 64 28 48 41 4e 44 4c 45 2c 20 4c 50 hread(HANDLE, LP 107f0 53 45 43 55 52 49 54 59 5f 41 54 54 52 49 42 55 SECURITY_ATTRIBU 10800 54 45 53 2c 20 44 57 4f 52 44 2c 20 4c 50 54 48 TES, DWORD, LPTH 10810 52 45 41 44 5f 53 54 41 52 54 5f 52 4f 55 54 49 READ_START_ROUTI 10820 4e 45 2c 20 4c 50 56 4f 49 44 2c 20 44 57 4f 52 NE, LPVOID, DWOR 10830 44 2c 20 4c 50 44 57 4f 52 44 29 3b 0d 0a 09 44 D, LPDWORD);...D 10840 57 4f 52 44 20 43 72 65 61 74 65 54 61 70 65 50 WORD CreateTapeP 10850 61 72 74 69 74 69 6f 6e 28 48 41 4e 44 4c 45 2c artition(HANDLE, 10860 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 DWORD, DWORD, D 10870 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 44 65 WORD);...BOOL De 10880 66 69 6e 65 44 6f 73 44 65 76 69 63 65 41 28 44 fineDosDeviceA(D 10890 57 4f 52 44 2c 20 4c 50 43 53 54 52 2c 20 4c 50 WORD, LPCSTR, LP 108a0 43 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 44 65 CSTR);...BOOL De 108b0 66 69 6e 65 44 6f 73 44 65 76 69 63 65 57 28 44 fineDosDeviceW(D 108c0 57 4f 52 44 2c 20 4c 50 43 57 53 54 52 2c 20 4c WORD, LPCWSTR, L 108d0 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 PCWSTR);...BOOL 108e0 44 65 6c 65 74 65 41 63 65 28 50 41 43 4c 2c 20 DeleteAce(PACL, 108f0 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 44 DWORD);...BOOL D 10900 65 72 65 67 69 73 74 65 72 45 76 65 6e 74 53 6f eregisterEventSo 10910 75 72 63 65 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 urce(HANDLE);... 10920 42 4f 4f 4c 20 44 65 73 74 72 6f 79 50 72 69 76 BOOL DestroyPriv 10930 61 74 65 4f 62 6a 65 63 74 53 65 63 75 72 69 74 ateObjectSecurit 10940 79 28 50 53 45 43 55 52 49 54 59 5f 44 45 53 43 y(PSECURITY_DESC 10950 52 49 50 54 4f 52 2a 29 3b 0d 0a 09 42 4f 4f 4c RIPTOR*);...BOOL 10960 20 44 65 76 69 63 65 49 6f 43 6f 6e 74 72 6f 6c DeviceIoControl 10970 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 (HANDLE, DWORD, 10980 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 50 56 PVOID, DWORD, PV 10990 4f 49 44 2c 20 44 57 4f 52 44 2c 20 50 44 57 4f OID, DWORD, PDWO 109a0 52 44 2c 20 50 4f 56 45 52 4c 41 50 50 45 44 29 RD, POVERLAPPED) 109b0 3b 0d 0a 09 42 4f 4f 4c 20 44 69 73 63 6f 6e 6e ;...BOOL Disconn 109c0 65 63 74 4e 61 6d 65 64 50 69 70 65 28 48 41 4e ectNamedPipe(HAN 109d0 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c 20 44 75 70 DLE);...BOOL Dup 109e0 6c 69 63 61 74 65 54 6f 6b 65 6e 28 48 41 4e 44 licateToken(HAND 109f0 4c 45 2c 20 53 45 43 55 52 49 54 59 5f 49 4d 50 LE, SECURITY_IMP 10a00 45 52 53 4f 4e 41 54 49 4f 4e 5f 4c 45 56 45 4c ERSONATION_LEVEL 10a10 2c 20 50 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f , PHANDLE);...BO 10a20 4f 4c 20 44 75 70 6c 69 63 61 74 65 54 6f 6b 65 OL DuplicateToke 10a30 6e 45 78 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 nEx(HANDLE, DWOR 10a40 44 2c 20 4c 50 53 45 43 55 52 49 54 59 5f 41 54 D, LPSECURITY_AT 10a50 54 52 49 42 55 54 45 53 2c 20 53 45 43 55 52 49 TRIBUTES, SECURI 10a60 54 59 5f 49 4d 50 45 52 53 4f 4e 41 54 49 4f 4e TY_IMPERSONATION 10a70 5f 4c 45 56 45 4c 2c 20 54 4f 4b 45 4e 5f 54 59 _LEVEL, TOKEN_TY 10a80 50 45 2c 20 50 48 41 4e 44 4c 45 29 3b 0d 0a 09 PE, PHANDLE);... 10a90 42 4f 4f 4c 20 45 71 75 61 6c 50 72 65 66 69 78 BOOL EqualPrefix 10aa0 53 69 64 28 50 53 49 44 2c 20 50 53 49 44 29 3b Sid(PSID, PSID); 10ab0 0d 0a 09 42 4f 4f 4c 20 45 71 75 61 6c 53 69 64 ...BOOL EqualSid 10ac0 28 50 53 49 44 2c 20 50 53 49 44 29 3b 0d 0a 09 (PSID, PSID);... 10ad0 44 57 4f 52 44 20 45 72 61 73 65 54 61 70 65 28 DWORD EraseTape( 10ae0 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 42 HANDLE, DWORD, B 10af0 4f 4f 4c 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 46 OOL);...HANDLE F 10b00 69 6e 64 46 69 72 73 74 46 69 6c 65 45 78 41 28 indFirstFileExA( 10b10 4c 50 43 53 54 52 2c 20 46 49 4e 44 45 58 5f 49 LPCSTR, FINDEX_I 10b20 4e 46 4f 5f 4c 45 56 45 4c 53 2c 20 50 56 4f 49 NFO_LEVELS, PVOI 10b30 44 2c 20 46 49 4e 44 45 58 5f 53 45 41 52 43 48 D, FINDEX_SEARCH 10b40 5f 4f 50 53 2c 20 50 56 4f 49 44 2c 20 44 57 4f _OPS, PVOID, DWO 10b50 52 44 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 46 69 RD);...HANDLE Fi 10b60 6e 64 46 69 72 73 74 46 69 6c 65 45 78 57 28 4c ndFirstFileExW(L 10b70 50 43 57 53 54 52 2c 20 46 49 4e 44 45 58 5f 49 PCWSTR, FINDEX_I 10b80 4e 46 4f 5f 4c 45 56 45 4c 53 2c 20 50 56 4f 49 NFO_LEVELS, PVOI 10b90 44 2c 20 46 49 4e 44 45 58 5f 53 45 41 52 43 48 D, FINDEX_SEARCH 10ba0 5f 4f 50 53 2c 20 50 56 4f 49 44 2c 20 44 57 4f _OPS, PVOID, DWO 10bb0 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 46 69 6e 64 RD);...BOOL Find 10bc0 46 69 72 73 74 46 72 65 65 41 63 65 28 50 41 43 FirstFreeAce(PAC 10bd0 4c 2c 20 50 56 4f 49 44 2a 29 3b 0d 0a 09 50 56 L, PVOID*);...PV 10be0 4f 49 44 20 46 72 65 65 53 69 64 28 50 53 49 44 OID FreeSid(PSID 10bf0 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 41 63 65 );...BOOL GetAce 10c00 28 50 41 43 4c 2c 20 44 57 4f 52 44 2c 20 4c 50 (PACL, DWORD, LP 10c10 56 4f 49 44 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 47 VOID*);...BOOL G 10c20 65 74 41 63 6c 49 6e 66 6f 72 6d 61 74 69 6f 6e etAclInformation 10c30 28 50 41 43 4c 2c 20 50 56 4f 49 44 2c 20 44 57 (PACL, PVOID, DW 10c40 4f 52 44 2c 20 41 43 4c 5f 49 4e 46 4f 52 4d 41 ORD, ACL_INFORMA 10c50 54 49 4f 4e 5f 43 4c 41 53 53 29 3b 0d 0a 09 42 TION_CLASS);...B 10c60 4f 4f 4c 20 47 65 74 42 69 6e 61 72 79 54 79 70 OOL GetBinaryTyp 10c70 65 41 28 4c 50 43 53 54 52 2c 20 50 44 57 4f 52 eA(LPCSTR, PDWOR 10c80 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 42 69 D);...BOOL GetBi 10c90 6e 61 72 79 54 79 70 65 57 28 4c 50 43 57 53 54 naryTypeW(LPCWST 10ca0 52 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 44 57 R, PDWORD);...DW 10cb0 4f 52 44 20 47 65 74 43 6f 6d 70 72 65 73 73 65 ORD GetCompresse 10cc0 64 46 69 6c 65 53 69 7a 65 41 28 4c 50 43 53 54 dFileSizeA(LPCST 10cd0 52 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 44 57 R, PDWORD);...DW 10ce0 4f 52 44 20 47 65 74 43 6f 6d 70 72 65 73 73 65 ORD GetCompresse 10cf0 64 46 69 6c 65 53 69 7a 65 57 28 4c 50 43 57 53 dFileSizeW(LPCWS 10d00 54 52 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 TR, PDWORD);...B 10d10 4f 4f 4c 20 47 65 74 43 75 72 72 65 6e 74 48 77 OOL GetCurrentHw 10d20 50 72 6f 66 69 6c 65 41 28 4c 50 48 57 5f 50 52 ProfileA(LPHW_PR 10d30 4f 46 49 4c 45 5f 49 4e 46 4f 41 29 3b 0d 0a 09 OFILE_INFOA);... 10d40 42 4f 4f 4c 20 47 65 74 43 75 72 72 65 6e 74 48 BOOL GetCurrentH 10d50 77 50 72 6f 66 69 6c 65 57 28 4c 50 48 57 5f 50 wProfileW(LPHW_P 10d60 52 4f 46 49 4c 45 5f 49 4e 46 4f 57 29 3b 0d 0a ROFILE_INFOW);.. 10d70 09 42 4f 4f 4c 20 47 65 74 46 69 6c 65 53 65 63 .BOOL GetFileSec 10d80 75 72 69 74 79 41 28 4c 50 43 53 54 52 2c 20 53 urityA(LPCSTR, S 10d90 45 43 55 52 49 54 59 5f 49 4e 46 4f 52 4d 41 54 ECURITY_INFORMAT 10da0 49 4f 4e 2c 20 50 53 45 43 55 52 49 54 59 5f 44 ION, PSECURITY_D 10db0 45 53 43 52 49 50 54 4f 52 2c 20 44 57 4f 52 44 ESCRIPTOR, DWORD 10dc0 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f , PDWORD);...BOO 10dd0 4c 20 47 65 74 46 69 6c 65 53 65 63 75 72 69 74 L GetFileSecurit 10de0 79 57 28 4c 50 43 57 53 54 52 2c 20 53 45 43 55 yW(LPCWSTR, SECU 10df0 52 49 54 59 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e RITY_INFORMATION 10e00 2c 20 50 53 45 43 55 52 49 54 59 5f 44 45 53 43 , PSECURITY_DESC 10e10 52 49 50 54 4f 52 2c 20 44 57 4f 52 44 2c 20 50 RIPTOR, DWORD, P 10e20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 DWORD);...BOOL G 10e30 65 74 48 61 6e 64 6c 65 49 6e 66 6f 72 6d 61 74 etHandleInformat 10e40 69 6f 6e 28 48 41 4e 44 4c 45 2c 20 50 44 57 4f ion(HANDLE, PDWO 10e50 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 4b RD);...BOOL GetK 10e60 65 72 6e 65 6c 4f 62 6a 65 63 74 53 65 63 75 72 ernelObjectSecur 10e70 69 74 79 28 48 41 4e 44 4c 45 2c 20 53 45 43 55 ity(HANDLE, SECU 10e80 52 49 54 59 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e RITY_INFORMATION 10e90 2c 20 50 53 45 43 55 52 49 54 59 5f 44 45 53 43 , PSECURITY_DESC 10ea0 52 49 50 54 4f 52 2c 20 44 57 4f 52 44 2c 20 50 RIPTOR, DWORD, P 10eb0 44 57 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 DWORD);...DWORD 10ec0 47 65 74 4c 65 6e 67 74 68 53 69 64 28 50 53 49 GetLengthSid(PSI 10ed0 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 4e 75 D);...BOOL GetNu 10ee0 6d 62 65 72 4f 66 45 76 65 6e 74 4c 6f 67 52 65 mberOfEventLogRe 10ef0 63 6f 72 64 73 28 48 41 4e 44 4c 45 2c 20 50 44 cords(HANDLE, PD 10f00 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 WORD);...BOOL Ge 10f10 74 4f 6c 64 65 73 74 45 76 65 6e 74 4c 6f 67 52 tOldestEventLogR 10f20 65 63 6f 72 64 28 48 41 4e 44 4c 45 2c 20 50 44 ecord(HANDLE, PD 10f30 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 WORD);...BOOL Ge 10f40 74 50 72 69 76 61 74 65 4f 62 6a 65 63 74 53 65 tPrivateObjectSe 10f50 63 75 72 69 74 79 28 50 53 45 43 55 52 49 54 59 curity(PSECURITY 10f60 5f 44 45 53 43 52 49 50 54 4f 52 2c 20 53 45 43 _DESCRIPTOR, SEC 10f70 55 52 49 54 59 5f 49 4e 46 4f 52 4d 41 54 49 4f URITY_INFORMATIO 10f80 4e 2c 20 50 53 45 43 55 52 49 54 59 5f 44 45 53 N, PSECURITY_DES 10f90 43 52 49 50 54 4f 52 2c 20 44 57 4f 52 44 2c 20 CRIPTOR, DWORD, 10fa0 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 PDWORD);...BOOL 10fb0 47 65 74 50 72 6f 63 65 73 73 50 72 69 6f 72 69 GetProcessPriori 10fc0 74 79 42 6f 6f 73 74 28 48 41 4e 44 4c 45 2c 20 tyBoost(HANDLE, 10fd0 50 42 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 47 PBOOL);...BOOL G 10fe0 65 74 50 72 6f 63 65 73 73 53 68 75 74 64 6f 77 etProcessShutdow 10ff0 6e 50 61 72 61 6d 65 74 65 72 73 28 50 44 57 4f nParameters(PDWO 11000 52 44 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 RD, PDWORD);...B 11010 4f 4f 4c 20 47 65 74 50 72 6f 63 65 73 73 54 69 OOL GetProcessTi 11020 6d 65 73 28 48 41 4e 44 4c 45 2c 20 4c 50 46 49 mes(HANDLE, LPFI 11030 4c 45 54 49 4d 45 2c 20 4c 50 46 49 4c 45 54 49 LETIME, LPFILETI 11040 4d 45 2c 20 4c 50 46 49 4c 45 54 49 4d 45 2c 20 ME, LPFILETIME, 11050 4c 50 46 49 4c 45 54 49 4d 45 29 3b 0d 0a 09 48 LPFILETIME);...H 11060 57 49 4e 53 54 41 20 47 65 74 50 72 6f 63 65 73 WINSTA GetProces 11070 73 57 69 6e 64 6f 77 53 74 61 74 69 6f 6e 28 29 sWindowStation() 11080 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 50 72 6f 63 ;...BOOL GetProc 11090 65 73 73 57 6f 72 6b 69 6e 67 53 65 74 53 69 7a essWorkingSetSiz 110a0 65 28 48 41 4e 44 4c 45 2c 20 50 53 49 5a 45 5f e(HANDLE, PSIZE_ 110b0 54 2c 20 50 53 49 5a 45 5f 54 29 3b 0d 0a 09 42 T, PSIZE_T);...B 110c0 4f 4f 4c 20 47 65 74 51 75 65 75 65 64 43 6f 6d OOL GetQueuedCom 110d0 70 6c 65 74 69 6f 6e 53 74 61 74 75 73 28 48 41 pletionStatus(HA 110e0 4e 44 4c 45 2c 20 50 44 57 4f 52 44 2c 20 50 55 NDLE, PDWORD, PU 110f0 4c 4f 4e 47 5f 50 54 52 2c 20 4c 50 4f 56 45 52 LONG_PTR, LPOVER 11100 4c 41 50 50 45 44 2a 2c 20 44 57 4f 52 44 29 3b LAPPED*, DWORD); 11110 0d 0a 09 42 4f 4f 4c 20 47 65 74 53 65 63 75 72 ...BOOL GetSecur 11120 69 74 79 44 65 73 63 72 69 70 74 6f 72 43 6f 6e ityDescriptorCon 11130 74 72 6f 6c 28 50 53 45 43 55 52 49 54 59 5f 44 trol(PSECURITY_D 11140 45 53 43 52 49 50 54 4f 52 2c 20 50 53 45 43 55 ESCRIPTOR, PSECU 11150 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f 52 5f RITY_DESCRIPTOR_ 11160 43 4f 4e 54 52 4f 4c 2c 20 50 44 57 4f 52 44 29 CONTROL, PDWORD) 11170 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 53 65 63 75 ;...BOOL GetSecu 11180 72 69 74 79 44 65 73 63 72 69 70 74 6f 72 44 61 rityDescriptorDa 11190 63 6c 28 50 53 45 43 55 52 49 54 59 5f 44 45 53 cl(PSECURITY_DES 111a0 43 52 49 50 54 4f 52 2c 20 4c 50 42 4f 4f 4c 2c CRIPTOR, LPBOOL, 111b0 20 50 41 43 4c 2a 2c 20 4c 50 42 4f 4f 4c 29 3b PACL*, LPBOOL); 111c0 0d 0a 09 42 4f 4f 4c 20 47 65 74 53 65 63 75 72 ...BOOL GetSecur 111d0 69 74 79 44 65 73 63 72 69 70 74 6f 72 47 72 6f ityDescriptorGro 111e0 75 70 28 50 53 45 43 55 52 49 54 59 5f 44 45 53 up(PSECURITY_DES 111f0 43 52 49 50 54 4f 52 2c 20 50 53 49 44 2a 2c 20 CRIPTOR, PSID*, 11200 4c 50 42 4f 4f 4c 29 3b 0d 0a 09 44 57 4f 52 44 LPBOOL);...DWORD 11210 20 47 65 74 53 65 63 75 72 69 74 79 44 65 73 63 GetSecurityDesc 11220 72 69 70 74 6f 72 4c 65 6e 67 74 68 28 50 53 45 riptorLength(PSE 11230 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f CURITY_DESCRIPTO 11240 52 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 53 65 R);...BOOL GetSe 11250 63 75 72 69 74 79 44 65 73 63 72 69 70 74 6f 72 curityDescriptor 11260 4f 77 6e 65 72 28 50 53 45 43 55 52 49 54 59 5f Owner(PSECURITY_ 11270 44 45 53 43 52 49 50 54 4f 52 2c 20 50 53 49 44 DESCRIPTOR, PSID 11280 2a 2c 20 4c 50 42 4f 4f 4c 29 3b 0d 0a 09 42 4f *, LPBOOL);...BO 11290 4f 4c 20 47 65 74 53 65 63 75 72 69 74 79 44 65 OL GetSecurityDe 112a0 73 63 72 69 70 74 6f 72 53 61 63 6c 28 50 53 45 scriptorSacl(PSE 112b0 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f CURITY_DESCRIPTO 112c0 52 2c 20 4c 50 42 4f 4f 4c 2c 20 50 41 43 4c 2a R, LPBOOL, PACL* 112d0 2c 20 4c 50 42 4f 4f 4c 29 3b 0d 0a 09 50 53 49 , LPBOOL);...PSI 112e0 44 5f 49 44 45 4e 54 49 46 49 45 52 5f 41 55 54 D_IDENTIFIER_AUT 112f0 48 4f 52 49 54 59 20 47 65 74 53 69 64 49 64 65 HORITY GetSidIde 11300 6e 74 69 66 69 65 72 41 75 74 68 6f 72 69 74 79 ntifierAuthority 11310 28 50 53 49 44 29 3b 0d 0a 09 44 57 4f 52 44 20 (PSID);...DWORD 11320 47 65 74 53 69 64 4c 65 6e 67 74 68 52 65 71 75 GetSidLengthRequ 11330 69 72 65 64 28 55 43 48 41 52 29 3b 0d 0a 09 50 ired(UCHAR);...P 11340 44 57 4f 52 44 20 47 65 74 53 69 64 53 75 62 41 DWORD GetSidSubA 11350 75 74 68 6f 72 69 74 79 28 50 53 49 44 2c 20 44 uthority(PSID, D 11360 57 4f 52 44 29 3b 0d 0a 09 50 55 43 48 41 52 20 WORD);...PUCHAR 11370 47 65 74 53 69 64 53 75 62 41 75 74 68 6f 72 69 GetSidSubAuthori 11380 74 79 43 6f 75 6e 74 28 50 53 49 44 29 3b 0d 0a tyCount(PSID);.. 11390 09 44 57 4f 52 44 20 47 65 74 54 61 70 65 50 61 .DWORD GetTapePa 113a0 72 61 6d 65 74 65 72 73 28 48 41 4e 44 4c 45 2c rameters(HANDLE, 113b0 20 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c 20 DWORD, PDWORD, 113c0 50 56 4f 49 44 29 3b 0d 0a 09 44 57 4f 52 44 20 PVOID);...DWORD 113d0 47 65 74 54 61 70 65 50 6f 73 69 74 69 6f 6e 28 GetTapePosition( 113e0 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 50 HANDLE, DWORD, P 113f0 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 2c 20 50 DWORD, PDWORD, P 11400 44 57 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 44 20 DWORD);...DWORD 11410 47 65 74 54 61 70 65 53 74 61 74 75 73 28 48 41 GetTapeStatus(HA 11420 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 NDLE);...BOOL Ge 11430 74 54 68 72 65 61 64 50 72 69 6f 72 69 74 79 42 tThreadPriorityB 11440 6f 6f 73 74 28 48 41 4e 44 4c 45 2c 20 50 42 4f oost(HANDLE, PBO 11450 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 54 OL);...BOOL GetT 11460 68 72 65 61 64 54 69 6d 65 73 28 48 41 4e 44 4c hreadTimes(HANDL 11470 45 2c 20 4c 50 46 49 4c 45 54 49 4d 45 2c 20 4c E, LPFILETIME, L 11480 50 46 49 4c 45 54 49 4d 45 2c 20 4c 50 46 49 4c PFILETIME, LPFIL 11490 45 54 49 4d 45 2c 20 4c 50 46 49 4c 45 54 49 4d ETIME, LPFILETIM 114a0 45 29 3b 0d 0a 09 42 4f 4f 4c 20 47 65 74 54 6f E);...BOOL GetTo 114b0 6b 65 6e 49 6e 66 6f 72 6d 61 74 69 6f 6e 28 48 kenInformation(H 114c0 41 4e 44 4c 45 2c 20 54 4f 4b 45 4e 5f 49 4e 46 ANDLE, TOKEN_INF 114d0 4f 52 4d 41 54 49 4f 4e 5f 43 4c 41 53 53 2c 20 ORMATION_CLASS, 114e0 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 50 44 PVOID, DWORD, PD 114f0 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 49 6d WORD);...BOOL Im 11500 70 65 72 73 6f 6e 61 74 65 4c 6f 67 67 65 64 4f personateLoggedO 11510 6e 55 73 65 72 28 48 41 4e 44 4c 45 29 3b 0d 0a nUser(HANDLE);.. 11520 09 42 4f 4f 4c 20 49 6d 70 65 72 73 6f 6e 61 74 .BOOL Impersonat 11530 65 4e 61 6d 65 64 50 69 70 65 43 6c 69 65 6e 74 eNamedPipeClient 11540 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c (HANDLE);...BOOL 11550 20 49 6d 70 65 72 73 6f 6e 61 74 65 53 65 6c 66 ImpersonateSelf 11560 28 53 45 43 55 52 49 54 59 5f 49 4d 50 45 52 53 (SECURITY_IMPERS 11570 4f 4e 41 54 49 4f 4e 5f 4c 45 56 45 4c 29 3b 0d ONATION_LEVEL);. 11580 0a 09 42 4f 4f 4c 20 49 6e 69 74 69 61 6c 69 7a ..BOOL Initializ 11590 65 41 63 6c 28 50 41 43 4c 2c 20 44 57 4f 52 44 eAcl(PACL, DWORD 115a0 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 44 57 4f 52 , DWORD);...DWOR 115b0 44 20 53 65 74 43 72 69 74 69 63 61 6c 53 65 63 D SetCriticalSec 115c0 74 69 6f 6e 53 70 69 6e 43 6f 75 6e 74 28 4c 50 tionSpinCount(LP 115d0 43 52 49 54 49 43 41 4c 5f 53 45 43 54 49 4f 4e CRITICAL_SECTION 115e0 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c , DWORD);...BOOL 115f0 20 49 6e 69 74 69 61 6c 69 7a 65 53 65 63 75 72 InitializeSecur 11600 69 74 79 44 65 73 63 72 69 70 74 6f 72 28 50 53 ityDescriptor(PS 11610 45 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 ECURITY_DESCRIPT 11620 4f 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 4f OR, DWORD);...BO 11630 4f 4c 20 49 6e 69 74 69 61 6c 69 7a 65 53 69 64 OL InitializeSid 11640 28 50 53 49 44 2c 20 50 53 49 44 5f 49 44 45 4e (PSID, PSID_IDEN 11650 54 49 46 49 45 52 5f 41 55 54 48 4f 52 49 54 59 TIFIER_AUTHORITY 11660 2c 20 42 59 54 45 29 3b 0d 0a 09 42 4f 4f 4c 20 , BYTE);...BOOL 11670 49 73 50 72 6f 63 65 73 73 6f 72 46 65 61 74 75 IsProcessorFeatu 11680 72 65 50 72 65 73 65 6e 74 28 44 57 4f 52 44 29 rePresent(DWORD) 11690 3b 0d 0a 09 42 4f 4f 4c 20 49 73 54 65 78 74 55 ;...BOOL IsTextU 116a0 6e 69 63 6f 64 65 28 50 43 56 4f 49 44 2c 20 69 nicode(PCVOID, i 116b0 6e 74 2c 20 4c 50 49 4e 54 29 3b 0d 0a 09 42 4f nt, LPINT);...BO 116c0 4f 4c 20 49 73 56 61 6c 69 64 41 63 6c 28 50 41 OL IsValidAcl(PA 116d0 43 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 49 73 56 61 CL);...BOOL IsVa 116e0 6c 69 64 53 65 63 75 72 69 74 79 44 65 73 63 72 lidSecurityDescr 116f0 69 70 74 6f 72 28 50 53 45 43 55 52 49 54 59 5f iptor(PSECURITY_ 11700 44 45 53 43 52 49 50 54 4f 52 29 3b 0d 0a 09 42 DESCRIPTOR);...B 11710 4f 4f 4c 20 49 73 56 61 6c 69 64 53 69 64 28 50 OOL IsValidSid(P 11720 53 49 44 29 3b 0d 0a 09 42 4f 4f 4c 20 4c 6f 63 SID);...BOOL Loc 11730 6b 46 69 6c 65 45 78 28 48 41 4e 44 4c 45 2c 20 kFileEx(HANDLE, 11740 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 DWORD, DWORD, DW 11750 4f 52 44 2c 20 44 57 4f 52 44 2c 20 4c 50 4f 56 ORD, DWORD, LPOV 11760 45 52 4c 41 50 50 45 44 29 3b 0d 0a 09 42 4f 4f ERLAPPED);...BOO 11770 4c 20 4c 6f 67 6f 6e 55 73 65 72 41 28 4c 50 53 L LogonUserA(LPS 11780 54 52 2c 20 4c 50 53 54 52 2c 20 4c 50 53 54 52 TR, LPSTR, LPSTR 11790 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 , DWORD, DWORD, 117a0 50 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c PHANDLE);...BOOL 117b0 20 4c 6f 67 6f 6e 55 73 65 72 57 28 4c 50 57 53 LogonUserW(LPWS 117c0 54 52 2c 20 4c 50 57 53 54 52 2c 20 4c 50 57 53 TR, LPWSTR, LPWS 117d0 54 52 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 TR, DWORD, DWORD 117e0 2c 20 50 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f , PHANDLE);...BO 117f0 4f 4c 20 4c 6f 6f 6b 75 70 41 63 63 6f 75 6e 74 OL LookupAccount 11800 4e 61 6d 65 41 28 4c 50 43 53 54 52 2c 20 4c 50 NameA(LPCSTR, LP 11810 43 53 54 52 2c 20 50 53 49 44 2c 20 50 44 57 4f CSTR, PSID, PDWO 11820 52 44 2c 20 4c 50 53 54 52 2c 20 50 44 57 4f 52 RD, LPSTR, PDWOR 11830 44 2c 20 50 53 49 44 5f 4e 41 4d 45 5f 55 53 45 D, PSID_NAME_USE 11840 29 3b 0d 0a 09 42 4f 4f 4c 20 4c 6f 6f 6b 75 70 );...BOOL Lookup 11850 41 63 63 6f 75 6e 74 4e 61 6d 65 57 28 4c 50 43 AccountNameW(LPC 11860 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 50 WSTR, LPCWSTR, P 11870 53 49 44 2c 20 50 44 57 4f 52 44 2c 20 4c 50 57 SID, PDWORD, LPW 11880 53 54 52 2c 20 50 44 57 4f 52 44 2c 20 50 53 49 STR, PDWORD, PSI 11890 44 5f 4e 41 4d 45 5f 55 53 45 29 3b 0d 0a 09 42 D_NAME_USE);...B 118a0 4f 4f 4c 20 4c 6f 6f 6b 75 70 41 63 63 6f 75 6e OOL LookupAccoun 118b0 74 53 69 64 41 28 4c 50 43 53 54 52 2c 20 50 53 tSidA(LPCSTR, PS 118c0 49 44 2c 20 4c 50 53 54 52 2c 20 50 44 57 4f 52 ID, LPSTR, PDWOR 118d0 44 2c 20 4c 50 53 54 52 2c 20 50 44 57 4f 52 44 D, LPSTR, PDWORD 118e0 2c 20 50 53 49 44 5f 4e 41 4d 45 5f 55 53 45 29 , PSID_NAME_USE) 118f0 3b 0d 0a 09 42 4f 4f 4c 20 4c 6f 6f 6b 75 70 41 ;...BOOL LookupA 11900 63 63 6f 75 6e 74 53 69 64 57 28 4c 50 43 57 53 ccountSidW(LPCWS 11910 54 52 2c 20 50 53 49 44 2c 20 4c 50 57 53 54 52 TR, PSID, LPWSTR 11920 2c 20 50 44 57 4f 52 44 2c 20 4c 50 57 53 54 52 , PDWORD, LPWSTR 11930 2c 20 50 44 57 4f 52 44 2c 20 50 53 49 44 5f 4e , PDWORD, PSID_N 11940 41 4d 45 5f 55 53 45 29 3b 0d 0a 09 42 4f 4f 4c AME_USE);...BOOL 11950 20 4c 6f 6f 6b 75 70 50 72 69 76 69 6c 65 67 65 LookupPrivilege 11960 44 69 73 70 6c 61 79 4e 61 6d 65 41 28 4c 50 43 DisplayNameA(LPC 11970 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 4c 50 53 STR, LPCSTR, LPS 11980 54 52 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f TR, PDWORD, PDWO 11990 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 4c 6f 6f 6b RD);...BOOL Look 119a0 75 70 50 72 69 76 69 6c 65 67 65 44 69 73 70 6c upPrivilegeDispl 119b0 61 79 4e 61 6d 65 57 28 4c 50 43 57 53 54 52 2c ayNameW(LPCWSTR, 119c0 20 4c 50 43 57 53 54 52 2c 20 4c 50 57 53 54 52 LPCWSTR, LPWSTR 119d0 2c 20 50 44 57 4f 52 44 2c 20 50 44 57 4f 52 44 , PDWORD, PDWORD 119e0 29 3b 0d 0a 09 42 4f 4f 4c 20 4c 6f 6f 6b 75 70 );...BOOL Lookup 119f0 50 72 69 76 69 6c 65 67 65 4e 61 6d 65 41 28 4c PrivilegeNameA(L 11a00 50 43 53 54 52 2c 20 50 4c 55 49 44 2c 20 4c 50 PCSTR, PLUID, LP 11a10 53 54 52 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 STR, PDWORD);... 11a20 42 4f 4f 4c 20 4c 6f 6f 6b 75 70 50 72 69 76 69 BOOL LookupPrivi 11a30 6c 65 67 65 4e 61 6d 65 57 28 4c 50 43 57 53 54 legeNameW(LPCWST 11a40 52 2c 20 50 4c 55 49 44 2c 20 4c 50 57 53 54 52 R, PLUID, LPWSTR 11a50 2c 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f , PDWORD);...BOO 11a60 4c 20 4c 6f 6f 6b 75 70 50 72 69 76 69 6c 65 67 L LookupPrivileg 11a70 65 56 61 6c 75 65 41 28 4c 50 43 53 54 52 2c 20 eValueA(LPCSTR, 11a80 4c 50 43 53 54 52 2c 20 50 4c 55 49 44 29 3b 0d LPCSTR, PLUID);. 11a90 0a 09 42 4f 4f 4c 20 4c 6f 6f 6b 75 70 50 72 69 ..BOOL LookupPri 11aa0 76 69 6c 65 67 65 56 61 6c 75 65 57 28 4c 50 43 vilegeValueW(LPC 11ab0 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 50 WSTR, LPCWSTR, P 11ac0 4c 55 49 44 29 3b 0d 0a 09 42 4f 4f 4c 20 4d 61 LUID);...BOOL Ma 11ad0 6b 65 41 62 73 6f 6c 75 74 65 53 44 28 50 53 45 keAbsoluteSD(PSE 11ae0 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f CURITY_DESCRIPTO 11af0 52 2c 20 50 53 45 43 55 52 49 54 59 5f 44 45 53 R, PSECURITY_DES 11b00 43 52 49 50 54 4f 52 2c 20 50 44 57 4f 52 44 2c CRIPTOR, PDWORD, 11b10 20 50 41 43 4c 2c 20 50 44 57 4f 52 44 2c 20 50 PACL, PDWORD, P 11b20 41 43 4c 2c 20 50 44 57 4f 52 44 2c 20 50 53 49 ACL, PDWORD, PSI 11b30 44 2c 20 50 44 57 4f 52 44 2c 20 50 53 49 44 2c D, PDWORD, PSID, 11b40 20 50 44 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c PDWORD);...BOOL 11b50 20 4d 61 6b 65 53 65 6c 66 52 65 6c 61 74 69 76 MakeSelfRelativ 11b60 65 53 44 28 50 53 45 43 55 52 49 54 59 5f 44 45 eSD(PSECURITY_DE 11b70 53 43 52 49 50 54 4f 52 2c 20 50 53 45 43 55 52 SCRIPTOR, PSECUR 11b80 49 54 59 5f 44 45 53 43 52 49 50 54 4f 52 2c 20 ITY_DESCRIPTOR, 11b90 50 44 57 4f 52 44 29 3b 0d 0a 09 56 4f 49 44 20 PDWORD);...VOID 11ba0 4d 61 70 47 65 6e 65 72 69 63 4d 61 73 6b 28 50 MapGenericMask(P 11bb0 44 57 4f 52 44 2c 20 50 47 45 4e 45 52 49 43 5f DWORD, PGENERIC_ 11bc0 4d 41 50 50 49 4e 47 29 3b 0d 0a 09 42 4f 4f 4c MAPPING);...BOOL 11bd0 20 4d 6f 76 65 46 69 6c 65 45 78 41 28 4c 50 43 MoveFileExA(LPC 11be0 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 44 57 4f STR, LPCSTR, DWO 11bf0 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 4d 6f 76 65 RD);...BOOL Move 11c00 46 69 6c 65 45 78 57 28 4c 50 43 57 53 54 52 2c FileExW(LPCWSTR, 11c10 20 4c 50 43 57 53 54 52 2c 20 44 57 4f 52 44 29 LPCWSTR, DWORD) 11c20 3b 0d 0a 09 42 4f 4f 4c 20 4e 6f 74 69 66 79 43 ;...BOOL NotifyC 11c30 68 61 6e 67 65 45 76 65 6e 74 4c 6f 67 28 48 41 hangeEventLog(HA 11c40 4e 44 4c 45 2c 20 48 41 4e 44 4c 45 29 3b 0d 0a NDLE, HANDLE);.. 11c50 09 42 4f 4f 4c 20 4f 62 6a 65 63 74 43 6c 6f 73 .BOOL ObjectClos 11c60 65 41 75 64 69 74 41 6c 61 72 6d 41 28 4c 50 43 eAuditAlarmA(LPC 11c70 53 54 52 2c 20 50 56 4f 49 44 2c 20 42 4f 4f 4c STR, PVOID, BOOL 11c80 29 3b 0d 0a 09 42 4f 4f 4c 20 4f 62 6a 65 63 74 );...BOOL Object 11c90 43 6c 6f 73 65 41 75 64 69 74 41 6c 61 72 6d 57 CloseAuditAlarmW 11ca0 28 4c 50 43 57 53 54 52 2c 20 50 56 4f 49 44 2c (LPCWSTR, PVOID, 11cb0 20 42 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 4f BOOL);...BOOL O 11cc0 62 6a 65 63 74 44 65 6c 65 74 65 41 75 64 69 74 bjectDeleteAudit 11cd0 41 6c 61 72 6d 41 28 4c 50 43 53 54 52 2c 20 50 AlarmA(LPCSTR, P 11ce0 56 4f 49 44 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 42 VOID, BOOL);...B 11cf0 4f 4f 4c 20 4f 62 6a 65 63 74 44 65 6c 65 74 65 OOL ObjectDelete 11d00 41 75 64 69 74 41 6c 61 72 6d 57 28 4c 50 43 57 AuditAlarmW(LPCW 11d10 53 54 52 2c 20 50 56 4f 49 44 2c 20 42 4f 4f 4c STR, PVOID, BOOL 11d20 29 3b 0d 0a 09 42 4f 4f 4c 20 4f 62 6a 65 63 74 );...BOOL Object 11d30 4f 70 65 6e 41 75 64 69 74 41 6c 61 72 6d 41 28 OpenAuditAlarmA( 11d40 4c 50 43 53 54 52 2c 20 50 56 4f 49 44 2c 20 4c LPCSTR, PVOID, L 11d50 50 53 54 52 2c 20 4c 50 53 54 52 2c 20 50 53 45 PSTR, LPSTR, PSE 11d60 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f CURITY_DESCRIPTO 11d70 52 2c 20 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 R, HANDLE, DWORD 11d80 2c 20 44 57 4f 52 44 2c 20 50 50 52 49 56 49 4c , DWORD, PPRIVIL 11d90 45 47 45 5f 53 45 54 2c 20 42 4f 4f 4c 2c 20 42 EGE_SET, BOOL, B 11da0 4f 4f 4c 2c 20 50 42 4f 4f 4c 29 3b 0d 0a 09 42 OOL, PBOOL);...B 11db0 4f 4f 4c 20 4f 62 6a 65 63 74 4f 70 65 6e 41 75 OOL ObjectOpenAu 11dc0 64 69 74 41 6c 61 72 6d 57 28 4c 50 43 57 53 54 ditAlarmW(LPCWST 11dd0 52 2c 20 50 56 4f 49 44 2c 20 4c 50 57 53 54 52 R, PVOID, LPWSTR 11de0 2c 20 4c 50 57 53 54 52 2c 20 50 53 45 43 55 52 , LPWSTR, PSECUR 11df0 49 54 59 5f 44 45 53 43 52 49 50 54 4f 52 2c 20 ITY_DESCRIPTOR, 11e00 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 44 HANDLE, DWORD, D 11e10 57 4f 52 44 2c 20 50 50 52 49 56 49 4c 45 47 45 WORD, PPRIVILEGE 11e20 5f 53 45 54 2c 20 42 4f 4f 4c 2c 20 42 4f 4f 4c _SET, BOOL, BOOL 11e30 2c 20 50 42 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c , PBOOL);...BOOL 11e40 20 4f 62 6a 65 63 74 50 72 69 76 69 6c 65 67 65 ObjectPrivilege 11e50 41 75 64 69 74 41 6c 61 72 6d 41 28 4c 50 43 53 AuditAlarmA(LPCS 11e60 54 52 2c 20 50 56 4f 49 44 2c 20 48 41 4e 44 4c TR, PVOID, HANDL 11e70 45 2c 20 44 57 4f 52 44 2c 20 50 50 52 49 56 49 E, DWORD, PPRIVI 11e80 4c 45 47 45 5f 53 45 54 2c 20 42 4f 4f 4c 29 3b LEGE_SET, BOOL); 11e90 0d 0a 09 42 4f 4f 4c 20 4f 62 6a 65 63 74 50 72 ...BOOL ObjectPr 11ea0 69 76 69 6c 65 67 65 41 75 64 69 74 41 6c 61 72 ivilegeAuditAlar 11eb0 6d 57 28 4c 50 43 57 53 54 52 2c 20 50 56 4f 49 mW(LPCWSTR, PVOI 11ec0 44 2c 20 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 D, HANDLE, DWORD 11ed0 2c 20 50 50 52 49 56 49 4c 45 47 45 5f 53 45 54 , PPRIVILEGE_SET 11ee0 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 48 41 4e 44 4c , BOOL);...HANDL 11ef0 45 20 4f 70 65 6e 42 61 63 6b 75 70 45 76 65 6e E OpenBackupEven 11f00 74 4c 6f 67 41 28 4c 50 43 53 54 52 2c 20 4c 50 tLogA(LPCSTR, LP 11f10 43 53 54 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 CSTR);...HANDLE 11f20 4f 70 65 6e 42 61 63 6b 75 70 45 76 65 6e 74 4c OpenBackupEventL 11f30 6f 67 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 ogW(LPCWSTR, LPC 11f40 57 53 54 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 WSTR);...HANDLE 11f50 4f 70 65 6e 45 76 65 6e 74 4c 6f 67 41 28 4c 50 OpenEventLogA(LP 11f60 43 53 54 52 2c 20 4c 50 43 53 54 52 29 3b 0d 0a CSTR, LPCSTR);.. 11f70 09 48 41 4e 44 4c 45 20 4f 70 65 6e 45 76 65 6e .HANDLE OpenEven 11f80 74 4c 6f 67 57 28 4c 50 43 57 53 54 52 2c 20 4c tLogW(LPCWSTR, L 11f90 50 43 57 53 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 PCWSTR);...BOOL 11fa0 4f 70 65 6e 50 72 6f 63 65 73 73 54 6f 6b 65 6e OpenProcessToken 11fb0 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 (HANDLE, DWORD, 11fc0 50 48 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c PHANDLE);...BOOL 11fd0 20 4f 70 65 6e 54 68 72 65 61 64 54 6f 6b 65 6e OpenThreadToken 11fe0 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 (HANDLE, DWORD, 11ff0 42 4f 4f 4c 2c 20 50 48 41 4e 44 4c 45 29 3b 0d BOOL, PHANDLE);. 12000 0a 09 42 4f 4f 4c 20 50 6f 73 74 51 75 65 75 65 ..BOOL PostQueue 12010 64 43 6f 6d 70 6c 65 74 69 6f 6e 53 74 61 74 75 dCompletionStatu 12020 73 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c s(HANDLE, DWORD, 12030 20 55 4c 4f 4e 47 5f 50 54 52 2c 20 4c 50 4f 56 ULONG_PTR, LPOV 12040 45 52 4c 41 50 50 45 44 29 3b 0d 0a 09 44 57 4f ERLAPPED);...DWO 12050 52 44 20 50 72 65 70 61 72 65 54 61 70 65 28 48 RD PrepareTape(H 12060 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 42 4f ANDLE, DWORD, BO 12070 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 50 72 69 76 OL);...BOOL Priv 12080 69 6c 65 67 65 43 68 65 63 6b 28 48 41 4e 44 4c ilegeCheck(HANDL 12090 45 2c 20 50 50 52 49 56 49 4c 45 47 45 5f 53 45 E, PPRIVILEGE_SE 120a0 54 2c 20 50 42 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f T, PBOOL);...BOO 120b0 4c 20 50 72 69 76 69 6c 65 67 65 64 53 65 72 76 L PrivilegedServ 120c0 69 63 65 41 75 64 69 74 41 6c 61 72 6d 41 28 4c iceAuditAlarmA(L 120d0 50 43 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 48 PCSTR, LPCSTR, H 120e0 41 4e 44 4c 45 2c 20 50 50 52 49 56 49 4c 45 47 ANDLE, PPRIVILEG 120f0 45 5f 53 45 54 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 E_SET, BOOL);... 12100 42 4f 4f 4c 20 50 72 69 76 69 6c 65 67 65 64 53 BOOL PrivilegedS 12110 65 72 76 69 63 65 41 75 64 69 74 41 6c 61 72 6d erviceAuditAlarm 12120 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 W(LPCWSTR, LPCWS 12130 54 52 2c 20 48 41 4e 44 4c 45 2c 20 50 50 52 49 TR, HANDLE, PPRI 12140 56 49 4c 45 47 45 5f 53 45 54 2c 20 42 4f 4f 4c VILEGE_SET, BOOL 12150 29 3b 0d 0a 09 42 4f 4f 4c 20 52 65 61 64 44 69 );...BOOL ReadDi 12160 72 65 63 74 6f 72 79 43 68 61 6e 67 65 73 57 28 rectoryChangesW( 12170 48 41 4e 44 4c 45 2c 20 50 56 4f 49 44 2c 20 44 HANDLE, PVOID, D 12180 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 44 57 4f 52 WORD, BOOL, DWOR 12190 44 2c 20 50 44 57 4f 52 44 2c 20 4c 50 4f 56 45 D, PDWORD, LPOVE 121a0 52 4c 41 50 50 45 44 2c 20 4c 50 4f 56 45 52 4c RLAPPED, LPOVERL 121b0 41 50 50 45 44 5f 43 4f 4d 50 4c 45 54 49 4f 4e APPED_COMPLETION 121c0 5f 52 4f 55 54 49 4e 45 29 3b 0d 0a 09 42 4f 4f _ROUTINE);...BOO 121d0 4c 20 52 65 61 64 45 76 65 6e 74 4c 6f 67 41 28 L ReadEventLogA( 121e0 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 44 HANDLE, DWORD, D 121f0 57 4f 52 44 2c 20 50 56 4f 49 44 2c 20 44 57 4f WORD, PVOID, DWO 12200 52 44 2c 20 44 57 4f 52 44 2a 2c 20 44 57 4f 52 RD, DWORD*, DWOR 12210 44 2a 29 3b 0d 0a 09 42 4f 4f 4c 20 52 65 61 64 D*);...BOOL Read 12220 45 76 65 6e 74 4c 6f 67 57 28 48 41 4e 44 4c 45 EventLogW(HANDLE 12230 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 , DWORD, DWORD, 12240 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 44 57 PVOID, DWORD, DW 12250 4f 52 44 2a 2c 20 44 57 4f 52 44 2a 29 3b 0d 0a ORD*, DWORD*);.. 12260 09 42 4f 4f 4c 20 52 65 61 64 46 69 6c 65 53 63 .BOOL ReadFileSc 12270 61 74 74 65 72 28 48 41 4e 44 4c 45 2c 20 46 49 atter(HANDLE, FI 12280 4c 45 5f 53 45 47 4d 45 4e 54 5f 45 4c 45 4d 45 LE_SEGMENT_ELEME 12290 4e 54 2a 2c 20 44 57 4f 52 44 2c 20 4c 50 44 57 NT*, DWORD, LPDW 122a0 4f 52 44 2c 20 4c 50 4f 56 45 52 4c 41 50 50 45 ORD, LPOVERLAPPE 122b0 44 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 52 65 67 D);...HANDLE Reg 122c0 69 73 74 65 72 45 76 65 6e 74 53 6f 75 72 63 65 isterEventSource 122d0 41 20 28 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 A (LPCSTR, LPCST 122e0 52 29 3b 0d 0a 09 48 41 4e 44 4c 45 20 52 65 67 R);...HANDLE Reg 122f0 69 73 74 65 72 45 76 65 6e 74 53 6f 75 72 63 65 isterEventSource 12300 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 W(LPCWSTR, LPCWS 12310 54 52 29 3b 0d 0a 09 42 4f 4f 4c 20 52 65 70 6f TR);...BOOL Repo 12320 72 74 45 76 65 6e 74 41 28 48 41 4e 44 4c 45 2c rtEventA(HANDLE, 12330 20 57 4f 52 44 2c 20 57 4f 52 44 2c 20 44 57 4f WORD, WORD, DWO 12340 52 44 2c 20 50 53 49 44 2c 20 57 4f 52 44 2c 20 RD, PSID, WORD, 12350 44 57 4f 52 44 2c 20 4c 50 43 53 54 52 2a 2c 20 DWORD, LPCSTR*, 12360 50 56 4f 49 44 29 3b 0d 0a 09 42 4f 4f 4c 20 52 PVOID);...BOOL R 12370 65 70 6f 72 74 45 76 65 6e 74 57 28 48 41 4e 44 eportEventW(HAND 12380 4c 45 2c 20 57 4f 52 44 2c 20 57 4f 52 44 2c 20 LE, WORD, WORD, 12390 44 57 4f 52 44 2c 20 50 53 49 44 2c 20 57 4f 52 DWORD, PSID, WOR 123a0 44 2c 20 44 57 4f 52 44 2c 20 4c 50 43 57 53 54 D, DWORD, LPCWST 123b0 52 2a 2c 20 50 56 4f 49 44 29 3b 0d 0a 09 42 4f R*, PVOID);...BO 123c0 4f 4c 20 52 65 76 65 72 74 54 6f 53 65 6c 66 28 OL RevertToSelf( 123d0 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 41 63 6c );...BOOL SetAcl 123e0 49 6e 66 6f 72 6d 61 74 69 6f 6e 28 50 41 43 4c Information(PACL 123f0 2c 20 50 56 4f 49 44 2c 20 44 57 4f 52 44 2c 20 , PVOID, DWORD, 12400 41 43 4c 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e 5f ACL_INFORMATION_ 12410 43 4c 41 53 53 29 3b 0d 0a 09 42 4f 4f 4c 20 53 CLASS);...BOOL S 12420 65 74 46 69 6c 65 53 65 63 75 72 69 74 79 41 28 etFileSecurityA( 12430 4c 50 43 53 54 52 2c 20 53 45 43 55 52 49 54 59 LPCSTR, SECURITY 12440 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e 2c 20 50 53 _INFORMATION, PS 12450 45 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 ECURITY_DESCRIPT 12460 4f 52 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 46 OR);...BOOL SetF 12470 69 6c 65 53 65 63 75 72 69 74 79 57 28 4c 50 43 ileSecurityW(LPC 12480 57 53 54 52 2c 20 53 45 43 55 52 49 54 59 5f 49 WSTR, SECURITY_I 12490 4e 46 4f 52 4d 41 54 49 4f 4e 2c 20 50 53 45 43 NFORMATION, PSEC 124a0 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f 52 URITY_DESCRIPTOR 124b0 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 48 61 6e );...BOOL SetHan 124c0 64 6c 65 49 6e 66 6f 72 6d 61 74 69 6f 6e 28 48 dleInformation(H 124d0 41 4e 44 4c 45 2c 20 44 57 4f 52 44 2c 20 44 57 ANDLE, DWORD, DW 124e0 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 ORD);...BOOL Set 124f0 4b 65 72 6e 65 6c 4f 62 6a 65 63 74 53 65 63 75 KernelObjectSecu 12500 72 69 74 79 28 48 41 4e 44 4c 45 2c 20 53 45 43 rity(HANDLE, SEC 12510 55 52 49 54 59 5f 49 4e 46 4f 52 4d 41 54 49 4f URITY_INFORMATIO 12520 4e 2c 20 50 53 45 43 55 52 49 54 59 5f 44 45 53 N, PSECURITY_DES 12530 43 52 49 50 54 4f 52 29 3b 0d 0a 09 42 4f 4f 4c CRIPTOR);...BOOL 12540 20 53 65 74 50 72 69 76 61 74 65 4f 62 6a 65 63 SetPrivateObjec 12550 74 53 65 63 75 72 69 74 79 28 53 45 43 55 52 49 tSecurity(SECURI 12560 54 59 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e 2c 20 TY_INFORMATION, 12570 50 53 45 43 55 52 49 54 59 5f 44 45 53 43 52 49 PSECURITY_DESCRI 12580 50 54 4f 52 2c 20 50 53 45 43 55 52 49 54 59 5f PTOR, PSECURITY_ 12590 44 45 53 43 52 49 50 54 4f 52 2a 2c 20 50 47 45 DESCRIPTOR*, PGE 125a0 4e 45 52 49 43 5f 4d 41 50 50 49 4e 47 2c 20 48 NERIC_MAPPING, H 125b0 41 4e 44 4c 45 29 3b 0d 0a 09 42 4f 4f 4c 20 53 ANDLE);...BOOL S 125c0 65 74 50 72 6f 63 65 73 73 41 66 66 69 6e 69 74 etProcessAffinit 125d0 79 4d 61 73 6b 28 48 41 4e 44 4c 45 2c 20 44 57 yMask(HANDLE, DW 125e0 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 ORD);...BOOL Set 125f0 50 72 6f 63 65 73 73 50 72 69 6f 72 69 74 79 42 ProcessPriorityB 12600 6f 6f 73 74 28 48 41 4e 44 4c 45 2c 20 42 4f 4f oost(HANDLE, BOO 12610 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 50 72 L);...BOOL SetPr 12620 6f 63 65 73 73 53 68 75 74 64 6f 77 6e 50 61 72 ocessShutdownPar 12630 61 6d 65 74 65 72 73 28 44 57 4f 52 44 2c 20 44 ameters(DWORD, D 12640 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 WORD);...BOOL Se 12650 74 50 72 6f 63 65 73 73 57 6f 72 6b 69 6e 67 53 tProcessWorkingS 12660 65 74 53 69 7a 65 28 48 41 4e 44 4c 45 2c 20 53 etSize(HANDLE, S 12670 49 5a 45 5f 54 2c 20 53 49 5a 45 5f 54 29 3b 0d IZE_T, SIZE_T);. 12680 0a 09 42 4f 4f 4c 20 53 65 74 53 65 63 75 72 69 ..BOOL SetSecuri 12690 74 79 44 65 73 63 72 69 70 74 6f 72 44 61 63 6c tyDescriptorDacl 126a0 28 50 53 45 43 55 52 49 54 59 5f 44 45 53 43 52 (PSECURITY_DESCR 126b0 49 50 54 4f 52 2c 20 42 4f 4f 4c 2c 20 50 41 43 IPTOR, BOOL, PAC 126c0 4c 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c L, BOOL);...BOOL 126d0 20 53 65 74 53 65 63 75 72 69 74 79 44 65 73 63 SetSecurityDesc 126e0 72 69 70 74 6f 72 47 72 6f 75 70 28 50 53 45 43 riptorGroup(PSEC 126f0 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f 52 URITY_DESCRIPTOR 12700 2c 20 50 53 49 44 2c 20 42 4f 4f 4c 29 3b 0d 0a , PSID, BOOL);.. 12710 09 42 4f 4f 4c 20 53 65 74 53 65 63 75 72 69 74 .BOOL SetSecurit 12720 79 44 65 73 63 72 69 70 74 6f 72 4f 77 6e 65 72 yDescriptorOwner 12730 28 50 53 45 43 55 52 49 54 59 5f 44 45 53 43 52 (PSECURITY_DESCR 12740 49 50 54 4f 52 2c 20 50 53 49 44 2c 20 42 4f 4f IPTOR, PSID, BOO 12750 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 53 65 L);...BOOL SetSe 12760 63 75 72 69 74 79 44 65 73 63 72 69 70 74 6f 72 curityDescriptor 12770 53 61 63 6c 28 50 53 45 43 55 52 49 54 59 5f 44 Sacl(PSECURITY_D 12780 45 53 43 52 49 50 54 4f 52 2c 20 42 4f 4f 4c 2c ESCRIPTOR, BOOL, 12790 20 50 41 43 4c 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 PACL, BOOL);... 127a0 42 4f 4f 4c 20 53 65 74 53 79 73 74 65 6d 54 69 BOOL SetSystemTi 127b0 6d 65 41 64 6a 75 73 74 6d 65 6e 74 28 44 57 4f meAdjustment(DWO 127c0 52 44 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 44 57 4f RD, BOOL);...DWO 127d0 52 44 20 53 65 74 54 61 70 65 50 61 72 61 6d 65 RD SetTapeParame 127e0 74 65 72 73 28 48 41 4e 44 4c 45 2c 20 44 57 4f ters(HANDLE, DWO 127f0 52 44 2c 20 50 56 4f 49 44 29 3b 0d 0a 09 44 57 RD, PVOID);...DW 12800 4f 52 44 20 53 65 74 54 61 70 65 50 6f 73 69 74 ORD SetTapePosit 12810 69 6f 6e 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 ion(HANDLE, DWOR 12820 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c D, DWORD, DWORD, 12830 20 44 57 4f 52 44 2c 20 42 4f 4f 4c 29 3b 0d 0a DWORD, BOOL);.. 12840 09 42 4f 4f 4c 20 53 65 74 54 68 72 65 61 64 50 .BOOL SetThreadP 12850 72 69 6f 72 69 74 79 42 6f 6f 73 74 28 48 41 4e riorityBoost(HAN 12860 44 4c 45 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 42 4f DLE, BOOL);...BO 12870 4f 4c 20 53 65 74 54 68 72 65 61 64 54 6f 6b 65 OL SetThreadToke 12880 6e 28 50 48 41 4e 44 4c 45 2c 20 48 41 4e 44 4c n(PHANDLE, HANDL 12890 45 29 3b 0d 0a 09 42 4f 4f 4c 20 53 65 74 54 6f E);...BOOL SetTo 128a0 6b 65 6e 49 6e 66 6f 72 6d 61 74 69 6f 6e 28 48 kenInformation(H 128b0 41 4e 44 4c 45 2c 20 54 4f 4b 45 4e 5f 49 4e 46 ANDLE, TOKEN_INF 128c0 4f 52 4d 41 54 49 4f 4e 5f 43 4c 41 53 53 2c 20 ORMATION_CLASS, 128d0 50 56 4f 49 44 2c 20 44 57 4f 52 44 29 3b 0d 0a PVOID, DWORD);.. 128e0 09 44 57 4f 52 44 20 53 69 67 6e 61 6c 4f 62 6a .DWORD SignalObj 128f0 65 63 74 41 6e 64 57 61 69 74 28 48 41 4e 44 4c ectAndWait(HANDL 12900 45 2c 20 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 E, HANDLE, DWORD 12910 2c 20 42 4f 4f 4c 29 3b 0d 0a 09 42 4f 4f 4c 20 , BOOL);...BOOL 12920 53 77 69 74 63 68 54 6f 54 68 72 65 61 64 28 29 SwitchToThread() 12930 3b 0d 0a 09 42 4f 4f 4c 20 53 79 73 74 65 6d 54 ;...BOOL SystemT 12940 69 6d 65 54 6f 54 7a 53 70 65 63 69 66 69 63 4c imeToTzSpecificL 12950 6f 63 61 6c 54 69 6d 65 28 4c 50 54 49 4d 45 5f ocalTime(LPTIME_ 12960 5a 4f 4e 45 5f 49 4e 46 4f 52 4d 41 54 49 4f 4e ZONE_INFORMATION 12970 2c 20 4c 50 53 59 53 54 45 4d 54 49 4d 45 2c 20 , LPSYSTEMTIME, 12980 4c 50 53 59 53 54 45 4d 54 49 4d 45 29 3b 0d 0a LPSYSTEMTIME);.. 12990 09 42 4f 4f 4c 20 54 72 79 45 6e 74 65 72 43 72 .BOOL TryEnterCr 129a0 69 74 69 63 61 6c 53 65 63 74 69 6f 6e 28 4c 50 iticalSection(LP 129b0 43 52 49 54 49 43 41 4c 5f 53 45 43 54 49 4f 4e CRITICAL_SECTION 129c0 29 3b 0d 0a 09 42 4f 4f 4c 20 55 6e 6c 6f 63 6b );...BOOL Unlock 129d0 46 69 6c 65 45 78 28 48 41 4e 44 4c 45 2c 20 44 FileEx(HANDLE, D 129e0 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f WORD, DWORD, DWO 129f0 52 44 2c 20 4c 50 4f 56 45 52 4c 41 50 50 45 44 RD, LPOVERLAPPED 12a00 29 3b 0d 0a 09 42 4f 4f 4c 20 55 70 64 61 74 65 );...BOOL Update 12a10 52 65 73 6f 75 72 63 65 41 28 48 41 4e 44 4c 45 ResourceA(HANDLE 12a20 2c 20 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 , LPCSTR, LPCSTR 12a30 2c 20 57 4f 52 44 2c 20 50 56 4f 49 44 2c 20 44 , WORD, PVOID, D 12a40 57 4f 52 44 29 3b 0d 0a 09 42 4f 4f 4c 20 55 70 WORD);...BOOL Up 12a50 64 61 74 65 52 65 73 6f 75 72 63 65 57 28 48 41 dateResourceW(HA 12a60 4e 44 4c 45 2c 20 4c 50 43 57 53 54 52 2c 20 4c NDLE, LPCWSTR, L 12a70 50 43 57 53 54 52 2c 20 57 4f 52 44 2c 20 50 56 PCWSTR, WORD, PV 12a80 4f 49 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 42 OID, DWORD);...B 12a90 4f 4f 4c 20 57 72 69 74 65 46 69 6c 65 47 61 74 OOL WriteFileGat 12aa0 68 65 72 28 48 41 4e 44 4c 45 2c 20 46 49 4c 45 her(HANDLE, FILE 12ab0 5f 53 45 47 4d 45 4e 54 5f 45 4c 45 4d 45 4e 54 _SEGMENT_ELEMENT 12ac0 2a 2c 20 44 57 4f 52 44 2c 20 4c 50 44 57 4f 52 *, DWORD, LPDWOR 12ad0 44 2c 20 4c 50 4f 56 45 52 4c 41 50 50 45 44 29 D, LPOVERLAPPED) 12ae0 3b 0d 0a 09 44 57 4f 52 44 20 57 72 69 74 65 54 ;...DWORD WriteT 12af0 61 70 65 6d 61 72 6b 28 48 41 4e 44 4c 45 2c 20 apemark(HANDLE, 12b00 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 42 4f DWORD, DWORD, BO 12b10 4f 4c 29 3b 0d 0a 0d 0a 09 73 74 61 74 69 63 20 OL);.....static 12b20 69 66 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 if (_WIN32_WINNT 12b30 20 3e 3d 20 30 78 35 30 30 29 20 7b 0d 0a 09 09 >= 0x500) {.... 12b40 42 4f 4f 4c 20 41 64 64 41 63 63 65 73 73 41 6c BOOL AddAccessAl 12b50 6c 6f 77 65 64 41 63 65 45 78 28 50 41 43 4c 2c lowedAceEx(PACL, 12b60 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 DWORD, DWORD, D 12b70 57 4f 52 44 2c 20 50 53 49 44 29 3b 0d 0a 09 09 WORD, PSID);.... 12b80 42 4f 4f 4c 20 41 64 64 41 63 63 65 73 73 44 65 BOOL AddAccessDe 12b90 6e 69 65 64 41 63 65 45 78 28 50 41 43 4c 2c 20 niedAceEx(PACL, 12ba0 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 DWORD, DWORD, DW 12bb0 4f 52 44 2c 20 50 53 49 44 29 3b 0d 0a 09 09 50 ORD, PSID);....P 12bc0 56 4f 49 44 20 41 64 64 56 65 63 74 6f 72 65 64 VOID AddVectored 12bd0 45 78 63 65 70 74 69 6f 6e 48 61 6e 64 6c 65 72 ExceptionHandler 12be0 28 55 4c 4f 4e 47 2c 20 50 56 45 43 54 4f 52 45 (ULONG, PVECTORE 12bf0 44 5f 45 58 43 45 50 54 49 4f 4e 5f 48 41 4e 44 D_EXCEPTION_HAND 12c00 4c 45 52 29 3b 0d 0a 09 09 42 4f 4f 4c 20 41 6c LER);....BOOL Al 12c10 6c 6f 63 61 74 65 55 73 65 72 50 68 79 73 69 63 locateUserPhysic 12c20 61 6c 50 61 67 65 73 28 48 41 4e 44 4c 45 2c 20 alPages(HANDLE, 12c30 50 55 4c 4f 4e 47 5f 50 54 52 2c 20 50 55 4c 4f PULONG_PTR, PULO 12c40 4e 47 5f 50 54 52 29 3b 0d 0a 09 09 42 4f 4f 4c NG_PTR);....BOOL 12c50 20 41 73 73 69 67 6e 50 72 6f 63 65 73 73 54 6f AssignProcessTo 12c60 4a 6f 62 4f 62 6a 65 63 74 28 48 41 4e 44 4c 45 JobObject(HANDLE 12c70 2c 20 48 41 4e 44 4c 45 29 3b 0d 0a 09 09 42 4f , HANDLE);....BO 12c80 4f 4c 20 43 68 61 6e 67 65 54 69 6d 65 72 51 75 OL ChangeTimerQu 12c90 65 75 65 54 69 6d 65 72 28 48 41 4e 44 4c 45 2c eueTimer(HANDLE, 12ca0 48 41 4e 44 4c 45 2c 55 4c 4f 4e 47 2c 55 4c 4f HANDLE,ULONG,ULO 12cb0 4e 47 29 3b 0d 0a 09 09 4c 50 56 4f 49 44 20 43 NG);....LPVOID C 12cc0 72 65 61 74 65 46 69 62 65 72 45 78 28 53 49 5a reateFiberEx(SIZ 12cd0 45 5f 54 2c 20 53 49 5a 45 5f 54 2c 20 44 57 4f E_T, SIZE_T, DWO 12ce0 52 44 2c 20 4c 50 46 49 42 45 52 5f 53 54 41 52 RD, LPFIBER_STAR 12cf0 54 5f 52 4f 55 54 49 4e 45 2c 20 4c 50 56 4f 49 T_ROUTINE, LPVOI 12d00 44 29 3b 0d 0a 09 09 48 41 4e 44 4c 45 20 43 72 D);....HANDLE Cr 12d10 65 61 74 65 46 69 6c 65 4d 61 70 70 69 6e 67 41 eateFileMappingA 12d20 28 48 41 4e 44 4c 45 2c 20 4c 50 53 45 43 55 52 (HANDLE, LPSECUR 12d30 49 54 59 5f 41 54 54 52 49 42 55 54 45 53 2c 20 ITY_ATTRIBUTES, 12d40 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 44 57 DWORD, DWORD, DW 12d50 4f 52 44 2c 20 4c 50 43 53 54 52 29 3b 0d 0a 09 ORD, LPCSTR);... 12d60 09 48 41 4e 44 4c 45 20 43 72 65 61 74 65 46 69 .HANDLE CreateFi 12d70 6c 65 4d 61 70 70 69 6e 67 57 28 48 41 4e 44 4c leMappingW(HANDL 12d80 45 2c 20 4c 50 53 45 43 55 52 49 54 59 5f 41 54 E, LPSECURITY_AT 12d90 54 52 49 42 55 54 45 53 2c 20 44 57 4f 52 44 2c TRIBUTES, DWORD, 12da0 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 4c DWORD, DWORD, L 12db0 50 43 57 53 54 52 29 3b 0d 0a 09 09 42 4f 4f 4c PCWSTR);....BOOL 12dc0 20 43 72 65 61 74 65 48 61 72 64 4c 69 6e 6b 41 CreateHardLinkA 12dd0 28 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 52 2c (LPCSTR, LPCSTR, 12de0 20 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 LPSECURITY_ATTR 12df0 49 42 55 54 45 53 29 3b 0d 0a 09 09 42 4f 4f 4c IBUTES);....BOOL 12e00 20 43 72 65 61 74 65 48 61 72 64 4c 69 6e 6b 57 CreateHardLinkW 12e10 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 54 (LPCWSTR, LPCWST 12e20 52 2c 20 4c 50 53 45 43 55 52 49 54 59 5f 41 54 R, LPSECURITY_AT 12e30 54 52 49 42 55 54 45 53 29 3b 0d 0a 09 09 48 41 TRIBUTES);....HA 12e40 4e 44 4c 45 20 43 72 65 61 74 65 4a 6f 62 4f 62 NDLE CreateJobOb 12e50 6a 65 63 74 41 28 4c 50 53 45 43 55 52 49 54 59 jectA(LPSECURITY 12e60 5f 41 54 54 52 49 42 55 54 45 53 2c 20 4c 50 43 _ATTRIBUTES, LPC 12e70 53 54 52 29 3b 0d 0a 09 09 48 41 4e 44 4c 45 20 STR);....HANDLE 12e80 43 72 65 61 74 65 4a 6f 62 4f 62 6a 65 63 74 57 CreateJobObjectW 12e90 28 4c 50 53 45 43 55 52 49 54 59 5f 41 54 54 52 (LPSECURITY_ATTR 12ea0 49 42 55 54 45 53 2c 20 4c 50 43 57 53 54 52 29 IBUTES, LPCWSTR) 12eb0 3b 0d 0a 09 09 42 4f 4f 4c 20 43 72 65 61 74 65 ;....BOOL Create 12ec0 50 72 6f 63 65 73 73 57 69 74 68 4c 6f 67 6f 6e ProcessWithLogon 12ed0 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 W(LPCWSTR, LPCWS 12ee0 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 44 57 4f TR, LPCWSTR, DWO 12ef0 52 44 2c 20 4c 50 43 57 53 54 52 2c 20 4c 50 57 RD, LPCWSTR, LPW 12f00 53 54 52 2c 20 44 57 4f 52 44 2c 20 4c 50 56 4f STR, DWORD, LPVO 12f10 49 44 2c 20 4c 50 43 57 53 54 52 2c 20 4c 50 53 ID, LPCWSTR, LPS 12f20 54 41 52 54 55 50 49 4e 46 4f 57 2c 20 4c 50 50 TARTUPINFOW, LPP 12f30 52 4f 43 45 53 53 5f 49 4e 46 4f 52 4d 41 54 49 ROCESS_INFORMATI 12f40 4f 4e 29 3b 0d 0a 09 09 48 41 4e 44 4c 45 20 43 ON);....HANDLE C 12f50 72 65 61 74 65 54 69 6d 65 72 51 75 65 75 65 28 reateTimerQueue( 12f60 29 3b 0d 0a 09 09 42 4f 4f 4c 20 43 72 65 61 74 );....BOOL Creat 12f70 65 54 69 6d 65 72 51 75 65 75 65 54 69 6d 65 72 eTimerQueueTimer 12f80 28 50 48 41 4e 44 4c 45 2c 20 48 41 4e 44 4c 45 (PHANDLE, HANDLE 12f90 2c 20 57 41 49 54 4f 52 54 49 4d 45 52 43 41 4c , WAITORTIMERCAL 12fa0 4c 42 41 43 4b 2c 20 50 56 4f 49 44 2c 20 44 57 LBACK, PVOID, DW 12fb0 4f 52 44 2c 20 44 57 4f 52 44 2c 20 55 4c 4f 4e ORD, DWORD, ULON 12fc0 47 29 3b 0d 0a 09 09 42 4f 4f 4c 20 44 65 6c 65 G);....BOOL Dele 12fd0 74 65 54 69 6d 65 72 51 75 65 75 65 28 48 41 4e teTimerQueue(HAN 12fe0 44 4c 45 29 3b 0d 0a 09 09 42 4f 4f 4c 20 44 65 DLE);....BOOL De 12ff0 6c 65 74 65 54 69 6d 65 72 51 75 65 75 65 45 78 leteTimerQueueEx 13000 28 48 41 4e 44 4c 45 2c 20 48 41 4e 44 4c 45 29 (HANDLE, HANDLE) 13010 3b 0d 0a 09 09 42 4f 4f 4c 20 44 65 6c 65 74 65 ;....BOOL Delete 13020 54 69 6d 65 72 51 75 65 75 65 54 69 6d 65 72 28 TimerQueueTimer( 13030 48 41 4e 44 4c 45 2c 20 48 41 4e 44 4c 45 2c 20 HANDLE, HANDLE, 13040 48 41 4e 44 4c 45 29 3b 0d 0a 09 09 42 4f 4f 4c HANDLE);....BOOL 13050 20 44 65 6c 65 74 65 56 6f 6c 75 6d 65 4d 6f 75 DeleteVolumeMou 13060 6e 74 50 6f 69 6e 74 41 28 4c 50 43 53 54 52 29 ntPointA(LPCSTR) 13070 3b 0d 0a 09 09 42 4f 4f 4c 20 44 65 6c 65 74 65 ;....BOOL Delete 13080 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 VolumeMountPoint 13090 57 28 4c 50 43 57 53 54 52 29 3b 0d 0a 09 09 42 W(LPCWSTR);....B 130a0 4f 4f 4c 20 44 6e 73 48 6f 73 74 6e 61 6d 65 54 OOL DnsHostnameT 130b0 6f 43 6f 6d 70 75 74 65 72 4e 61 6d 65 41 28 4c oComputerNameA(L 130c0 50 43 53 54 52 2c 20 4c 50 53 54 52 2c 20 4c 50 PCSTR, LPSTR, LP 130d0 44 57 4f 52 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 DWORD);....BOOL 130e0 44 6e 73 48 6f 73 74 6e 61 6d 65 54 6f 43 6f 6d DnsHostnameToCom 130f0 70 75 74 65 72 4e 61 6d 65 57 28 4c 50 43 57 53 puterNameW(LPCWS 13100 54 52 2c 20 4c 50 57 53 54 52 2c 20 4c 50 44 57 TR, LPWSTR, LPDW 13110 4f 52 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 45 6e ORD);....BOOL En 13120 63 72 79 70 74 46 69 6c 65 41 28 4c 50 43 53 54 cryptFileA(LPCST 13130 52 29 3b 0d 0a 09 09 42 4f 4f 4c 20 45 6e 63 72 R);....BOOL Encr 13140 79 70 74 46 69 6c 65 57 28 4c 50 43 57 53 54 52 yptFileW(LPCWSTR 13150 29 3b 0d 0a 09 09 42 4f 4f 4c 20 46 69 6c 65 45 );....BOOL FileE 13160 6e 63 72 79 70 74 69 6f 6e 53 74 61 74 75 73 41 ncryptionStatusA 13170 28 4c 50 43 53 54 52 2c 20 4c 50 44 57 4f 52 44 (LPCSTR, LPDWORD 13180 29 3b 0d 0a 09 09 42 4f 4f 4c 20 46 69 6c 65 45 );....BOOL FileE 13190 6e 63 72 79 70 74 69 6f 6e 53 74 61 74 75 73 57 ncryptionStatusW 131a0 28 4c 50 43 57 53 54 52 2c 20 4c 50 44 57 4f 52 (LPCWSTR, LPDWOR 131b0 44 29 3b 0d 0a 09 09 48 41 4e 44 4c 45 20 46 69 D);....HANDLE Fi 131c0 6e 64 46 69 72 73 74 56 6f 6c 75 6d 65 41 28 4c ndFirstVolumeA(L 131d0 50 43 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a PCSTR, DWORD);.. 131e0 09 09 48 41 4e 44 4c 45 20 46 69 6e 64 46 69 72 ..HANDLE FindFir 131f0 73 74 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 stVolumeMountPoi 13200 6e 74 41 28 4c 50 53 54 52 2c 20 4c 50 53 54 52 ntA(LPSTR, LPSTR 13210 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 09 48 41 4e , DWORD);....HAN 13220 44 4c 45 20 46 69 6e 64 46 69 72 73 74 56 6f 6c DLE FindFirstVol 13230 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 57 28 4c umeMountPointW(L 13240 50 57 53 54 52 2c 20 4c 50 57 53 54 52 2c 20 44 PWSTR, LPWSTR, D 13250 57 4f 52 44 29 3b 0d 0a 09 09 48 41 4e 44 4c 45 WORD);....HANDLE 13260 20 46 69 6e 64 46 69 72 73 74 56 6f 6c 75 6d 65 FindFirstVolume 13270 57 28 4c 50 43 57 53 54 52 2c 20 44 57 4f 52 44 W(LPCWSTR, DWORD 13280 29 3b 0d 0a 09 09 42 4f 4f 4c 20 46 69 6e 64 4e );....BOOL FindN 13290 65 78 74 56 6f 6c 75 6d 65 41 28 48 41 4e 44 4c extVolumeA(HANDL 132a0 45 2c 20 4c 50 43 53 54 52 2c 20 44 57 4f 52 44 E, LPCSTR, DWORD 132b0 29 3b 0d 0a 09 09 42 4f 4f 4c 20 46 69 6e 64 4e );....BOOL FindN 132c0 65 78 74 56 6f 6c 75 6d 65 57 28 48 41 4e 44 4c extVolumeW(HANDL 132d0 45 2c 20 4c 50 57 53 54 52 2c 20 44 57 4f 52 44 E, LPWSTR, DWORD 132e0 29 3b 0d 0a 09 09 42 4f 4f 4c 20 46 69 6e 64 4e );....BOOL FindN 132f0 65 78 74 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f extVolumeMountPo 13300 69 6e 74 41 28 48 41 4e 44 4c 45 2c 20 4c 50 53 intA(HANDLE, LPS 13310 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 09 42 TR, DWORD);....B 13320 4f 4f 4c 20 46 69 6e 64 4e 65 78 74 56 6f 6c 75 OOL FindNextVolu 13330 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 57 28 48 41 meMountPointW(HA 13340 4e 44 4c 45 2c 20 4c 50 57 53 54 52 2c 20 44 57 NDLE, LPWSTR, DW 13350 4f 52 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 46 69 ORD);....BOOL Fi 13360 6e 64 56 6f 6c 75 6d 65 43 6c 6f 73 65 28 48 41 ndVolumeClose(HA 13370 4e 44 4c 45 29 3b 0d 0a 09 09 42 4f 4f 4c 20 46 NDLE);....BOOL F 13380 69 6e 64 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f indVolumeMountPo 13390 69 6e 74 43 6c 6f 73 65 28 48 41 4e 44 4c 45 29 intClose(HANDLE) 133a0 3b 0d 0a 09 09 42 4f 4f 4c 20 46 6c 75 73 68 56 ;....BOOL FlushV 133b0 69 65 77 4f 66 46 69 6c 65 28 50 43 56 4f 49 44 iewOfFile(PCVOID 133c0 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 09 42 4f 4f , DWORD);....BOO 133d0 4c 20 46 72 65 65 55 73 65 72 50 68 79 73 69 63 L FreeUserPhysic 133e0 61 6c 50 61 67 65 73 28 48 41 4e 44 4c 45 2c 20 alPages(HANDLE, 133f0 50 55 4c 4f 4e 47 5f 50 54 52 2c 20 50 55 4c 4f PULONG_PTR, PULO 13400 4e 47 5f 50 54 52 29 3b 0d 0a 09 09 42 4f 4f 4c NG_PTR);....BOOL 13410 20 47 65 74 43 6f 6d 70 75 74 65 72 4e 61 6d 65 GetComputerName 13420 45 78 41 28 43 4f 4d 50 55 54 45 52 5f 4e 41 4d ExA(COMPUTER_NAM 13430 45 5f 46 4f 52 4d 41 54 2c 20 4c 50 53 54 52 2c E_FORMAT, LPSTR, 13440 20 4c 50 44 57 4f 52 44 29 3b 0d 0a 09 09 42 4f LPDWORD);....BO 13450 4f 4c 20 47 65 74 43 6f 6d 70 75 74 65 72 4e 61 OL GetComputerNa 13460 6d 65 45 78 57 28 43 4f 4d 50 55 54 45 52 5f 4e meExW(COMPUTER_N 13470 41 4d 45 5f 46 4f 52 4d 41 54 2c 20 4c 50 57 53 AME_FORMAT, LPWS 13480 54 52 2c 20 4c 50 44 57 4f 52 44 29 3b 0d 0a 09 TR, LPDWORD);... 13490 09 42 4f 4f 4c 20 47 65 74 46 69 6c 65 53 69 7a .BOOL GetFileSiz 134a0 65 45 78 28 48 41 4e 44 4c 45 2c 20 50 4c 41 52 eEx(HANDLE, PLAR 134b0 47 45 5f 49 4e 54 45 47 45 52 29 3b 0d 0a 09 09 GE_INTEGER);.... 134c0 42 4f 4f 4c 20 47 65 74 4d 6f 64 75 6c 65 48 61 BOOL GetModuleHa 134d0 6e 64 6c 65 45 78 41 28 44 57 4f 52 44 2c 20 4c ndleExA(DWORD, L 134e0 50 43 53 54 52 2c 20 48 4d 4f 44 55 4c 45 2a 29 PCSTR, HMODULE*) 134f0 3b 0d 0a 09 09 42 4f 4f 4c 20 47 65 74 4d 6f 64 ;....BOOL GetMod 13500 75 6c 65 48 61 6e 64 6c 65 45 78 57 28 44 57 4f uleHandleExW(DWO 13510 52 44 2c 20 4c 50 43 57 53 54 52 2c 20 48 4d 4f RD, LPCWSTR, HMO 13520 44 55 4c 45 2a 29 3b 0d 0a 09 09 48 41 4e 44 4c DULE*);....HANDL 13530 45 20 47 65 74 50 72 6f 63 65 73 73 48 65 61 70 E GetProcessHeap 13540 28 29 3b 0d 0a 09 09 44 57 4f 52 44 20 47 65 74 ();....DWORD Get 13550 50 72 6f 63 65 73 73 48 65 61 70 73 28 44 57 4f ProcessHeaps(DWO 13560 52 44 2c 20 50 48 41 4e 44 4c 45 29 3b 0d 0a 09 RD, PHANDLE);... 13570 09 42 4f 4f 4c 20 47 65 74 50 72 6f 63 65 73 73 .BOOL GetProcess 13580 49 6f 43 6f 75 6e 74 65 72 73 28 48 41 4e 44 4c IoCounters(HANDL 13590 45 2c 20 50 49 4f 5f 43 4f 55 4e 54 45 52 53 29 E, PIO_COUNTERS) 135a0 3b 0d 0a 09 09 42 4f 4f 4c 20 47 65 74 53 79 73 ;....BOOL GetSys 135b0 74 65 6d 50 6f 77 65 72 53 74 61 74 75 73 28 4c temPowerStatus(L 135c0 50 53 59 53 54 45 4d 5f 50 4f 57 45 52 5f 53 54 PSYSTEM_POWER_ST 135d0 41 54 55 53 29 3b 0d 0a 09 09 55 49 4e 54 20 47 ATUS);....UINT G 135e0 65 74 53 79 73 74 65 6d 57 69 6e 64 6f 77 73 44 etSystemWindowsD 135f0 69 72 65 63 74 6f 72 79 41 28 4c 50 53 54 52 2c irectoryA(LPSTR, 13600 20 55 49 4e 54 29 3b 0d 0a 09 09 55 49 4e 54 20 UINT);....UINT 13610 47 65 74 53 79 73 74 65 6d 57 69 6e 64 6f 77 73 GetSystemWindows 13620 44 69 72 65 63 74 6f 72 79 57 28 4c 50 57 53 54 DirectoryW(LPWST 13630 52 2c 20 55 49 4e 54 29 3b 0d 0a 09 09 42 4f 4f R, UINT);....BOO 13640 4c 20 47 65 74 56 6f 6c 75 6d 65 4e 61 6d 65 46 L GetVolumeNameF 13650 6f 72 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 orVolumeMountPoi 13660 6e 74 41 28 4c 50 43 53 54 52 2c 20 4c 50 53 54 ntA(LPCSTR, LPST 13670 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 09 42 4f R, DWORD);....BO 13680 4f 4c 20 47 65 74 56 6f 6c 75 6d 65 4e 61 6d 65 OL GetVolumeName 13690 46 6f 72 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f ForVolumeMountPo 136a0 69 6e 74 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 intW(LPCWSTR, LP 136b0 57 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 WSTR, DWORD);... 136c0 09 42 4f 4f 4c 20 47 65 74 56 6f 6c 75 6d 65 50 .BOOL GetVolumeP 136d0 61 74 68 4e 61 6d 65 41 28 4c 50 43 53 54 52 2c athNameA(LPCSTR, 136e0 20 4c 50 53 54 52 2c 20 44 57 4f 52 44 29 3b 0d LPSTR, DWORD);. 136f0 0a 09 09 42 4f 4f 4c 20 47 65 74 56 6f 6c 75 6d ...BOOL GetVolum 13700 65 50 61 74 68 4e 61 6d 65 57 28 4c 50 43 57 53 ePathNameW(LPCWS 13710 54 52 2c 20 4c 50 57 53 54 52 2c 20 44 57 4f 52 TR, LPWSTR, DWOR 13720 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 47 6c 6f 62 D);....BOOL Glob 13730 61 6c 4d 65 6d 6f 72 79 53 74 61 74 75 73 45 78 alMemoryStatusEx 13740 28 4c 50 4d 45 4d 4f 52 59 53 54 41 54 55 53 45 (LPMEMORYSTATUSE 13750 58 29 3b 0d 0a 09 09 42 4f 4f 4c 20 49 73 42 61 X);....BOOL IsBa 13760 64 43 6f 64 65 50 74 72 28 46 41 52 50 52 4f 43 dCodePtr(FARPROC 13770 29 3b 0d 0a 09 09 42 4f 4f 4c 20 49 73 53 79 73 );....BOOL IsSys 13780 74 65 6d 52 65 73 75 6d 65 41 75 74 6f 6d 61 74 temResumeAutomat 13790 69 63 28 29 3b 0d 0a 09 09 42 4f 4f 4c 20 4d 61 ic();....BOOL Ma 137a0 70 55 73 65 72 50 68 79 73 69 63 61 6c 50 61 67 pUserPhysicalPag 137b0 65 73 28 50 56 4f 49 44 2c 20 55 4c 4f 4e 47 5f es(PVOID, ULONG_ 137c0 50 54 52 2c 20 50 55 4c 4f 4e 47 5f 50 54 52 29 PTR, PULONG_PTR) 137d0 3b 0d 0a 09 09 42 4f 4f 4c 20 4d 61 70 55 73 65 ;....BOOL MapUse 137e0 72 50 68 79 73 69 63 61 6c 50 61 67 65 73 53 63 rPhysicalPagesSc 137f0 61 74 74 65 72 28 50 56 4f 49 44 2a 2c 20 55 4c atter(PVOID*, UL 13800 4f 4e 47 5f 50 54 52 2c 20 50 55 4c 4f 4e 47 5f ONG_PTR, PULONG_ 13810 50 54 52 29 3b 0d 0a 09 09 50 56 4f 49 44 20 4d PTR);....PVOID M 13820 61 70 56 69 65 77 4f 66 46 69 6c 65 28 48 41 4e apViewOfFile(HAN 13830 44 4c 45 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 DLE, DWORD, DWOR 13840 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 D, DWORD, DWORD) 13850 3b 0d 0a 09 09 50 56 4f 49 44 20 4d 61 70 56 69 ;....PVOID MapVi 13860 65 77 4f 66 46 69 6c 65 45 78 28 48 41 4e 44 4c ewOfFileEx(HANDL 13870 45 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c E, DWORD, DWORD, 13880 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 2c 20 50 DWORD, DWORD, P 13890 56 4f 49 44 29 3b 0d 0a 09 09 48 41 4e 44 4c 45 VOID);....HANDLE 138a0 20 4f 70 65 6e 46 69 6c 65 4d 61 70 70 69 6e 67 OpenFileMapping 138b0 41 28 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 4c A(DWORD, BOOL, L 138c0 50 43 53 54 52 29 3b 0d 0a 09 09 48 41 4e 44 4c PCSTR);....HANDL 138d0 45 20 4f 70 65 6e 46 69 6c 65 4d 61 70 70 69 6e E OpenFileMappin 138e0 67 57 28 44 57 4f 52 44 2c 20 42 4f 4f 4c 2c 20 gW(DWORD, BOOL, 138f0 4c 50 43 57 53 54 52 29 3b 0d 0a 09 09 42 4f 4f LPCWSTR);....BOO 13900 4c 20 50 72 6f 63 65 73 73 49 64 54 6f 53 65 73 L ProcessIdToSes 13910 73 69 6f 6e 49 64 28 44 57 4f 52 44 2c 20 44 57 sionId(DWORD, DW 13920 4f 52 44 2a 29 3b 0d 0a 09 09 42 4f 4f 4c 20 51 ORD*);....BOOL Q 13930 75 65 72 79 49 6e 66 6f 72 6d 61 74 69 6f 6e 4a ueryInformationJ 13940 6f 62 4f 62 6a 65 63 74 28 48 41 4e 44 4c 45 2c obObject(HANDLE, 13950 20 4a 4f 42 4f 42 4a 45 43 54 49 4e 46 4f 43 4c JOBOBJECTINFOCL 13960 41 53 53 2c 20 4c 50 56 4f 49 44 2c 20 44 57 4f ASS, LPVOID, DWO 13970 52 44 2c 20 4c 50 44 57 4f 52 44 29 3b 0d 0a 09 RD, LPDWORD);... 13980 09 55 4c 4f 4e 47 20 52 65 6d 6f 76 65 56 65 63 .ULONG RemoveVec 13990 74 6f 72 65 64 45 78 63 65 70 74 69 6f 6e 48 61 toredExceptionHa 139a0 6e 64 6c 65 72 28 50 56 4f 49 44 29 3b 0d 0a 09 ndler(PVOID);... 139b0 09 42 4f 4f 4c 20 52 65 70 6c 61 63 65 46 69 6c .BOOL ReplaceFil 139c0 65 41 28 4c 50 43 53 54 52 2c 20 4c 50 43 53 54 eA(LPCSTR, LPCST 139d0 52 2c 20 4c 50 43 53 54 52 2c 20 44 57 4f 52 44 R, LPCSTR, DWORD 139e0 2c 20 4c 50 56 4f 49 44 2c 20 4c 50 56 4f 49 44 , LPVOID, LPVOID 139f0 29 3b 0d 0a 09 09 42 4f 4f 4c 20 52 65 70 6c 61 );....BOOL Repla 13a00 63 65 46 69 6c 65 57 28 4c 50 43 57 53 54 52 2c ceFileW(LPCWSTR, 13a10 20 4c 50 43 57 53 54 52 2c 20 4c 50 43 57 53 54 LPCWSTR, LPCWST 13a20 52 2c 20 44 57 4f 52 44 2c 20 4c 50 56 4f 49 44 R, DWORD, LPVOID 13a30 2c 20 4c 50 56 4f 49 44 29 3b 0d 0a 09 09 42 4f , LPVOID);....BO 13a40 4f 4c 20 53 65 74 43 6f 6d 70 75 74 65 72 4e 61 OL SetComputerNa 13a50 6d 65 45 78 41 28 43 4f 4d 50 55 54 45 52 5f 4e meExA(COMPUTER_N 13a60 41 4d 45 5f 46 4f 52 4d 41 54 2c 20 4c 50 43 53 AME_FORMAT, LPCS 13a70 54 52 29 3b 0d 0a 09 09 42 4f 4f 4c 20 53 65 74 TR);....BOOL Set 13a80 43 6f 6d 70 75 74 65 72 4e 61 6d 65 45 78 57 28 ComputerNameExW( 13a90 43 4f 4d 50 55 54 45 52 5f 4e 41 4d 45 5f 46 4f COMPUTER_NAME_FO 13aa0 52 4d 41 54 2c 20 4c 50 43 57 53 54 52 29 3b 0d RMAT, LPCWSTR);. 13ab0 0a 09 09 42 4f 4f 4c 20 53 65 74 46 69 6c 65 50 ...BOOL SetFileP 13ac0 6f 69 6e 74 65 72 45 78 28 48 41 4e 44 4c 45 2c ointerEx(HANDLE, 13ad0 20 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 LARGE_INTEGER, 13ae0 50 4c 41 52 47 45 5f 49 4e 54 45 47 45 52 2c 20 PLARGE_INTEGER, 13af0 44 57 4f 52 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 DWORD);....BOOL 13b00 53 65 74 49 6e 66 6f 72 6d 61 74 69 6f 6e 4a 6f SetInformationJo 13b10 62 4f 62 6a 65 63 74 28 48 41 4e 44 4c 45 2c 20 bObject(HANDLE, 13b20 4a 4f 42 4f 42 4a 45 43 54 49 4e 46 4f 43 4c 41 JOBOBJECTINFOCLA 13b30 53 53 2c 20 4c 50 56 4f 49 44 2c 20 44 57 4f 52 SS, LPVOID, DWOR 13b40 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 53 65 74 53 D);....BOOL SetS 13b50 65 63 75 72 69 74 79 44 65 73 63 72 69 70 74 6f ecurityDescripto 13b60 72 43 6f 6e 74 72 6f 6c 28 50 53 45 43 55 52 49 rControl(PSECURI 13b70 54 59 5f 44 45 53 43 52 49 50 54 4f 52 2c 20 53 TY_DESCRIPTOR, S 13b80 45 43 55 52 49 54 59 5f 44 45 53 43 52 49 50 54 ECURITY_DESCRIPT 13b90 4f 52 5f 43 4f 4e 54 52 4f 4c 2c 20 53 45 43 55 OR_CONTROL, SECU 13ba0 52 49 54 59 5f 44 45 53 43 52 49 50 54 4f 52 5f RITY_DESCRIPTOR_ 13bb0 43 4f 4e 54 52 4f 4c 29 3b 0d 0a 09 09 42 4f 4f CONTROL);....BOO 13bc0 4c 20 53 65 74 53 79 73 74 65 6d 50 6f 77 65 72 L SetSystemPower 13bd0 53 74 61 74 65 28 42 4f 4f 4c 2c 20 42 4f 4f 4c State(BOOL, BOOL 13be0 29 3b 0d 0a 09 09 45 58 45 43 55 54 49 4f 4e 5f );....EXECUTION_ 13bf0 53 54 41 54 45 20 53 65 74 54 68 72 65 61 64 45 STATE SetThreadE 13c00 78 65 63 75 74 69 6f 6e 53 74 61 74 65 28 45 58 xecutionState(EX 13c10 45 43 55 54 49 4f 4e 5f 53 54 41 54 45 29 3b 0d ECUTION_STATE);. 13c20 0a 09 09 44 57 4f 52 44 20 53 65 74 54 68 72 65 ...DWORD SetThre 13c30 61 64 49 64 65 61 6c 50 72 6f 63 65 73 73 6f 72 adIdealProcessor 13c40 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 44 29 3b (HANDLE, DWORD); 13c50 0d 0a 09 09 42 4f 4f 4c 20 53 65 74 56 6f 6c 75 ....BOOL SetVolu 13c60 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 41 28 4c 50 meMountPointA(LP 13c70 43 53 54 52 2c 20 4c 50 43 53 54 52 29 3b 0d 0a CSTR, LPCSTR);.. 13c80 09 09 42 4f 4f 4c 20 53 65 74 56 6f 6c 75 6d 65 ..BOOL SetVolume 13c90 4d 6f 75 6e 74 50 6f 69 6e 74 57 28 4c 50 43 57 MountPointW(LPCW 13ca0 53 54 52 2c 20 4c 50 43 57 53 54 52 29 3b 0d 0a STR, LPCWSTR);.. 13cb0 09 09 42 4f 4f 4c 20 54 65 72 6d 69 6e 61 74 65 ..BOOL Terminate 13cc0 4a 6f 62 4f 62 6a 65 63 74 28 48 41 4e 44 4c 45 JobObject(HANDLE 13cd0 2c 20 55 49 4e 54 29 3b 0d 0a 09 09 42 4f 4f 4c , UINT);....BOOL 13ce0 20 55 6e 6d 61 70 56 69 65 77 4f 66 46 69 6c 65 UnmapViewOfFile 13cf0 28 50 56 4f 49 44 29 3b 0d 0a 09 09 42 4f 4f 4c (PVOID);....BOOL 13d00 20 55 6e 72 65 67 69 73 74 65 72 57 61 69 74 28 UnregisterWait( 13d10 48 41 4e 44 4c 45 29 3b 0d 0a 09 09 42 4f 4f 4c HANDLE);....BOOL 13d20 20 55 6e 72 65 67 69 73 74 65 72 57 61 69 74 45 UnregisterWaitE 13d30 78 28 48 41 4e 44 4c 45 2c 20 48 41 4e 44 4c 45 x(HANDLE, HANDLE 13d40 29 3b 0d 0a 09 09 42 4f 4f 4c 20 56 65 72 69 66 );....BOOL Verif 13d50 79 56 65 72 73 69 6f 6e 49 6e 66 6f 41 28 4c 50 yVersionInfoA(LP 13d60 4f 53 56 45 52 53 49 4f 4e 49 4e 46 4f 45 58 41 OSVERSIONINFOEXA 13d70 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 4c 4f , DWORD, DWORDLO 13d80 4e 47 29 3b 0d 0a 09 09 42 4f 4f 4c 20 56 65 72 NG);....BOOL Ver 13d90 69 66 79 56 65 72 73 69 6f 6e 49 6e 66 6f 57 28 ifyVersionInfoW( 13da0 4c 50 4f 53 56 45 52 53 49 4f 4e 49 4e 46 4f 45 LPOSVERSIONINFOE 13db0 58 57 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 XW, DWORD, DWORD 13dc0 4c 4f 4e 47 29 3b 0d 0a 09 7d 0d 0a 0d 0a 09 73 LONG);...}.....s 13dd0 74 61 74 69 63 20 69 66 20 28 5f 57 49 4e 33 32 tatic if (_WIN32 13de0 5f 57 49 4e 4e 54 20 3e 3d 20 30 78 35 30 31 29 _WINNT >= 0x501) 13df0 20 7b 0d 0a 09 09 42 4f 4f 4c 20 41 63 74 69 76 {....BOOL Activ 13e00 61 74 65 41 63 74 43 74 78 28 48 41 4e 44 4c 45 ateActCtx(HANDLE 13e10 2c 20 55 4c 4f 4e 47 5f 50 54 52 2a 29 3b 0d 0a , ULONG_PTR*);.. 13e20 09 09 76 6f 69 64 20 41 64 64 52 65 66 41 63 74 ..void AddRefAct 13e30 43 74 78 28 48 41 4e 44 4c 45 29 3b 0d 0a 09 09 Ctx(HANDLE);.... 13e40 42 4f 4f 4c 20 43 68 65 63 6b 4e 61 6d 65 4c 65 BOOL CheckNameLe 13e50 67 61 6c 44 4f 53 38 44 6f 74 33 41 28 4c 50 43 galDOS8Dot3A(LPC 13e60 53 54 52 2c 20 4c 50 53 54 52 2c 20 44 57 4f 52 STR, LPSTR, DWOR 13e70 44 2c 20 50 42 4f 4f 4c 2c 20 50 42 4f 4f 4c 29 D, PBOOL, PBOOL) 13e80 3b 0d 0a 09 09 42 4f 4f 4c 20 43 68 65 63 6b 4e ;....BOOL CheckN 13e90 61 6d 65 4c 65 67 61 6c 44 4f 53 38 44 6f 74 33 ameLegalDOS8Dot3 13ea0 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 53 54 52 W(LPCWSTR, LPSTR 13eb0 2c 20 44 57 4f 52 44 2c 20 50 42 4f 4f 4c 2c 20 , DWORD, PBOOL, 13ec0 50 42 4f 4f 4c 29 3b 0d 0a 09 09 42 4f 4f 4c 20 PBOOL);....BOOL 13ed0 43 68 65 63 6b 52 65 6d 6f 74 65 44 65 62 75 67 CheckRemoteDebug 13ee0 67 65 72 50 72 65 73 65 6e 74 28 48 41 4e 44 4c gerPresent(HANDL 13ef0 45 2c 20 50 42 4f 4f 4c 29 3b 0d 0a 09 09 42 4f E, PBOOL);....BO 13f00 4f 4c 20 43 6f 6e 76 65 72 74 46 69 62 65 72 54 OL ConvertFiberT 13f10 6f 54 68 72 65 61 64 28 29 3b 0d 0a 09 09 48 41 oThread();....HA 13f20 4e 44 4c 45 20 43 72 65 61 74 65 41 63 74 43 74 NDLE CreateActCt 13f30 78 41 28 50 43 41 43 54 43 54 58 41 29 3b 0d 0a xA(PCACTCTXA);.. 13f40 09 09 48 41 4e 44 4c 45 20 43 72 65 61 74 65 41 ..HANDLE CreateA 13f50 63 74 43 74 78 57 28 50 43 41 43 54 43 54 58 57 ctCtxW(PCACTCTXW 13f60 29 3b 0d 0a 09 09 48 41 4e 44 4c 45 20 43 72 65 );....HANDLE Cre 13f70 61 74 65 4d 65 6d 6f 72 79 52 65 73 6f 75 72 63 ateMemoryResourc 13f80 65 4e 6f 74 69 66 69 63 61 74 69 6f 6e 28 4d 45 eNotification(ME 13f90 4d 4f 52 59 5f 52 45 53 4f 55 52 43 45 5f 4e 4f MORY_RESOURCE_NO 13fa0 54 49 46 49 43 41 54 49 4f 4e 5f 54 59 50 45 29 TIFICATION_TYPE) 13fb0 3b 0d 0a 09 09 42 4f 4f 4c 20 44 65 61 63 74 69 ;....BOOL Deacti 13fc0 76 61 74 65 41 63 74 43 74 78 28 44 57 4f 52 44 vateActCtx(DWORD 13fd0 2c 20 55 4c 4f 4e 47 5f 50 54 52 29 3b 0d 0a 09 , ULONG_PTR);... 13fe0 09 42 4f 4f 4c 20 44 65 62 75 67 41 63 74 69 76 .BOOL DebugActiv 13ff0 65 50 72 6f 63 65 73 73 53 74 6f 70 28 44 57 4f eProcessStop(DWO 14000 52 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 44 65 62 RD);....BOOL Deb 14010 75 67 42 72 65 61 6b 50 72 6f 63 65 73 73 28 48 ugBreakProcess(H 14020 41 4e 44 4c 45 29 3b 0d 0a 09 09 42 4f 4f 4c 20 ANDLE);....BOOL 14030 44 65 62 75 67 53 65 74 50 72 6f 63 65 73 73 4b DebugSetProcessK 14040 69 6c 6c 4f 6e 45 78 69 74 28 42 4f 4f 4c 29 3b illOnExit(BOOL); 14050 0d 0a 09 09 42 4f 4f 4c 20 46 69 6e 64 41 63 74 ....BOOL FindAct 14060 43 74 78 53 65 63 74 69 6f 6e 47 75 69 64 28 44 CtxSectionGuid(D 14070 57 4f 52 44 2c 20 63 6f 6e 73 74 28 47 55 49 44 WORD, const(GUID 14080 29 2a 2c 20 55 4c 4f 4e 47 2c 20 63 6f 6e 73 74 )*, ULONG, const 14090 28 47 55 49 44 29 2a 2c 0d 0a 09 09 20 20 50 41 (GUID)*,.... PA 140a0 43 54 43 54 58 5f 53 45 43 54 49 4f 4e 5f 4b 45 CTCTX_SECTION_KE 140b0 59 45 44 5f 44 41 54 41 29 3b 0d 0a 09 09 42 4f YED_DATA);....BO 140c0 4f 4c 20 46 69 6e 64 41 63 74 43 74 78 53 65 63 OL FindActCtxSec 140d0 74 69 6f 6e 53 74 72 69 6e 67 41 28 44 57 4f 52 tionStringA(DWOR 140e0 44 2c 20 63 6f 6e 73 74 28 47 55 49 44 29 2a 2c D, const(GUID)*, 140f0 20 55 4c 4f 4e 47 2c 20 4c 50 43 53 54 52 2c 0d ULONG, LPCSTR,. 14100 0a 09 09 20 20 50 41 43 54 43 54 58 5f 53 45 43 ... PACTCTX_SEC 14110 54 49 4f 4e 5f 4b 45 59 45 44 5f 44 41 54 41 29 TION_KEYED_DATA) 14120 3b 0d 0a 09 09 42 4f 4f 4c 20 46 69 6e 64 41 63 ;....BOOL FindAc 14130 74 43 74 78 53 65 63 74 69 6f 6e 53 74 72 69 6e tCtxSectionStrin 14140 67 57 28 44 57 4f 52 44 2c 20 63 6f 6e 73 74 28 gW(DWORD, const( 14150 47 55 49 44 29 2a 2c 20 55 4c 4f 4e 47 2c 20 4c GUID)*, ULONG, L 14160 50 43 57 53 54 52 2c 0d 0a 09 09 20 20 50 41 43 PCWSTR,.... PAC 14170 54 43 54 58 5f 53 45 43 54 49 4f 4e 5f 4b 45 59 TCTX_SECTION_KEY 14180 45 44 5f 44 41 54 41 29 3b 0d 0a 09 09 42 4f 4f ED_DATA);....BOO 14190 4c 20 47 65 74 43 75 72 72 65 6e 74 41 63 74 43 L GetCurrentActC 141a0 74 78 28 48 41 4e 44 4c 45 2a 29 3b 0d 0a 09 09 tx(HANDLE*);.... 141b0 56 4f 49 44 20 47 65 74 4e 61 74 69 76 65 53 79 VOID GetNativeSy 141c0 73 74 65 6d 49 6e 66 6f 28 4c 50 53 59 53 54 45 stemInfo(LPSYSTE 141d0 4d 5f 49 4e 46 4f 29 3b 0d 0a 09 09 42 4f 4f 4c M_INFO);....BOOL 141e0 20 47 65 74 50 72 6f 63 65 73 73 48 61 6e 64 6c GetProcessHandl 141f0 65 43 6f 75 6e 74 28 48 41 4e 44 4c 45 2c 20 50 eCount(HANDLE, P 14200 44 57 4f 52 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 DWORD);....BOOL 14210 47 65 74 53 79 73 74 65 6d 52 65 67 69 73 74 72 GetSystemRegistr 14220 79 51 75 6f 74 61 28 50 44 57 4f 52 44 2c 20 50 yQuota(PDWORD, P 14230 44 57 4f 52 44 29 3b 0d 0a 09 09 42 4f 4f 4c 20 DWORD);....BOOL 14240 47 65 74 53 79 73 74 65 6d 54 69 6d 65 73 28 4c GetSystemTimes(L 14250 50 46 49 4c 45 54 49 4d 45 2c 20 4c 50 46 49 4c PFILETIME, LPFIL 14260 45 54 49 4d 45 2c 20 4c 50 46 49 4c 45 54 49 4d ETIME, LPFILETIM 14270 45 29 3b 0d 0a 09 09 55 49 4e 54 20 47 65 74 53 E);....UINT GetS 14280 79 73 74 65 6d 57 6f 77 36 34 44 69 72 65 63 74 ystemWow64Direct 14290 6f 72 79 41 28 4c 50 53 54 52 2c 20 55 49 4e 54 oryA(LPSTR, UINT 142a0 29 3b 0d 0a 09 09 55 49 4e 54 20 47 65 74 53 79 );....UINT GetSy 142b0 73 74 65 6d 57 6f 77 36 34 44 69 72 65 63 74 6f stemWow64Directo 142c0 72 79 57 28 4c 50 57 53 54 52 2c 20 55 49 4e 54 ryW(LPWSTR, UINT 142d0 29 3b 0d 0a 09 09 42 4f 4f 4c 20 47 65 74 54 68 );....BOOL GetTh 142e0 72 65 61 64 49 4f 50 65 6e 64 69 6e 67 46 6c 61 readIOPendingFla 142f0 67 28 48 41 4e 44 4c 45 2c 20 50 42 4f 4f 4c 29 g(HANDLE, PBOOL) 14300 3b 0d 0a 09 09 42 4f 4f 4c 20 47 65 74 56 6f 6c ;....BOOL GetVol 14310 75 6d 65 50 61 74 68 4e 61 6d 65 73 46 6f 72 56 umePathNamesForV 14320 6f 6c 75 6d 65 4e 61 6d 65 41 28 4c 50 43 53 54 olumeNameA(LPCST 14330 52 2c 20 4c 50 53 54 52 2c 20 44 57 4f 52 44 2c R, LPSTR, DWORD, 14340 20 50 44 57 4f 52 44 29 3b 0d 0a 09 09 42 4f 4f PDWORD);....BOO 14350 4c 20 47 65 74 56 6f 6c 75 6d 65 50 61 74 68 4e L GetVolumePathN 14360 61 6d 65 73 46 6f 72 56 6f 6c 75 6d 65 4e 61 6d amesForVolumeNam 14370 65 57 28 4c 50 43 57 53 54 52 2c 20 4c 50 57 53 eW(LPCWSTR, LPWS 14380 54 52 2c 20 44 57 4f 52 44 2c 20 50 44 57 4f 52 TR, DWORD, PDWOR 14390 44 29 3b 0d 0a 09 09 55 49 4e 54 20 47 65 74 57 D);....UINT GetW 143a0 72 69 74 65 57 61 74 63 68 28 44 57 4f 52 44 2c riteWatch(DWORD, 143b0 20 50 56 4f 49 44 2c 20 53 49 5a 45 5f 54 2c 20 PVOID, SIZE_T, 143c0 50 56 4f 49 44 2a 2c 20 50 55 4c 4f 4e 47 5f 50 PVOID*, PULONG_P 143d0 54 52 2c 20 50 55 4c 4f 4e 47 29 3b 0d 0a 09 09 TR, PULONG);.... 143e0 42 4f 4f 4c 20 48 65 61 70 51 75 65 72 79 49 6e BOOL HeapQueryIn 143f0 66 6f 72 6d 61 74 69 6f 6e 28 48 41 4e 44 4c 45 formation(HANDLE 14400 2c 20 48 45 41 50 5f 49 4e 46 4f 52 4d 41 54 49 , HEAP_INFORMATI 14410 4f 4e 5f 43 4c 41 53 53 2c 20 50 56 4f 49 44 2c ON_CLASS, PVOID, 14420 20 53 49 5a 45 5f 54 2c 20 50 53 49 5a 45 5f 54 SIZE_T, PSIZE_T 14430 29 3b 0d 0a 09 09 42 4f 4f 4c 20 48 65 61 70 53 );....BOOL HeapS 14440 65 74 49 6e 66 6f 72 6d 61 74 69 6f 6e 28 48 41 etInformation(HA 14450 4e 44 4c 45 2c 20 48 45 41 50 5f 49 4e 46 4f 52 NDLE, HEAP_INFOR 14460 4d 41 54 49 4f 4e 5f 43 4c 41 53 53 2c 20 50 56 MATION_CLASS, PV 14470 4f 49 44 2c 20 53 49 5a 45 5f 54 29 3b 0d 0a 09 OID, SIZE_T);... 14480 09 42 4f 4f 4c 20 49 73 50 72 6f 63 65 73 73 49 .BOOL IsProcessI 14490 6e 4a 6f 62 28 48 41 4e 44 4c 45 2c 20 48 41 4e nJob(HANDLE, HAN 144a0 44 4c 45 2c 20 50 42 4f 4f 4c 29 3b 0d 0a 09 09 DLE, PBOOL);.... 144b0 42 4f 4f 4c 20 49 73 57 6f 77 36 34 50 72 6f 63 BOOL IsWow64Proc 144c0 65 73 73 28 48 41 4e 44 4c 45 2c 20 50 42 4f 4f ess(HANDLE, PBOO 144d0 4c 29 3b 0d 0a 09 09 42 4f 4f 4c 20 51 75 65 72 L);....BOOL Quer 144e0 79 41 63 74 43 74 78 57 28 44 57 4f 52 44 2c 20 yActCtxW(DWORD, 144f0 48 41 4e 44 4c 45 2c 20 50 56 4f 49 44 2c 20 55 HANDLE, PVOID, U 14500 4c 4f 4e 47 2c 20 50 56 4f 49 44 2c 20 53 49 5a LONG, PVOID, SIZ 14510 45 5f 54 2c 20 53 49 5a 45 5f 54 2a 29 3b 0d 0a E_T, SIZE_T*);.. 14520 09 09 42 4f 4f 4c 20 51 75 65 72 79 4d 65 6d 6f ..BOOL QueryMemo 14530 72 79 52 65 73 6f 75 72 63 65 4e 6f 74 69 66 69 ryResourceNotifi 14540 63 61 74 69 6f 6e 28 48 41 4e 44 4c 45 2c 20 50 cation(HANDLE, P 14550 42 4f 4f 4c 29 3b 0d 0a 09 09 76 6f 69 64 20 52 BOOL);....void R 14560 65 6c 65 61 73 65 41 63 74 43 74 78 28 48 41 4e eleaseActCtx(HAN 14570 44 4c 45 29 3b 0d 0a 09 09 55 49 4e 54 20 52 65 DLE);....UINT Re 14580 73 65 74 57 72 69 74 65 57 61 74 63 68 28 4c 50 setWriteWatch(LP 14590 56 4f 49 44 2c 20 53 49 5a 45 5f 54 29 3b 0d 0a VOID, SIZE_T);.. 145a0 09 09 42 4f 4f 4c 20 53 65 74 46 69 6c 65 53 68 ..BOOL SetFileSh 145b0 6f 72 74 4e 61 6d 65 41 28 48 41 4e 44 4c 45 2c ortNameA(HANDLE, 145c0 20 4c 50 43 53 54 52 29 3b 0d 0a 09 09 42 4f 4f LPCSTR);....BOO 145d0 4c 20 53 65 74 46 69 6c 65 53 68 6f 72 74 4e 61 L SetFileShortNa 145e0 6d 65 57 28 48 41 4e 44 4c 45 2c 20 4c 50 43 57 meW(HANDLE, LPCW 145f0 53 54 52 29 3b 0d 0a 09 09 42 4f 4f 4c 20 53 65 STR);....BOOL Se 14600 74 46 69 6c 65 56 61 6c 69 64 44 61 74 61 28 48 tFileValidData(H 14610 41 4e 44 4c 45 2c 20 4c 4f 4e 47 4c 4f 4e 47 29 ANDLE, LONGLONG) 14620 3b 0d 0a 09 09 42 4f 4f 4c 20 5a 6f 6d 62 69 66 ;....BOOL Zombif 14630 79 41 63 74 43 74 78 28 48 41 4e 44 4c 45 29 3b yActCtx(HANDLE); 14640 0d 0a 09 7d 0d 0a 0d 0a 09 73 74 61 74 69 63 20 ...}.....static 14650 69 66 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 if (_WIN32_WINNT 14660 20 3e 3d 20 30 78 35 30 32 29 20 7b 0d 0a 09 09 >= 0x502) {.... 14670 44 57 4f 52 44 20 47 65 74 46 69 72 6d 77 61 72 DWORD GetFirmwar 14680 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 72 69 eEnvironmentVari 14690 61 62 6c 65 41 28 4c 50 43 53 54 52 2c 20 4c 50 ableA(LPCSTR, LP 146a0 43 53 54 52 2c 20 50 56 4f 49 44 2c 20 44 57 4f CSTR, PVOID, DWO 146b0 52 44 29 3b 0d 0a 09 09 44 57 4f 52 44 20 47 65 RD);....DWORD Ge 146c0 74 46 69 72 6d 77 61 72 65 45 6e 76 69 72 6f 6e tFirmwareEnviron 146d0 6d 65 6e 74 56 61 72 69 61 62 6c 65 57 28 4c 50 mentVariableW(LP 146e0 43 57 53 54 52 2c 20 4c 50 43 57 53 54 52 2c 20 CWSTR, LPCWSTR, 146f0 50 56 4f 49 44 2c 20 44 57 4f 52 44 29 3b 0d 0a PVOID, DWORD);.. 14700 09 09 44 57 4f 52 44 20 47 65 74 44 6c 6c 44 69 ..DWORD GetDllDi 14710 72 65 63 74 6f 72 79 41 28 44 57 4f 52 44 2c 20 rectoryA(DWORD, 14720 4c 50 53 54 52 29 3b 0d 0a 09 09 44 57 4f 52 44 LPSTR);....DWORD 14730 20 47 65 74 44 6c 6c 44 69 72 65 63 74 6f 72 79 GetDllDirectory 14740 57 28 44 57 4f 52 44 2c 20 4c 50 57 53 54 52 29 W(DWORD, LPWSTR) 14750 3b 0d 0a 09 09 44 57 4f 52 44 20 47 65 74 54 68 ;....DWORD GetTh 14760 72 65 61 64 49 64 28 48 41 4e 44 4c 45 29 3b 0d readId(HANDLE);. 14770 0a 09 09 44 57 4f 52 44 20 47 65 74 50 72 6f 63 ...DWORD GetProc 14780 65 73 73 49 64 28 48 41 4e 44 4c 45 29 3b 0d 0a essId(HANDLE);.. 14790 09 09 48 41 4e 44 4c 45 20 52 65 4f 70 65 6e 46 ..HANDLE ReOpenF 147a0 69 6c 65 28 48 41 4e 44 4c 45 2c 20 44 57 4f 52 ile(HANDLE, DWOR 147b0 44 2c 20 44 57 4f 52 44 2c 20 44 57 4f 52 44 29 D, DWORD, DWORD) 147c0 3b 0d 0a 09 09 42 4f 4f 4c 20 53 65 74 44 6c 6c ;....BOOL SetDll 147d0 44 69 72 65 63 74 6f 72 79 41 28 4c 50 43 53 54 DirectoryA(LPCST 147e0 52 29 3b 0d 0a 09 09 42 4f 4f 4c 20 53 65 74 44 R);....BOOL SetD 147f0 6c 6c 44 69 72 65 63 74 6f 72 79 57 28 4c 50 43 llDirectoryW(LPC 14800 57 53 54 52 29 3b 0d 0a 09 09 42 4f 4f 4c 20 53 WSTR);....BOOL S 14810 65 74 46 69 72 6d 77 61 72 65 45 6e 76 69 72 6f etFirmwareEnviro 14820 6e 6d 65 6e 74 56 61 72 69 61 62 6c 65 41 28 4c nmentVariableA(L 14830 50 43 53 54 52 2c 20 4c 50 43 53 54 52 2c 20 50 PCSTR, LPCSTR, P 14840 56 4f 49 44 2c 20 44 57 4f 52 44 29 3b 0d 0a 09 VOID, DWORD);... 14850 09 42 4f 4f 4c 20 53 65 74 46 69 72 6d 77 61 72 .BOOL SetFirmwar 14860 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 72 69 eEnvironmentVari 14870 61 62 6c 65 57 28 4c 50 43 57 53 54 52 2c 20 4c ableW(LPCWSTR, L 14880 50 43 57 53 54 52 2c 20 50 56 4f 49 44 2c 20 44 PCWSTR, PVOID, D 14890 57 4f 52 44 29 3b 0d 0a 09 7d 0d 0a 0d 0a 09 2f WORD);...}...../ 148a0 2f 20 3f 3f 3f 0d 0a 09 73 74 61 74 69 63 20 69 / ???...static i 148b0 66 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 20 f (_WIN32_WINNT 148c0 3e 3d 20 30 78 35 31 30 29 20 7b 0d 0a 09 09 56 >= 0x510) {....V 148d0 4f 49 44 20 52 65 73 74 6f 72 65 4c 61 73 74 45 OID RestoreLastE 148e0 72 72 6f 72 28 44 57 4f 52 44 29 3b 0d 0a 09 7d rror(DWORD);...} 148f0 0d 0a 7d 0d 0a 0d 0a 6d 69 78 69 6e 20 44 45 43 ..}....mixin DEC 14900 4c 41 52 45 5f 41 57 21 28 22 53 54 41 52 54 55 LARE_AW!("STARTU 14910 50 49 4e 46 4f 22 29 3b 0d 0a 76 65 72 73 69 6f PINFO");..versio 14920 6e 20 28 55 6e 69 63 6f 64 65 29 20 7b 0d 0a 09 n (Unicode) {... 14930 2f 2f 61 6c 69 61 73 20 53 54 41 52 54 55 50 49 //alias STARTUPI 14940 4e 46 4f 57 20 53 54 41 52 54 55 50 49 4e 46 4f NFOW STARTUPINFO 14950 3b 0d 0a 09 61 6c 69 61 73 20 57 49 4e 33 32 5f ;...alias WIN32_ 14960 46 49 4e 44 5f 44 41 54 41 57 20 57 49 4e 33 32 FIND_DATAW WIN32 14970 5f 46 49 4e 44 5f 44 41 54 41 3b 0d 0a 09 61 6c _FIND_DATA;...al 14980 69 61 73 20 45 4e 55 4d 52 45 53 4c 41 4e 47 50 ias ENUMRESLANGP 14990 52 4f 43 57 20 45 4e 55 4d 52 45 53 4c 41 4e 47 ROCW ENUMRESLANG 149a0 50 52 4f 43 3b 0d 0a 09 61 6c 69 61 73 20 45 4e PROC;...alias EN 149b0 55 4d 52 45 53 4e 41 4d 45 50 52 4f 43 57 20 45 UMRESNAMEPROCW E 149c0 4e 55 4d 52 45 53 4e 41 4d 45 50 52 4f 43 3b 0d NUMRESNAMEPROC;. 149d0 0a 09 61 6c 69 61 73 20 45 4e 55 4d 52 45 53 54 ..alias ENUMREST 149e0 59 50 45 50 52 4f 43 57 20 45 4e 55 4d 52 45 53 YPEPROCW ENUMRES 149f0 54 59 50 45 50 52 4f 43 3b 0d 0a 09 61 6c 69 61 TYPEPROC;...alia 14a00 73 20 41 64 64 41 74 6f 6d 57 20 41 64 64 41 74 s AddAtomW AddAt 14a10 6f 6d 3b 0d 0a 09 61 6c 69 61 73 20 42 65 67 69 om;...alias Begi 14a20 6e 55 70 64 61 74 65 52 65 73 6f 75 72 63 65 57 nUpdateResourceW 14a30 20 42 65 67 69 6e 55 70 64 61 74 65 52 65 73 6f BeginUpdateReso 14a40 75 72 63 65 3b 0d 0a 09 61 6c 69 61 73 20 42 75 urce;...alias Bu 14a50 69 6c 64 43 6f 6d 6d 44 43 42 57 20 42 75 69 6c ildCommDCBW Buil 14a60 64 43 6f 6d 6d 44 43 42 3b 0d 0a 09 61 6c 69 61 dCommDCB;...alia 14a70 73 20 42 75 69 6c 64 43 6f 6d 6d 44 43 42 41 6e s BuildCommDCBAn 14a80 64 54 69 6d 65 6f 75 74 73 57 20 42 75 69 6c 64 dTimeoutsW Build 14a90 43 6f 6d 6d 44 43 42 41 6e 64 54 69 6d 65 6f 75 CommDCBAndTimeou 14aa0 74 73 3b 0d 0a 09 61 6c 69 61 73 20 43 61 6c 6c ts;...alias Call 14ab0 4e 61 6d 65 64 50 69 70 65 57 20 43 61 6c 6c 4e NamedPipeW CallN 14ac0 61 6d 65 64 50 69 70 65 3b 0d 0a 09 61 6c 69 61 amedPipe;...alia 14ad0 73 20 43 6f 6d 6d 43 6f 6e 66 69 67 44 69 61 6c s CommConfigDial 14ae0 6f 67 57 20 43 6f 6d 6d 43 6f 6e 66 69 67 44 69 ogW CommConfigDi 14af0 61 6c 6f 67 3b 0d 0a 09 61 6c 69 61 73 20 43 6f alog;...alias Co 14b00 70 79 46 69 6c 65 57 20 43 6f 70 79 46 69 6c 65 pyFileW CopyFile 14b10 3b 0d 0a 09 61 6c 69 61 73 20 43 6f 70 79 46 69 ;...alias CopyFi 14b20 6c 65 45 78 57 20 43 6f 70 79 46 69 6c 65 45 78 leExW CopyFileEx 14b30 3b 0d 0a 09 61 6c 69 61 73 20 43 72 65 61 74 65 ;...alias Create 14b40 44 69 72 65 63 74 6f 72 79 57 20 43 72 65 61 74 DirectoryW Creat 14b50 65 44 69 72 65 63 74 6f 72 79 3b 0d 0a 09 61 6c eDirectory;...al 14b60 69 61 73 20 43 72 65 61 74 65 44 69 72 65 63 74 ias CreateDirect 14b70 6f 72 79 45 78 57 20 43 72 65 61 74 65 44 69 72 oryExW CreateDir 14b80 65 63 74 6f 72 79 45 78 3b 0d 0a 09 61 6c 69 61 ectoryEx;...alia 14b90 73 20 43 72 65 61 74 65 45 76 65 6e 74 57 20 43 s CreateEventW C 14ba0 72 65 61 74 65 45 76 65 6e 74 3b 0d 0a 09 61 6c reateEvent;...al 14bb0 69 61 73 20 43 72 65 61 74 65 46 69 6c 65 57 20 ias CreateFileW 14bc0 43 72 65 61 74 65 46 69 6c 65 3b 0d 0a 09 61 6c CreateFile;...al 14bd0 69 61 73 20 43 72 65 61 74 65 4d 61 69 6c 73 6c ias CreateMailsl 14be0 6f 74 57 20 43 72 65 61 74 65 4d 61 69 6c 73 6c otW CreateMailsl 14bf0 6f 74 3b 0d 0a 09 61 6c 69 61 73 20 43 72 65 61 ot;...alias Crea 14c00 74 65 4d 75 74 65 78 57 20 43 72 65 61 74 65 4d teMutexW CreateM 14c10 75 74 65 78 3b 0d 0a 09 61 6c 69 61 73 20 43 72 utex;...alias Cr 14c20 65 61 74 65 50 72 6f 63 65 73 73 57 20 43 72 65 eateProcessW Cre 14c30 61 74 65 50 72 6f 63 65 73 73 3b 0d 0a 09 61 6c ateProcess;...al 14c40 69 61 73 20 43 72 65 61 74 65 53 65 6d 61 70 68 ias CreateSemaph 14c50 6f 72 65 57 20 43 72 65 61 74 65 53 65 6d 61 70 oreW CreateSemap 14c60 68 6f 72 65 3b 0d 0a 09 61 6c 69 61 73 20 44 65 hore;...alias De 14c70 6c 65 74 65 46 69 6c 65 57 20 44 65 6c 65 74 65 leteFileW Delete 14c80 46 69 6c 65 3b 0d 0a 09 61 6c 69 61 73 20 45 6e File;...alias En 14c90 64 55 70 64 61 74 65 52 65 73 6f 75 72 63 65 57 dUpdateResourceW 14ca0 20 45 6e 64 55 70 64 61 74 65 52 65 73 6f 75 72 EndUpdateResour 14cb0 63 65 3b 0d 0a 09 61 6c 69 61 73 20 45 6e 75 6d ce;...alias Enum 14cc0 52 65 73 6f 75 72 63 65 4c 61 6e 67 75 61 67 65 ResourceLanguage 14cd0 73 57 20 45 6e 75 6d 52 65 73 6f 75 72 63 65 4c sW EnumResourceL 14ce0 61 6e 67 75 61 67 65 73 3b 0d 0a 09 61 6c 69 61 anguages;...alia 14cf0 73 20 45 6e 75 6d 52 65 73 6f 75 72 63 65 4e 61 s EnumResourceNa 14d00 6d 65 73 57 20 45 6e 75 6d 52 65 73 6f 75 72 63 mesW EnumResourc 14d10 65 4e 61 6d 65 73 3b 0d 0a 09 61 6c 69 61 73 20 eNames;...alias 14d20 45 6e 75 6d 52 65 73 6f 75 72 63 65 54 79 70 65 EnumResourceType 14d30 73 57 20 45 6e 75 6d 52 65 73 6f 75 72 63 65 54 sW EnumResourceT 14d40 79 70 65 73 3b 0d 0a 09 61 6c 69 61 73 20 45 78 ypes;...alias Ex 14d50 70 61 6e 64 45 6e 76 69 72 6f 6e 6d 65 6e 74 53 pandEnvironmentS 14d60 74 72 69 6e 67 73 57 20 45 78 70 61 6e 64 45 6e tringsW ExpandEn 14d70 76 69 72 6f 6e 6d 65 6e 74 53 74 72 69 6e 67 73 vironmentStrings 14d80 3b 0d 0a 09 61 6c 69 61 73 20 46 61 74 61 6c 41 ;...alias FatalA 14d90 70 70 45 78 69 74 57 20 46 61 74 61 6c 41 70 70 ppExitW FatalApp 14da0 45 78 69 74 3b 0d 0a 09 61 6c 69 61 73 20 46 69 Exit;...alias Fi 14db0 6e 64 41 74 6f 6d 57 20 46 69 6e 64 41 74 6f 6d ndAtomW FindAtom 14dc0 3b 0d 0a 09 61 6c 69 61 73 20 46 69 6e 64 46 69 ;...alias FindFi 14dd0 72 73 74 43 68 61 6e 67 65 4e 6f 74 69 66 69 63 rstChangeNotific 14de0 61 74 69 6f 6e 57 20 46 69 6e 64 46 69 72 73 74 ationW FindFirst 14df0 43 68 61 6e 67 65 4e 6f 74 69 66 69 63 61 74 69 ChangeNotificati 14e00 6f 6e 3b 0d 0a 09 61 6c 69 61 73 20 46 69 6e 64 on;...alias Find 14e10 46 69 72 73 74 46 69 6c 65 57 20 46 69 6e 64 46 FirstFileW FindF 14e20 69 72 73 74 46 69 6c 65 3b 0d 0a 09 61 6c 69 61 irstFile;...alia 14e30 73 20 46 69 6e 64 4e 65 78 74 46 69 6c 65 57 20 s FindNextFileW 14e40 46 69 6e 64 4e 65 78 74 46 69 6c 65 3b 0d 0a 09 FindNextFile;... 14e50 61 6c 69 61 73 20 46 69 6e 64 52 65 73 6f 75 72 alias FindResour 14e60 63 65 57 20 46 69 6e 64 52 65 73 6f 75 72 63 65 ceW FindResource 14e70 3b 0d 0a 09 61 6c 69 61 73 20 46 69 6e 64 52 65 ;...alias FindRe 14e80 73 6f 75 72 63 65 45 78 57 20 46 69 6e 64 52 65 sourceExW FindRe 14e90 73 6f 75 72 63 65 45 78 3b 0d 0a 09 61 6c 69 61 sourceEx;...alia 14ea0 73 20 46 6f 72 6d 61 74 4d 65 73 73 61 67 65 57 s FormatMessageW 14eb0 20 46 6f 72 6d 61 74 4d 65 73 73 61 67 65 3b 0d FormatMessage;. 14ec0 0a 09 61 6c 69 61 73 20 46 72 65 65 45 6e 76 69 ..alias FreeEnvi 14ed0 72 6f 6e 6d 65 6e 74 53 74 72 69 6e 67 73 57 20 ronmentStringsW 14ee0 46 72 65 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 53 FreeEnvironmentS 14ef0 74 72 69 6e 67 73 3b 0d 0a 09 61 6c 69 61 73 20 trings;...alias 14f00 47 65 74 41 74 6f 6d 4e 61 6d 65 57 20 47 65 74 GetAtomNameW Get 14f10 41 74 6f 6d 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 AtomName;...alia 14f20 73 20 47 65 74 43 6f 6d 6d 61 6e 64 4c 69 6e 65 s GetCommandLine 14f30 57 20 47 65 74 43 6f 6d 6d 61 6e 64 4c 69 6e 65 W GetCommandLine 14f40 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 43 6f 6d ;...alias GetCom 14f50 70 75 74 65 72 4e 61 6d 65 57 20 47 65 74 43 6f puterNameW GetCo 14f60 6d 70 75 74 65 72 4e 61 6d 65 3b 0d 0a 09 61 6c mputerName;...al 14f70 69 61 73 20 47 65 74 43 75 72 72 65 6e 74 44 69 ias GetCurrentDi 14f80 72 65 63 74 6f 72 79 57 20 47 65 74 43 75 72 72 rectoryW GetCurr 14f90 65 6e 74 44 69 72 65 63 74 6f 72 79 3b 0d 0a 09 entDirectory;... 14fa0 61 6c 69 61 73 20 47 65 74 44 65 66 61 75 6c 74 alias GetDefault 14fb0 43 6f 6d 6d 43 6f 6e 66 69 67 57 20 47 65 74 44 CommConfigW GetD 14fc0 65 66 61 75 6c 74 43 6f 6d 6d 43 6f 6e 66 69 67 efaultCommConfig 14fd0 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 44 69 73 ;...alias GetDis 14fe0 6b 46 72 65 65 53 70 61 63 65 57 20 47 65 74 44 kFreeSpaceW GetD 14ff0 69 73 6b 46 72 65 65 53 70 61 63 65 3b 0d 0a 09 iskFreeSpace;... 15000 61 6c 69 61 73 20 47 65 74 44 69 73 6b 46 72 65 alias GetDiskFre 15010 65 53 70 61 63 65 45 78 57 20 47 65 74 44 69 73 eSpaceExW GetDis 15020 6b 46 72 65 65 53 70 61 63 65 45 78 3b 0d 0a 09 kFreeSpaceEx;... 15030 61 6c 69 61 73 20 47 65 74 44 72 69 76 65 54 79 alias GetDriveTy 15040 70 65 57 20 47 65 74 44 72 69 76 65 54 79 70 65 peW GetDriveType 15050 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 45 6e 76 ;...alias GetEnv 15060 69 72 6f 6e 6d 65 6e 74 53 74 72 69 6e 67 73 57 ironmentStringsW 15070 20 47 65 74 45 6e 76 69 72 6f 6e 6d 65 6e 74 53 GetEnvironmentS 15080 74 72 69 6e 67 73 3b 0d 0a 09 61 6c 69 61 73 20 trings;...alias 15090 47 65 74 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 GetEnvironmentVa 150a0 72 69 61 62 6c 65 57 20 47 65 74 45 6e 76 69 72 riableW GetEnvir 150b0 6f 6e 6d 65 6e 74 56 61 72 69 61 62 6c 65 3b 0d onmentVariable;. 150c0 0a 09 61 6c 69 61 73 20 47 65 74 46 69 6c 65 41 ..alias GetFileA 150d0 74 74 72 69 62 75 74 65 73 57 20 47 65 74 46 69 ttributesW GetFi 150e0 6c 65 41 74 74 72 69 62 75 74 65 73 3b 0d 0a 09 leAttributes;... 150f0 61 6c 69 61 73 20 47 65 74 46 75 6c 6c 50 61 74 alias GetFullPat 15100 68 4e 61 6d 65 57 20 47 65 74 46 75 6c 6c 50 61 hNameW GetFullPa 15110 74 68 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 73 20 thName;...alias 15120 47 65 74 4c 6f 67 69 63 61 6c 44 72 69 76 65 53 GetLogicalDriveS 15130 74 72 69 6e 67 73 57 20 47 65 74 4c 6f 67 69 63 tringsW GetLogic 15140 61 6c 44 72 69 76 65 53 74 72 69 6e 67 73 3b 0d alDriveStrings;. 15150 0a 09 61 6c 69 61 73 20 47 65 74 4d 6f 64 75 6c ..alias GetModul 15160 65 46 69 6c 65 4e 61 6d 65 57 20 47 65 74 4d 6f eFileNameW GetMo 15170 64 75 6c 65 46 69 6c 65 4e 61 6d 65 3b 0d 0a 09 duleFileName;... 15180 61 6c 69 61 73 20 47 65 74 4d 6f 64 75 6c 65 48 alias GetModuleH 15190 61 6e 64 6c 65 57 20 47 65 74 4d 6f 64 75 6c 65 andleW GetModule 151a0 48 61 6e 64 6c 65 3b 0d 0a 09 61 6c 69 61 73 20 Handle;...alias 151b0 47 65 74 4e 61 6d 65 64 50 69 70 65 48 61 6e 64 GetNamedPipeHand 151c0 6c 65 53 74 61 74 65 57 20 47 65 74 4e 61 6d 65 leStateW GetName 151d0 64 50 69 70 65 48 61 6e 64 6c 65 53 74 61 74 65 dPipeHandleState 151e0 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 50 72 69 ;...alias GetPri 151f0 76 61 74 65 50 72 6f 66 69 6c 65 49 6e 74 57 20 vateProfileIntW 15200 47 65 74 50 72 69 76 61 74 65 50 72 6f 66 69 6c GetPrivateProfil 15210 65 49 6e 74 3b 0d 0a 09 61 6c 69 61 73 20 47 65 eInt;...alias Ge 15220 74 50 72 69 76 61 74 65 50 72 6f 66 69 6c 65 53 tPrivateProfileS 15230 65 63 74 69 6f 6e 57 20 47 65 74 50 72 69 76 61 ectionW GetPriva 15240 74 65 50 72 6f 66 69 6c 65 53 65 63 74 69 6f 6e teProfileSection 15250 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 50 72 69 ;...alias GetPri 15260 76 61 74 65 50 72 6f 66 69 6c 65 53 65 63 74 69 vateProfileSecti 15270 6f 6e 4e 61 6d 65 73 57 20 47 65 74 50 72 69 76 onNamesW GetPriv 15280 61 74 65 50 72 6f 66 69 6c 65 53 65 63 74 69 6f ateProfileSectio 15290 6e 4e 61 6d 65 73 3b 0d 0a 09 61 6c 69 61 73 20 nNames;...alias 152a0 47 65 74 50 72 69 76 61 74 65 50 72 6f 66 69 6c GetPrivateProfil 152b0 65 53 74 72 69 6e 67 57 20 47 65 74 50 72 69 76 eStringW GetPriv 152c0 61 74 65 50 72 6f 66 69 6c 65 53 74 72 69 6e 67 ateProfileString 152d0 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 50 72 69 ;...alias GetPri 152e0 76 61 74 65 50 72 6f 66 69 6c 65 53 74 72 75 63 vateProfileStruc 152f0 74 57 20 47 65 74 50 72 69 76 61 74 65 50 72 6f tW GetPrivatePro 15300 66 69 6c 65 53 74 72 75 63 74 3b 0d 0a 09 61 6c fileStruct;...al 15310 69 61 73 20 47 65 74 50 72 6f 66 69 6c 65 49 6e ias GetProfileIn 15320 74 57 20 47 65 74 50 72 6f 66 69 6c 65 49 6e 74 tW GetProfileInt 15330 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 50 72 6f ;...alias GetPro 15340 66 69 6c 65 53 65 63 74 69 6f 6e 57 20 47 65 74 fileSectionW Get 15350 50 72 6f 66 69 6c 65 53 65 63 74 69 6f 6e 3b 0d ProfileSection;. 15360 0a 09 61 6c 69 61 73 20 47 65 74 50 72 6f 66 69 ..alias GetProfi 15370 6c 65 53 74 72 69 6e 67 57 20 47 65 74 50 72 6f leStringW GetPro 15380 66 69 6c 65 53 74 72 69 6e 67 3b 0d 0a 09 61 6c fileString;...al 15390 69 61 73 20 47 65 74 53 68 6f 72 74 50 61 74 68 ias GetShortPath 153a0 4e 61 6d 65 57 20 47 65 74 53 68 6f 72 74 50 61 NameW GetShortPa 153b0 74 68 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 73 20 thName;...alias 153c0 47 65 74 53 74 61 72 74 75 70 49 6e 66 6f 57 20 GetStartupInfoW 153d0 47 65 74 53 74 61 72 74 75 70 49 6e 66 6f 3b 0d GetStartupInfo;. 153e0 0a 09 61 6c 69 61 73 20 47 65 74 53 79 73 74 65 ..alias GetSyste 153f0 6d 44 69 72 65 63 74 6f 72 79 57 20 47 65 74 53 mDirectoryW GetS 15400 79 73 74 65 6d 44 69 72 65 63 74 6f 72 79 3b 0d ystemDirectory;. 15410 0a 09 61 6c 69 61 73 20 47 65 74 54 65 6d 70 46 ..alias GetTempF 15420 69 6c 65 4e 61 6d 65 57 20 47 65 74 54 65 6d 70 ileNameW GetTemp 15430 46 69 6c 65 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 FileName;...alia 15440 73 20 47 65 74 54 65 6d 70 50 61 74 68 57 20 47 s GetTempPathW G 15450 65 74 54 65 6d 70 50 61 74 68 3b 0d 0a 09 61 6c etTempPath;...al 15460 69 61 73 20 47 65 74 55 73 65 72 4e 61 6d 65 57 ias GetUserNameW 15470 20 47 65 74 55 73 65 72 4e 61 6d 65 3b 0d 0a 09 GetUserName;... 15480 61 6c 69 61 73 20 47 65 74 56 65 72 73 69 6f 6e alias GetVersion 15490 45 78 57 20 47 65 74 56 65 72 73 69 6f 6e 45 78 ExW GetVersionEx 154a0 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 56 6f 6c ;...alias GetVol 154b0 75 6d 65 49 6e 66 6f 72 6d 61 74 69 6f 6e 57 20 umeInformationW 154c0 47 65 74 56 6f 6c 75 6d 65 49 6e 66 6f 72 6d 61 GetVolumeInforma 154d0 74 69 6f 6e 3b 0d 0a 09 61 6c 69 61 73 20 47 65 tion;...alias Ge 154e0 74 57 69 6e 64 6f 77 73 44 69 72 65 63 74 6f 72 tWindowsDirector 154f0 79 57 20 47 65 74 57 69 6e 64 6f 77 73 44 69 72 yW GetWindowsDir 15500 65 63 74 6f 72 79 3b 0d 0a 09 61 6c 69 61 73 20 ectory;...alias 15510 47 6c 6f 62 61 6c 41 64 64 41 74 6f 6d 57 20 47 GlobalAddAtomW G 15520 6c 6f 62 61 6c 41 64 64 41 74 6f 6d 3b 0d 0a 09 lobalAddAtom;... 15530 61 6c 69 61 73 20 47 6c 6f 62 61 6c 46 69 6e 64 alias GlobalFind 15540 41 74 6f 6d 57 20 47 6c 6f 62 61 6c 46 69 6e 64 AtomW GlobalFind 15550 41 74 6f 6d 3b 0d 0a 09 61 6c 69 61 73 20 47 6c Atom;...alias Gl 15560 6f 62 61 6c 47 65 74 41 74 6f 6d 4e 61 6d 65 57 obalGetAtomNameW 15570 20 47 6c 6f 62 61 6c 47 65 74 41 74 6f 6d 4e 61 GlobalGetAtomNa 15580 6d 65 3b 0d 0a 09 61 6c 69 61 73 20 49 73 42 61 me;...alias IsBa 15590 64 53 74 72 69 6e 67 50 74 72 57 20 49 73 42 61 dStringPtrW IsBa 155a0 64 53 74 72 69 6e 67 50 74 72 3b 0d 0a 09 61 6c dStringPtr;...al 155b0 69 61 73 20 4c 6f 61 64 4c 69 62 72 61 72 79 57 ias LoadLibraryW 155c0 20 4c 6f 61 64 4c 69 62 72 61 72 79 3b 0d 0a 09 LoadLibrary;... 155d0 61 6c 69 61 73 20 4c 6f 61 64 4c 69 62 72 61 72 alias LoadLibrar 155e0 79 45 78 57 20 4c 6f 61 64 4c 69 62 72 61 72 79 yExW LoadLibrary 155f0 45 78 3b 0d 0a 09 61 6c 69 61 73 20 6c 73 74 72 Ex;...alias lstr 15600 63 61 74 57 20 6c 73 74 72 63 61 74 3b 0d 0a 09 catW lstrcat;... 15610 61 6c 69 61 73 20 6c 73 74 72 63 6d 70 57 20 6c alias lstrcmpW l 15620 73 74 72 63 6d 70 3b 0d 0a 09 61 6c 69 61 73 20 strcmp;...alias 15630 6c 73 74 72 63 6d 70 69 57 20 6c 73 74 72 63 6d lstrcmpiW lstrcm 15640 70 69 3b 0d 0a 09 61 6c 69 61 73 20 6c 73 74 72 pi;...alias lstr 15650 63 70 79 57 20 6c 73 74 72 63 70 79 3b 0d 0a 09 cpyW lstrcpy;... 15660 61 6c 69 61 73 20 6c 73 74 72 63 70 79 6e 57 20 alias lstrcpynW 15670 6c 73 74 72 63 70 79 6e 3b 0d 0a 09 61 6c 69 61 lstrcpyn;...alia 15680 73 20 6c 73 74 72 6c 65 6e 57 20 6c 73 74 72 6c s lstrlenW lstrl 15690 65 6e 3b 0d 0a 09 61 6c 69 61 73 20 4d 6f 76 65 en;...alias Move 156a0 46 69 6c 65 57 20 4d 6f 76 65 46 69 6c 65 3b 0d FileW MoveFile;. 156b0 0a 09 61 6c 69 61 73 20 4f 70 65 6e 45 76 65 6e ..alias OpenEven 156c0 74 57 20 4f 70 65 6e 45 76 65 6e 74 3b 0d 0a 09 tW OpenEvent;... 156d0 61 6c 69 61 73 20 4f 70 65 6e 4d 75 74 65 78 57 alias OpenMutexW 156e0 20 4f 70 65 6e 4d 75 74 65 78 3b 0d 0a 09 61 6c OpenMutex;...al 156f0 69 61 73 20 4f 70 65 6e 53 65 6d 61 70 68 6f 72 ias OpenSemaphor 15700 65 57 20 4f 70 65 6e 53 65 6d 61 70 68 6f 72 65 eW OpenSemaphore 15710 3b 0d 0a 09 61 6c 69 61 73 20 4f 75 74 70 75 74 ;...alias Output 15720 44 65 62 75 67 53 74 72 69 6e 67 57 20 4f 75 74 DebugStringW Out 15730 70 75 74 44 65 62 75 67 53 74 72 69 6e 67 3b 0d putDebugString;. 15740 0a 09 61 6c 69 61 73 20 52 65 6d 6f 76 65 44 69 ..alias RemoveDi 15750 72 65 63 74 6f 72 79 57 20 52 65 6d 6f 76 65 44 rectoryW RemoveD 15760 69 72 65 63 74 6f 72 79 3b 0d 0a 09 61 6c 69 61 irectory;...alia 15770 73 20 53 65 61 72 63 68 50 61 74 68 57 20 53 65 s SearchPathW Se 15780 61 72 63 68 50 61 74 68 3b 0d 0a 09 61 6c 69 61 archPath;...alia 15790 73 20 53 65 74 43 6f 6d 70 75 74 65 72 4e 61 6d s SetComputerNam 157a0 65 57 20 53 65 74 43 6f 6d 70 75 74 65 72 4e 61 eW SetComputerNa 157b0 6d 65 3b 0d 0a 09 61 6c 69 61 73 20 53 65 74 43 me;...alias SetC 157c0 75 72 72 65 6e 74 44 69 72 65 63 74 6f 72 79 57 urrentDirectoryW 157d0 20 53 65 74 43 75 72 72 65 6e 74 44 69 72 65 63 SetCurrentDirec 157e0 74 6f 72 79 3b 0d 0a 09 61 6c 69 61 73 20 53 65 tory;...alias Se 157f0 74 44 65 66 61 75 6c 74 43 6f 6d 6d 43 6f 6e 66 tDefaultCommConf 15800 69 67 57 20 53 65 74 44 65 66 61 75 6c 74 43 6f igW SetDefaultCo 15810 6d 6d 43 6f 6e 66 69 67 3b 0d 0a 09 61 6c 69 61 mmConfig;...alia 15820 73 20 53 65 74 45 6e 76 69 72 6f 6e 6d 65 6e 74 s SetEnvironment 15830 56 61 72 69 61 62 6c 65 57 20 53 65 74 45 6e 76 VariableW SetEnv 15840 69 72 6f 6e 6d 65 6e 74 56 61 72 69 61 62 6c 65 ironmentVariable 15850 3b 0d 0a 09 61 6c 69 61 73 20 53 65 74 46 69 6c ;...alias SetFil 15860 65 41 74 74 72 69 62 75 74 65 73 57 20 53 65 74 eAttributesW Set 15870 46 69 6c 65 41 74 74 72 69 62 75 74 65 73 3b 0d FileAttributes;. 15880 0a 09 61 6c 69 61 73 20 53 65 74 56 6f 6c 75 6d ..alias SetVolum 15890 65 4c 61 62 65 6c 57 20 53 65 74 56 6f 6c 75 6d eLabelW SetVolum 158a0 65 4c 61 62 65 6c 3b 0d 0a 09 61 6c 69 61 73 20 eLabel;...alias 158b0 57 61 69 74 4e 61 6d 65 64 50 69 70 65 57 20 57 WaitNamedPipeW W 158c0 61 69 74 4e 61 6d 65 64 50 69 70 65 3b 0d 0a 09 aitNamedPipe;... 158d0 61 6c 69 61 73 20 57 72 69 74 65 50 72 69 76 61 alias WritePriva 158e0 74 65 50 72 6f 66 69 6c 65 53 65 63 74 69 6f 6e teProfileSection 158f0 57 20 57 72 69 74 65 50 72 69 76 61 74 65 50 72 W WritePrivatePr 15900 6f 66 69 6c 65 53 65 63 74 69 6f 6e 3b 0d 0a 09 ofileSection;... 15910 61 6c 69 61 73 20 57 72 69 74 65 50 72 69 76 61 alias WritePriva 15920 74 65 50 72 6f 66 69 6c 65 53 74 72 69 6e 67 57 teProfileStringW 15930 20 57 72 69 74 65 50 72 69 76 61 74 65 50 72 6f WritePrivatePro 15940 66 69 6c 65 53 74 72 69 6e 67 3b 0d 0a 09 61 6c fileString;...al 15950 69 61 73 20 57 72 69 74 65 50 72 69 76 61 74 65 ias WritePrivate 15960 50 72 6f 66 69 6c 65 53 74 72 75 63 74 57 20 57 ProfileStructW W 15970 72 69 74 65 50 72 69 76 61 74 65 50 72 6f 66 69 ritePrivateProfi 15980 6c 65 53 74 72 75 63 74 3b 0d 0a 09 61 6c 69 61 leStruct;...alia 15990 73 20 57 72 69 74 65 50 72 6f 66 69 6c 65 53 65 s WriteProfileSe 159a0 63 74 69 6f 6e 57 20 57 72 69 74 65 50 72 6f 66 ctionW WriteProf 159b0 69 6c 65 53 65 63 74 69 6f 6e 3b 0d 0a 09 61 6c ileSection;...al 159c0 69 61 73 20 57 72 69 74 65 50 72 6f 66 69 6c 65 ias WriteProfile 159d0 53 74 72 69 6e 67 57 20 57 72 69 74 65 50 72 6f StringW WritePro 159e0 66 69 6c 65 53 74 72 69 6e 67 3b 0d 0a 09 61 6c fileString;...al 159f0 69 61 73 20 43 72 65 61 74 65 57 61 69 74 61 62 ias CreateWaitab 15a00 6c 65 54 69 6d 65 72 57 20 43 72 65 61 74 65 57 leTimerW CreateW 15a10 61 69 74 61 62 6c 65 54 69 6d 65 72 3b 0d 0a 09 aitableTimer;... 15a20 61 6c 69 61 73 20 47 65 74 46 69 6c 65 41 74 74 alias GetFileAtt 15a30 72 69 62 75 74 65 73 45 78 57 20 47 65 74 46 69 ributesExW GetFi 15a40 6c 65 41 74 74 72 69 62 75 74 65 73 45 78 3b 0d leAttributesEx;. 15a50 0a 09 61 6c 69 61 73 20 47 65 74 4c 6f 6e 67 50 ..alias GetLongP 15a60 61 74 68 4e 61 6d 65 57 20 47 65 74 4c 6f 6e 67 athNameW GetLong 15a70 50 61 74 68 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 PathName;...alia 15a80 73 20 51 75 65 72 79 44 6f 73 44 65 76 69 63 65 s QueryDosDevice 15a90 57 20 51 75 65 72 79 44 6f 73 44 65 76 69 63 65 W QueryDosDevice 15aa0 3b 0d 0a 0d 0a 09 61 6c 69 61 73 20 48 57 5f 50 ;.....alias HW_P 15ab0 52 4f 46 49 4c 45 5f 49 4e 46 4f 57 20 48 57 5f ROFILE_INFOW HW_ 15ac0 50 52 4f 46 49 4c 45 5f 49 4e 46 4f 3b 0d 0a 09 PROFILE_INFO;... 15ad0 61 6c 69 61 73 20 41 63 63 65 73 73 43 68 65 63 alias AccessChec 15ae0 6b 41 6e 64 41 75 64 69 74 41 6c 61 72 6d 57 20 kAndAuditAlarmW 15af0 41 63 63 65 73 73 43 68 65 63 6b 41 6e 64 41 75 AccessCheckAndAu 15b00 64 69 74 41 6c 61 72 6d 3b 0d 0a 09 61 6c 69 61 ditAlarm;...alia 15b10 73 20 42 61 63 6b 75 70 45 76 65 6e 74 4c 6f 67 s BackupEventLog 15b20 57 20 42 61 63 6b 75 70 45 76 65 6e 74 4c 6f 67 W BackupEventLog 15b30 3b 0d 0a 09 61 6c 69 61 73 20 43 6c 65 61 72 45 ;...alias ClearE 15b40 76 65 6e 74 4c 6f 67 57 20 43 6c 65 61 72 45 76 ventLogW ClearEv 15b50 65 6e 74 4c 6f 67 3b 0d 0a 09 61 6c 69 61 73 20 entLog;...alias 15b60 43 72 65 61 74 65 4e 61 6d 65 64 50 69 70 65 57 CreateNamedPipeW 15b70 20 43 72 65 61 74 65 4e 61 6d 65 64 50 69 70 65 CreateNamedPipe 15b80 3b 0d 0a 09 61 6c 69 61 73 20 43 72 65 61 74 65 ;...alias Create 15b90 50 72 6f 63 65 73 73 41 73 55 73 65 72 57 20 43 ProcessAsUserW C 15ba0 72 65 61 74 65 50 72 6f 63 65 73 73 41 73 55 73 reateProcessAsUs 15bb0 65 72 3b 0d 0a 09 61 6c 69 61 73 20 44 65 66 69 er;...alias Defi 15bc0 6e 65 44 6f 73 44 65 76 69 63 65 57 20 44 65 66 neDosDeviceW Def 15bd0 69 6e 65 44 6f 73 44 65 76 69 63 65 3b 0d 0a 09 ineDosDevice;... 15be0 61 6c 69 61 73 20 46 69 6e 64 46 69 72 73 74 46 alias FindFirstF 15bf0 69 6c 65 45 78 57 20 46 69 6e 64 46 69 72 73 74 ileExW FindFirst 15c00 46 69 6c 65 45 78 3b 0d 0a 09 61 6c 69 61 73 20 FileEx;...alias 15c10 47 65 74 42 69 6e 61 72 79 54 79 70 65 57 20 47 GetBinaryTypeW G 15c20 65 74 42 69 6e 61 72 79 54 79 70 65 3b 0d 0a 09 etBinaryType;... 15c30 61 6c 69 61 73 20 47 65 74 43 6f 6d 70 72 65 73 alias GetCompres 15c40 73 65 64 46 69 6c 65 53 69 7a 65 57 20 47 65 74 sedFileSizeW Get 15c50 43 6f 6d 70 72 65 73 73 65 64 46 69 6c 65 53 69 CompressedFileSi 15c60 7a 65 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 46 ze;...alias GetF 15c70 69 6c 65 53 65 63 75 72 69 74 79 57 20 47 65 74 ileSecurityW Get 15c80 46 69 6c 65 53 65 63 75 72 69 74 79 3b 0d 0a 09 FileSecurity;... 15c90 61 6c 69 61 73 20 4c 6f 67 6f 6e 55 73 65 72 57 alias LogonUserW 15ca0 20 4c 6f 67 6f 6e 55 73 65 72 3b 0d 0a 09 61 6c LogonUser;...al 15cb0 69 61 73 20 4c 6f 6f 6b 75 70 41 63 63 6f 75 6e ias LookupAccoun 15cc0 74 4e 61 6d 65 57 20 4c 6f 6f 6b 75 70 41 63 63 tNameW LookupAcc 15cd0 6f 75 6e 74 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 ountName;...alia 15ce0 73 20 4c 6f 6f 6b 75 70 41 63 63 6f 75 6e 74 53 s LookupAccountS 15cf0 69 64 57 20 4c 6f 6f 6b 75 70 41 63 63 6f 75 6e idW LookupAccoun 15d00 74 53 69 64 3b 0d 0a 09 61 6c 69 61 73 20 4c 6f tSid;...alias Lo 15d10 6f 6b 75 70 50 72 69 76 69 6c 65 67 65 44 69 73 okupPrivilegeDis 15d20 70 6c 61 79 4e 61 6d 65 57 20 4c 6f 6f 6b 75 70 playNameW Lookup 15d30 50 72 69 76 69 6c 65 67 65 44 69 73 70 6c 61 79 PrivilegeDisplay 15d40 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 73 20 4c 6f Name;...alias Lo 15d50 6f 6b 75 70 50 72 69 76 69 6c 65 67 65 4e 61 6d okupPrivilegeNam 15d60 65 57 20 4c 6f 6f 6b 75 70 50 72 69 76 69 6c 65 eW LookupPrivile 15d70 67 65 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 73 20 geName;...alias 15d80 4c 6f 6f 6b 75 70 50 72 69 76 69 6c 65 67 65 56 LookupPrivilegeV 15d90 61 6c 75 65 57 20 4c 6f 6f 6b 75 70 50 72 69 76 alueW LookupPriv 15da0 69 6c 65 67 65 56 61 6c 75 65 3b 0d 0a 09 61 6c ilegeValue;...al 15db0 69 61 73 20 4d 6f 76 65 46 69 6c 65 45 78 57 20 ias MoveFileExW 15dc0 4d 6f 76 65 46 69 6c 65 45 78 3b 0d 0a 09 61 6c MoveFileEx;...al 15dd0 69 61 73 20 4f 62 6a 65 63 74 43 6c 6f 73 65 41 ias ObjectCloseA 15de0 75 64 69 74 41 6c 61 72 6d 57 20 4f 62 6a 65 63 uditAlarmW Objec 15df0 74 43 6c 6f 73 65 41 75 64 69 74 41 6c 61 72 6d tCloseAuditAlarm 15e00 3b 0d 0a 09 61 6c 69 61 73 20 4f 62 6a 65 63 74 ;...alias Object 15e10 44 65 6c 65 74 65 41 75 64 69 74 41 6c 61 72 6d DeleteAuditAlarm 15e20 57 20 4f 62 6a 65 63 74 44 65 6c 65 74 65 41 75 W ObjectDeleteAu 15e30 64 69 74 41 6c 61 72 6d 3b 0d 0a 09 61 6c 69 61 ditAlarm;...alia 15e40 73 20 4f 62 6a 65 63 74 4f 70 65 6e 41 75 64 69 s ObjectOpenAudi 15e50 74 41 6c 61 72 6d 57 20 4f 62 6a 65 63 74 4f 70 tAlarmW ObjectOp 15e60 65 6e 41 75 64 69 74 41 6c 61 72 6d 3b 0d 0a 09 enAuditAlarm;... 15e70 61 6c 69 61 73 20 4f 62 6a 65 63 74 50 72 69 76 alias ObjectPriv 15e80 69 6c 65 67 65 41 75 64 69 74 41 6c 61 72 6d 57 ilegeAuditAlarmW 15e90 20 4f 62 6a 65 63 74 50 72 69 76 69 6c 65 67 65 ObjectPrivilege 15ea0 41 75 64 69 74 41 6c 61 72 6d 3b 0d 0a 09 61 6c AuditAlarm;...al 15eb0 69 61 73 20 4f 70 65 6e 42 61 63 6b 75 70 45 76 ias OpenBackupEv 15ec0 65 6e 74 4c 6f 67 57 20 4f 70 65 6e 42 61 63 6b entLogW OpenBack 15ed0 75 70 45 76 65 6e 74 4c 6f 67 3b 0d 0a 09 61 6c upEventLog;...al 15ee0 69 61 73 20 4f 70 65 6e 45 76 65 6e 74 4c 6f 67 ias OpenEventLog 15ef0 57 20 4f 70 65 6e 45 76 65 6e 74 4c 6f 67 3b 0d W OpenEventLog;. 15f00 0a 09 61 6c 69 61 73 20 50 72 69 76 69 6c 65 67 ..alias Privileg 15f10 65 64 53 65 72 76 69 63 65 41 75 64 69 74 41 6c edServiceAuditAl 15f20 61 72 6d 57 20 50 72 69 76 69 6c 65 67 65 64 53 armW PrivilegedS 15f30 65 72 76 69 63 65 41 75 64 69 74 41 6c 61 72 6d erviceAuditAlarm 15f40 3b 0d 0a 09 61 6c 69 61 73 20 52 65 61 64 45 76 ;...alias ReadEv 15f50 65 6e 74 4c 6f 67 57 20 52 65 61 64 45 76 65 6e entLogW ReadEven 15f60 74 4c 6f 67 3b 0d 0a 09 61 6c 69 61 73 20 52 65 tLog;...alias Re 15f70 67 69 73 74 65 72 45 76 65 6e 74 53 6f 75 72 63 gisterEventSourc 15f80 65 57 20 52 65 67 69 73 74 65 72 45 76 65 6e 74 eW RegisterEvent 15f90 53 6f 75 72 63 65 3b 0d 0a 09 61 6c 69 61 73 20 Source;...alias 15fa0 52 65 70 6f 72 74 45 76 65 6e 74 57 20 52 65 70 ReportEventW Rep 15fb0 6f 72 74 45 76 65 6e 74 3b 0d 0a 09 61 6c 69 61 ortEvent;...alia 15fc0 73 20 53 65 74 46 69 6c 65 53 65 63 75 72 69 74 s SetFileSecurit 15fd0 79 57 20 53 65 74 46 69 6c 65 53 65 63 75 72 69 yW SetFileSecuri 15fe0 74 79 3b 0d 0a 09 61 6c 69 61 73 20 55 70 64 61 ty;...alias Upda 15ff0 74 65 52 65 73 6f 75 72 63 65 57 20 55 70 64 61 teResourceW Upda 16000 74 65 52 65 73 6f 75 72 63 65 3b 0d 0a 0d 0a 09 teResource;..... 16010 73 74 61 74 69 63 20 69 66 20 28 5f 57 49 4e 33 static if (_WIN3 16020 32 5f 57 49 4e 4e 54 20 3e 3d 20 30 78 35 30 30 2_WINNT >= 0x500 16030 29 20 7b 0d 0a 09 09 61 6c 69 61 73 20 43 72 65 ) {....alias Cre 16040 61 74 65 46 69 6c 65 4d 61 70 70 69 6e 67 57 20 ateFileMappingW 16050 43 72 65 61 74 65 46 69 6c 65 4d 61 70 70 69 6e CreateFileMappin 16060 67 3b 0d 0a 09 09 61 6c 69 61 73 20 43 72 65 61 g;....alias Crea 16070 74 65 48 61 72 64 4c 69 6e 6b 57 20 43 72 65 61 teHardLinkW Crea 16080 74 65 48 61 72 64 4c 69 6e 6b 3b 0d 0a 09 09 61 teHardLink;....a 16090 6c 69 61 73 20 43 72 65 61 74 65 4a 6f 62 4f 62 lias CreateJobOb 160a0 6a 65 63 74 57 20 43 72 65 61 74 65 4a 6f 62 4f jectW CreateJobO 160b0 62 6a 65 63 74 3b 0d 0a 09 09 61 6c 69 61 73 20 bject;....alias 160c0 44 65 6c 65 74 65 56 6f 6c 75 6d 65 4d 6f 75 6e DeleteVolumeMoun 160d0 74 50 6f 69 6e 74 57 20 44 65 6c 65 74 65 56 6f tPointW DeleteVo 160e0 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 3b 0d lumeMountPoint;. 160f0 0a 09 09 61 6c 69 61 73 20 44 6e 73 48 6f 73 74 ...alias DnsHost 16100 6e 61 6d 65 54 6f 43 6f 6d 70 75 74 65 72 4e 61 nameToComputerNa 16110 6d 65 57 20 44 6e 73 48 6f 73 74 6e 61 6d 65 54 meW DnsHostnameT 16120 6f 43 6f 6d 70 75 74 65 72 4e 61 6d 65 3b 0d 0a oComputerName;.. 16130 09 09 61 6c 69 61 73 20 45 6e 63 72 79 70 74 46 ..alias EncryptF 16140 69 6c 65 57 20 45 6e 63 72 79 70 74 46 69 6c 65 ileW EncryptFile 16150 3b 0d 0a 09 09 61 6c 69 61 73 20 46 69 6c 65 45 ;....alias FileE 16160 6e 63 72 79 70 74 69 6f 6e 53 74 61 74 75 73 57 ncryptionStatusW 16170 20 46 69 6c 65 45 6e 63 72 79 70 74 69 6f 6e 53 FileEncryptionS 16180 74 61 74 75 73 3b 0d 0a 09 09 61 6c 69 61 73 20 tatus;....alias 16190 46 69 6e 64 46 69 72 73 74 56 6f 6c 75 6d 65 57 FindFirstVolumeW 161a0 20 46 69 6e 64 46 69 72 73 74 56 6f 6c 75 6d 65 FindFirstVolume 161b0 3b 0d 0a 09 09 61 6c 69 61 73 20 46 69 6e 64 46 ;....alias FindF 161c0 69 72 73 74 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 irstVolumeMountP 161d0 6f 69 6e 74 57 20 46 69 6e 64 46 69 72 73 74 56 ointW FindFirstV 161e0 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 3b olumeMountPoint; 161f0 0d 0a 09 09 61 6c 69 61 73 20 46 69 6e 64 4e 65 ....alias FindNe 16200 78 74 56 6f 6c 75 6d 65 57 20 46 69 6e 64 4e 65 xtVolumeW FindNe 16210 78 74 56 6f 6c 75 6d 65 3b 0d 0a 09 09 61 6c 69 xtVolume;....ali 16220 61 73 20 46 69 6e 64 4e 65 78 74 56 6f 6c 75 6d as FindNextVolum 16230 65 4d 6f 75 6e 74 50 6f 69 6e 74 57 20 46 69 6e eMountPointW Fin 16240 64 4e 65 78 74 56 6f 6c 75 6d 65 4d 6f 75 6e 74 dNextVolumeMount 16250 50 6f 69 6e 74 3b 0d 0a 09 09 61 6c 69 61 73 20 Point;....alias 16260 47 65 74 4d 6f 64 75 6c 65 48 61 6e 64 6c 65 45 GetModuleHandleE 16270 78 57 20 47 65 74 4d 6f 64 75 6c 65 48 61 6e 64 xW GetModuleHand 16280 6c 65 45 78 3b 0d 0a 09 09 61 6c 69 61 73 20 47 leEx;....alias G 16290 65 74 53 79 73 74 65 6d 57 69 6e 64 6f 77 73 44 etSystemWindowsD 162a0 69 72 65 63 74 6f 72 79 57 20 47 65 74 53 79 73 irectoryW GetSys 162b0 74 65 6d 57 69 6e 64 6f 77 73 44 69 72 65 63 74 temWindowsDirect 162c0 6f 72 79 3b 0d 0a 09 09 61 6c 69 61 73 20 47 65 ory;....alias Ge 162d0 74 56 6f 6c 75 6d 65 4e 61 6d 65 46 6f 72 56 6f tVolumeNameForVo 162e0 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 57 20 lumeMountPointW 162f0 47 65 74 56 6f 6c 75 6d 65 4e 61 6d 65 46 6f 72 GetVolumeNameFor 16300 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 VolumeMountPoint 16310 3b 0d 0a 09 09 61 6c 69 61 73 20 47 65 74 56 6f ;....alias GetVo 16320 6c 75 6d 65 50 61 74 68 4e 61 6d 65 57 20 47 65 lumePathNameW Ge 16330 74 56 6f 6c 75 6d 65 50 61 74 68 4e 61 6d 65 3b tVolumePathName; 16340 0d 0a 09 09 61 6c 69 61 73 20 4f 70 65 6e 46 69 ....alias OpenFi 16350 6c 65 4d 61 70 70 69 6e 67 57 20 4f 70 65 6e 46 leMappingW OpenF 16360 69 6c 65 4d 61 70 70 69 6e 67 3b 0d 0a 09 09 61 ileMapping;....a 16370 6c 69 61 73 20 52 65 70 6c 61 63 65 46 69 6c 65 lias ReplaceFile 16380 57 20 52 65 70 6c 61 63 65 46 69 6c 65 3b 0d 0a W ReplaceFile;.. 16390 09 09 61 6c 69 61 73 20 53 65 74 56 6f 6c 75 6d ..alias SetVolum 163a0 65 4d 6f 75 6e 74 50 6f 69 6e 74 57 20 53 65 74 eMountPointW Set 163b0 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 VolumeMountPoint 163c0 3b 0d 0a 09 09 61 6c 69 61 73 20 56 65 72 69 66 ;....alias Verif 163d0 79 56 65 72 73 69 6f 6e 49 6e 66 6f 57 20 56 65 yVersionInfoW Ve 163e0 72 69 66 79 56 65 72 73 69 6f 6e 49 6e 66 6f 3b rifyVersionInfo; 163f0 0d 0a 09 7d 0d 0a 0d 0a 09 73 74 61 74 69 63 20 ...}.....static 16400 69 66 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 if (_WIN32_WINNT 16410 20 3e 3d 20 30 78 35 30 31 29 20 7b 0d 0a 09 09 >= 0x501) {.... 16420 61 6c 69 61 73 20 41 43 54 43 54 58 57 20 41 43 alias ACTCTXW AC 16430 54 43 54 58 3b 0d 0a 09 09 61 6c 69 61 73 20 43 TCTX;....alias C 16440 68 65 63 6b 4e 61 6d 65 4c 65 67 61 6c 44 4f 53 heckNameLegalDOS 16450 38 44 6f 74 33 57 20 43 68 65 63 6b 4e 61 6d 65 8Dot3W CheckName 16460 4c 65 67 61 6c 44 4f 53 38 44 6f 74 33 3b 0d 0a LegalDOS8Dot3;.. 16470 09 09 61 6c 69 61 73 20 43 72 65 61 74 65 41 63 ..alias CreateAc 16480 74 43 74 78 57 20 43 72 65 61 74 65 41 63 74 43 tCtxW CreateActC 16490 74 78 3b 0d 0a 09 09 61 6c 69 61 73 20 46 69 6e tx;....alias Fin 164a0 64 41 63 74 43 74 78 53 65 63 74 69 6f 6e 53 74 dActCtxSectionSt 164b0 72 69 6e 67 57 20 46 69 6e 64 41 63 74 43 74 78 ringW FindActCtx 164c0 53 65 63 74 69 6f 6e 53 74 72 69 6e 67 3b 0d 0a SectionString;.. 164d0 09 09 61 6c 69 61 73 20 47 65 74 53 79 73 74 65 ..alias GetSyste 164e0 6d 57 6f 77 36 34 44 69 72 65 63 74 6f 72 79 57 mWow64DirectoryW 164f0 20 47 65 74 53 79 73 74 65 6d 57 6f 77 36 34 44 GetSystemWow64D 16500 69 72 65 63 74 6f 72 79 3b 0d 0a 09 09 61 6c 69 irectory;....ali 16510 61 73 20 47 65 74 56 6f 6c 75 6d 65 50 61 74 68 as GetVolumePath 16520 4e 61 6d 65 73 46 6f 72 56 6f 6c 75 6d 65 4e 61 NamesForVolumeNa 16530 6d 65 57 20 47 65 74 56 6f 6c 75 6d 65 50 61 74 meW GetVolumePat 16540 68 4e 61 6d 65 73 46 6f 72 56 6f 6c 75 6d 65 4e hNamesForVolumeN 16550 61 6d 65 3b 0d 0a 09 09 61 6c 69 61 73 20 53 65 ame;....alias Se 16560 74 46 69 6c 65 53 68 6f 72 74 4e 61 6d 65 57 20 tFileShortNameW 16570 53 65 74 46 69 6c 65 53 68 6f 72 74 4e 61 6d 65 SetFileShortName 16580 3b 0d 0a 09 7d 0d 0a 0d 0a 09 73 74 61 74 69 63 ;...}.....static 16590 20 69 66 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e if (_WIN32_WINN 165a0 54 20 3e 3d 20 30 78 35 30 32 29 20 7b 0d 0a 09 T >= 0x502) {... 165b0 09 61 6c 69 61 73 20 53 65 74 46 69 72 6d 77 61 .alias SetFirmwa 165c0 72 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 72 reEnvironmentVar 165d0 69 61 62 6c 65 57 20 53 65 74 46 69 72 6d 77 61 iableW SetFirmwa 165e0 72 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 72 reEnvironmentVar 165f0 69 61 62 6c 65 3b 0d 0a 09 09 61 6c 69 61 73 20 iable;....alias 16600 53 65 74 44 6c 6c 44 69 72 65 63 74 6f 72 79 57 SetDllDirectoryW 16610 20 53 65 74 44 6c 6c 44 69 72 65 63 74 6f 72 79 SetDllDirectory 16620 3b 0d 0a 09 09 61 6c 69 61 73 20 47 65 74 44 6c ;....alias GetDl 16630 6c 44 69 72 65 63 74 6f 72 79 57 20 47 65 74 44 lDirectoryW GetD 16640 6c 6c 44 69 72 65 63 74 6f 72 79 3b 0d 0a 09 7d llDirectory;...} 16650 0d 0a 0d 0a 7d 20 65 6c 73 65 20 7b 0d 0a 09 2f ....} else {.../ 16660 2f 61 6c 69 61 73 20 53 54 41 52 54 55 50 49 4e /alias STARTUPIN 16670 46 4f 41 20 53 54 41 52 54 55 50 49 4e 46 4f 3b FOA STARTUPINFO; 16680 0d 0a 09 61 6c 69 61 73 20 57 49 4e 33 32 5f 46 ...alias WIN32_F 16690 49 4e 44 5f 44 41 54 41 41 20 57 49 4e 33 32 5f IND_DATAA WIN32_ 166a0 46 49 4e 44 5f 44 41 54 41 3b 0d 0a 09 61 6c 69 FIND_DATA;...ali 166b0 61 73 20 45 4e 55 4d 52 45 53 4c 41 4e 47 50 52 as ENUMRESLANGPR 166c0 4f 43 57 20 45 4e 55 4d 52 45 53 4c 41 4e 47 50 OCW ENUMRESLANGP 166d0 52 4f 43 3b 0d 0a 09 61 6c 69 61 73 20 45 4e 55 ROC;...alias ENU 166e0 4d 52 45 53 4e 41 4d 45 50 52 4f 43 57 20 45 4e MRESNAMEPROCW EN 166f0 55 4d 52 45 53 4e 41 4d 45 50 52 4f 43 3b 0d 0a UMRESNAMEPROC;.. 16700 09 61 6c 69 61 73 20 45 4e 55 4d 52 45 53 54 59 .alias ENUMRESTY 16710 50 45 50 52 4f 43 57 20 45 4e 55 4d 52 45 53 54 PEPROCW ENUMREST 16720 59 50 45 50 52 4f 43 3b 0d 0a 09 61 6c 69 61 73 YPEPROC;...alias 16730 20 41 64 64 41 74 6f 6d 41 20 41 64 64 41 74 6f AddAtomA AddAto 16740 6d 3b 0d 0a 09 61 6c 69 61 73 20 42 65 67 69 6e m;...alias Begin 16750 55 70 64 61 74 65 52 65 73 6f 75 72 63 65 41 20 UpdateResourceA 16760 42 65 67 69 6e 55 70 64 61 74 65 52 65 73 6f 75 BeginUpdateResou 16770 72 63 65 3b 0d 0a 09 61 6c 69 61 73 20 42 75 69 rce;...alias Bui 16780 6c 64 43 6f 6d 6d 44 43 42 41 20 42 75 69 6c 64 ldCommDCBA Build 16790 43 6f 6d 6d 44 43 42 3b 0d 0a 09 61 6c 69 61 73 CommDCB;...alias 167a0 20 42 75 69 6c 64 43 6f 6d 6d 44 43 42 41 6e 64 BuildCommDCBAnd 167b0 54 69 6d 65 6f 75 74 73 41 20 42 75 69 6c 64 43 TimeoutsA BuildC 167c0 6f 6d 6d 44 43 42 41 6e 64 54 69 6d 65 6f 75 74 ommDCBAndTimeout 167d0 73 3b 0d 0a 09 61 6c 69 61 73 20 43 61 6c 6c 4e s;...alias CallN 167e0 61 6d 65 64 50 69 70 65 41 20 43 61 6c 6c 4e 61 amedPipeA CallNa 167f0 6d 65 64 50 69 70 65 3b 0d 0a 09 61 6c 69 61 73 medPipe;...alias 16800 20 43 6f 6d 6d 43 6f 6e 66 69 67 44 69 61 6c 6f CommConfigDialo 16810 67 41 20 43 6f 6d 6d 43 6f 6e 66 69 67 44 69 61 gA CommConfigDia 16820 6c 6f 67 3b 0d 0a 09 61 6c 69 61 73 20 43 6f 70 log;...alias Cop 16830 79 46 69 6c 65 41 20 43 6f 70 79 46 69 6c 65 3b yFileA CopyFile; 16840 0d 0a 09 61 6c 69 61 73 20 43 6f 70 79 46 69 6c ...alias CopyFil 16850 65 45 78 41 20 43 6f 70 79 46 69 6c 65 45 78 3b eExA CopyFileEx; 16860 0d 0a 09 61 6c 69 61 73 20 43 72 65 61 74 65 44 ...alias CreateD 16870 69 72 65 63 74 6f 72 79 41 20 43 72 65 61 74 65 irectoryA Create 16880 44 69 72 65 63 74 6f 72 79 3b 0d 0a 09 61 6c 69 Directory;...ali 16890 61 73 20 43 72 65 61 74 65 44 69 72 65 63 74 6f as CreateDirecto 168a0 72 79 45 78 41 20 43 72 65 61 74 65 44 69 72 65 ryExA CreateDire 168b0 63 74 6f 72 79 45 78 3b 0d 0a 09 61 6c 69 61 73 ctoryEx;...alias 168c0 20 43 72 65 61 74 65 45 76 65 6e 74 41 20 43 72 CreateEventA Cr 168d0 65 61 74 65 45 76 65 6e 74 3b 0d 0a 09 61 6c 69 eateEvent;...ali 168e0 61 73 20 43 72 65 61 74 65 46 69 6c 65 41 20 43 as CreateFileA C 168f0 72 65 61 74 65 46 69 6c 65 3b 0d 0a 09 61 6c 69 reateFile;...ali 16900 61 73 20 43 72 65 61 74 65 4d 61 69 6c 73 6c 6f as CreateMailslo 16910 74 41 20 43 72 65 61 74 65 4d 61 69 6c 73 6c 6f tA CreateMailslo 16920 74 3b 0d 0a 09 61 6c 69 61 73 20 43 72 65 61 74 t;...alias Creat 16930 65 4d 75 74 65 78 41 20 43 72 65 61 74 65 4d 75 eMutexA CreateMu 16940 74 65 78 3b 0d 0a 09 61 6c 69 61 73 20 43 72 65 tex;...alias Cre 16950 61 74 65 50 72 6f 63 65 73 73 41 20 43 72 65 61 ateProcessA Crea 16960 74 65 50 72 6f 63 65 73 73 3b 0d 0a 09 61 6c 69 teProcess;...ali 16970 61 73 20 43 72 65 61 74 65 53 65 6d 61 70 68 6f as CreateSemapho 16980 72 65 41 20 43 72 65 61 74 65 53 65 6d 61 70 68 reA CreateSemaph 16990 6f 72 65 3b 0d 0a 09 61 6c 69 61 73 20 44 65 6c ore;...alias Del 169a0 65 74 65 46 69 6c 65 41 20 44 65 6c 65 74 65 46 eteFileA DeleteF 169b0 69 6c 65 3b 0d 0a 09 61 6c 69 61 73 20 45 6e 64 ile;...alias End 169c0 55 70 64 61 74 65 52 65 73 6f 75 72 63 65 41 20 UpdateResourceA 169d0 45 6e 64 55 70 64 61 74 65 52 65 73 6f 75 72 63 EndUpdateResourc 169e0 65 3b 0d 0a 09 61 6c 69 61 73 20 45 6e 75 6d 52 e;...alias EnumR 169f0 65 73 6f 75 72 63 65 4c 61 6e 67 75 61 67 65 73 esourceLanguages 16a00 41 20 45 6e 75 6d 52 65 73 6f 75 72 63 65 4c 61 A EnumResourceLa 16a10 6e 67 75 61 67 65 73 3b 0d 0a 09 61 6c 69 61 73 nguages;...alias 16a20 20 45 6e 75 6d 52 65 73 6f 75 72 63 65 4e 61 6d EnumResourceNam 16a30 65 73 41 20 45 6e 75 6d 52 65 73 6f 75 72 63 65 esA EnumResource 16a40 4e 61 6d 65 73 3b 0d 0a 09 61 6c 69 61 73 20 45 Names;...alias E 16a50 6e 75 6d 52 65 73 6f 75 72 63 65 54 79 70 65 73 numResourceTypes 16a60 41 20 45 6e 75 6d 52 65 73 6f 75 72 63 65 54 79 A EnumResourceTy 16a70 70 65 73 3b 0d 0a 09 61 6c 69 61 73 20 45 78 70 pes;...alias Exp 16a80 61 6e 64 45 6e 76 69 72 6f 6e 6d 65 6e 74 53 74 andEnvironmentSt 16a90 72 69 6e 67 73 41 20 45 78 70 61 6e 64 45 6e 76 ringsA ExpandEnv 16aa0 69 72 6f 6e 6d 65 6e 74 53 74 72 69 6e 67 73 3b ironmentStrings; 16ab0 0d 0a 09 61 6c 69 61 73 20 46 61 74 61 6c 41 70 ...alias FatalAp 16ac0 70 45 78 69 74 41 20 46 61 74 61 6c 41 70 70 45 pExitA FatalAppE 16ad0 78 69 74 3b 0d 0a 09 61 6c 69 61 73 20 46 69 6e xit;...alias Fin 16ae0 64 41 74 6f 6d 41 20 46 69 6e 64 41 74 6f 6d 3b dAtomA FindAtom; 16af0 0d 0a 09 61 6c 69 61 73 20 46 69 6e 64 46 69 72 ...alias FindFir 16b00 73 74 43 68 61 6e 67 65 4e 6f 74 69 66 69 63 61 stChangeNotifica 16b10 74 69 6f 6e 41 20 46 69 6e 64 46 69 72 73 74 43 tionA FindFirstC 16b20 68 61 6e 67 65 4e 6f 74 69 66 69 63 61 74 69 6f hangeNotificatio 16b30 6e 3b 0d 0a 09 61 6c 69 61 73 20 46 69 6e 64 46 n;...alias FindF 16b40 69 72 73 74 46 69 6c 65 41 20 46 69 6e 64 46 69 irstFileA FindFi 16b50 72 73 74 46 69 6c 65 3b 0d 0a 09 61 6c 69 61 73 rstFile;...alias 16b60 20 46 69 6e 64 4e 65 78 74 46 69 6c 65 41 20 46 FindNextFileA F 16b70 69 6e 64 4e 65 78 74 46 69 6c 65 3b 0d 0a 09 61 indNextFile;...a 16b80 6c 69 61 73 20 46 69 6e 64 52 65 73 6f 75 72 63 lias FindResourc 16b90 65 41 20 46 69 6e 64 52 65 73 6f 75 72 63 65 3b eA FindResource; 16ba0 0d 0a 09 61 6c 69 61 73 20 46 69 6e 64 52 65 73 ...alias FindRes 16bb0 6f 75 72 63 65 45 78 41 20 46 69 6e 64 52 65 73 ourceExA FindRes 16bc0 6f 75 72 63 65 45 78 3b 0d 0a 09 61 6c 69 61 73 ourceEx;...alias 16bd0 20 46 6f 72 6d 61 74 4d 65 73 73 61 67 65 41 20 FormatMessageA 16be0 46 6f 72 6d 61 74 4d 65 73 73 61 67 65 3b 0d 0a FormatMessage;.. 16bf0 09 61 6c 69 61 73 20 46 72 65 65 45 6e 76 69 72 .alias FreeEnvir 16c00 6f 6e 6d 65 6e 74 53 74 72 69 6e 67 73 41 20 46 onmentStringsA F 16c10 72 65 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 53 74 reeEnvironmentSt 16c20 72 69 6e 67 73 3b 0d 0a 09 61 6c 69 61 73 20 47 rings;...alias G 16c30 65 74 41 74 6f 6d 4e 61 6d 65 41 20 47 65 74 41 etAtomNameA GetA 16c40 74 6f 6d 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 73 tomName;...alias 16c50 20 47 65 74 43 6f 6d 6d 61 6e 64 4c 69 6e 65 41 GetCommandLineA 16c60 20 47 65 74 43 6f 6d 6d 61 6e 64 4c 69 6e 65 3b GetCommandLine; 16c70 0d 0a 09 61 6c 69 61 73 20 47 65 74 43 6f 6d 70 ...alias GetComp 16c80 75 74 65 72 4e 61 6d 65 41 20 47 65 74 43 6f 6d uterNameA GetCom 16c90 70 75 74 65 72 4e 61 6d 65 3b 0d 0a 09 61 6c 69 puterName;...ali 16ca0 61 73 20 47 65 74 43 75 72 72 65 6e 74 44 69 72 as GetCurrentDir 16cb0 65 63 74 6f 72 79 41 20 47 65 74 43 75 72 72 65 ectoryA GetCurre 16cc0 6e 74 44 69 72 65 63 74 6f 72 79 3b 0d 0a 09 61 ntDirectory;...a 16cd0 6c 69 61 73 20 47 65 74 44 65 66 61 75 6c 74 43 lias GetDefaultC 16ce0 6f 6d 6d 43 6f 6e 66 69 67 41 20 47 65 74 44 65 ommConfigA GetDe 16cf0 66 61 75 6c 74 43 6f 6d 6d 43 6f 6e 66 69 67 3b faultCommConfig; 16d00 0d 0a 09 61 6c 69 61 73 20 47 65 74 44 69 73 6b ...alias GetDisk 16d10 46 72 65 65 53 70 61 63 65 41 20 47 65 74 44 69 FreeSpaceA GetDi 16d20 73 6b 46 72 65 65 53 70 61 63 65 3b 0d 0a 09 61 skFreeSpace;...a 16d30 6c 69 61 73 20 47 65 74 44 69 73 6b 46 72 65 65 lias GetDiskFree 16d40 53 70 61 63 65 45 78 41 20 47 65 74 44 69 73 6b SpaceExA GetDisk 16d50 46 72 65 65 53 70 61 63 65 45 78 3b 0d 0a 09 61 FreeSpaceEx;...a 16d60 6c 69 61 73 20 47 65 74 44 72 69 76 65 54 79 70 lias GetDriveTyp 16d70 65 41 20 47 65 74 44 72 69 76 65 54 79 70 65 3b eA GetDriveType; 16d80 0d 0a 09 61 6c 69 61 73 20 47 65 74 45 6e 76 69 ...alias GetEnvi 16d90 72 6f 6e 6d 65 6e 74 56 61 72 69 61 62 6c 65 41 ronmentVariableA 16da0 20 47 65 74 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 GetEnvironmentV 16db0 61 72 69 61 62 6c 65 3b 0d 0a 09 61 6c 69 61 73 ariable;...alias 16dc0 20 47 65 74 46 69 6c 65 41 74 74 72 69 62 75 74 GetFileAttribut 16dd0 65 73 41 20 47 65 74 46 69 6c 65 41 74 74 72 69 esA GetFileAttri 16de0 62 75 74 65 73 3b 0d 0a 09 61 6c 69 61 73 20 47 butes;...alias G 16df0 65 74 46 75 6c 6c 50 61 74 68 4e 61 6d 65 41 20 etFullPathNameA 16e00 47 65 74 46 75 6c 6c 50 61 74 68 4e 61 6d 65 3b GetFullPathName; 16e10 0d 0a 09 61 6c 69 61 73 20 47 65 74 4c 6f 67 69 ...alias GetLogi 16e20 63 61 6c 44 72 69 76 65 53 74 72 69 6e 67 73 41 calDriveStringsA 16e30 20 47 65 74 4c 6f 67 69 63 61 6c 44 72 69 76 65 GetLogicalDrive 16e40 53 74 72 69 6e 67 73 3b 0d 0a 09 61 6c 69 61 73 Strings;...alias 16e50 20 47 65 74 4e 61 6d 65 64 50 69 70 65 48 61 6e GetNamedPipeHan 16e60 64 6c 65 53 74 61 74 65 41 20 47 65 74 4e 61 6d dleStateA GetNam 16e70 65 64 50 69 70 65 48 61 6e 64 6c 65 53 74 61 74 edPipeHandleStat 16e80 65 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 4d 6f e;...alias GetMo 16e90 64 75 6c 65 48 61 6e 64 6c 65 41 20 47 65 74 4d duleHandleA GetM 16ea0 6f 64 75 6c 65 48 61 6e 64 6c 65 3b 0d 0a 09 61 oduleHandle;...a 16eb0 6c 69 61 73 20 47 65 74 4d 6f 64 75 6c 65 46 69 lias GetModuleFi 16ec0 6c 65 4e 61 6d 65 41 20 47 65 74 4d 6f 64 75 6c leNameA GetModul 16ed0 65 46 69 6c 65 4e 61 6d 65 3b 0d 0a 09 61 6c 69 eFileName;...ali 16ee0 61 73 20 47 65 74 50 72 69 76 61 74 65 50 72 6f as GetPrivatePro 16ef0 66 69 6c 65 49 6e 74 41 20 47 65 74 50 72 69 76 fileIntA GetPriv 16f00 61 74 65 50 72 6f 66 69 6c 65 49 6e 74 3b 0d 0a ateProfileInt;.. 16f10 09 61 6c 69 61 73 20 47 65 74 50 72 69 76 61 74 .alias GetPrivat 16f20 65 50 72 6f 66 69 6c 65 53 65 63 74 69 6f 6e 41 eProfileSectionA 16f30 20 47 65 74 50 72 69 76 61 74 65 50 72 6f 66 69 GetPrivateProfi 16f40 6c 65 53 65 63 74 69 6f 6e 3b 0d 0a 09 61 6c 69 leSection;...ali 16f50 61 73 20 47 65 74 50 72 69 76 61 74 65 50 72 6f as GetPrivatePro 16f60 66 69 6c 65 53 65 63 74 69 6f 6e 4e 61 6d 65 73 fileSectionNames 16f70 41 20 47 65 74 50 72 69 76 61 74 65 50 72 6f 66 A GetPrivateProf 16f80 69 6c 65 53 65 63 74 69 6f 6e 4e 61 6d 65 73 3b ileSectionNames; 16f90 0d 0a 09 61 6c 69 61 73 20 47 65 74 50 72 69 76 ...alias GetPriv 16fa0 61 74 65 50 72 6f 66 69 6c 65 53 74 72 69 6e 67 ateProfileString 16fb0 41 20 47 65 74 50 72 69 76 61 74 65 50 72 6f 66 A GetPrivateProf 16fc0 69 6c 65 53 74 72 69 6e 67 3b 0d 0a 09 61 6c 69 ileString;...ali 16fd0 61 73 20 47 65 74 50 72 69 76 61 74 65 50 72 6f as GetPrivatePro 16fe0 66 69 6c 65 53 74 72 75 63 74 41 20 47 65 74 50 fileStructA GetP 16ff0 72 69 76 61 74 65 50 72 6f 66 69 6c 65 53 74 72 rivateProfileStr 17000 75 63 74 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 uct;...alias Get 17010 50 72 6f 66 69 6c 65 49 6e 74 41 20 47 65 74 50 ProfileIntA GetP 17020 72 6f 66 69 6c 65 49 6e 74 3b 0d 0a 09 61 6c 69 rofileInt;...ali 17030 61 73 20 47 65 74 50 72 6f 66 69 6c 65 53 65 63 as GetProfileSec 17040 74 69 6f 6e 41 20 47 65 74 50 72 6f 66 69 6c 65 tionA GetProfile 17050 53 65 63 74 69 6f 6e 3b 0d 0a 09 61 6c 69 61 73 Section;...alias 17060 20 47 65 74 50 72 6f 66 69 6c 65 53 74 72 69 6e GetProfileStrin 17070 67 41 20 47 65 74 50 72 6f 66 69 6c 65 53 74 72 gA GetProfileStr 17080 69 6e 67 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 ing;...alias Get 17090 53 68 6f 72 74 50 61 74 68 4e 61 6d 65 41 20 47 ShortPathNameA G 170a0 65 74 53 68 6f 72 74 50 61 74 68 4e 61 6d 65 3b etShortPathName; 170b0 0d 0a 09 61 6c 69 61 73 20 47 65 74 53 74 61 72 ...alias GetStar 170c0 74 75 70 49 6e 66 6f 41 20 47 65 74 53 74 61 72 tupInfoA GetStar 170d0 74 75 70 49 6e 66 6f 3b 0d 0a 09 61 6c 69 61 73 tupInfo;...alias 170e0 20 47 65 74 53 79 73 74 65 6d 44 69 72 65 63 74 GetSystemDirect 170f0 6f 72 79 41 20 47 65 74 53 79 73 74 65 6d 44 69 oryA GetSystemDi 17100 72 65 63 74 6f 72 79 3b 0d 0a 09 61 6c 69 61 73 rectory;...alias 17110 20 47 65 74 54 65 6d 70 46 69 6c 65 4e 61 6d 65 GetTempFileName 17120 41 20 47 65 74 54 65 6d 70 46 69 6c 65 4e 61 6d A GetTempFileNam 17130 65 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 54 65 e;...alias GetTe 17140 6d 70 50 61 74 68 41 20 47 65 74 54 65 6d 70 50 mpPathA GetTempP 17150 61 74 68 3b 0d 0a 09 61 6c 69 61 73 20 47 65 74 ath;...alias Get 17160 55 73 65 72 4e 61 6d 65 41 20 47 65 74 55 73 65 UserNameA GetUse 17170 72 4e 61 6d 65 3b 0d 0a 09 61 6c 69 61 73 20 47 rName;...alias G 17180 65 74 56 65 72 73 69 6f 6e 45 78 41 20 47 65 74 etVersionExA Get 17190 56 65 72 73 69 6f 6e 45 78 3b 0d 0a 09 61 6c 69 VersionEx;...ali 171a0 61 73 20 47 65 74 56 6f 6c 75 6d 65 49 6e 66 6f as GetVolumeInfo 171b0 72 6d 61 74 69 6f 6e 41 20 47 65 74 56 6f 6c 75 rmationA GetVolu 171c0 6d 65 49 6e 66 6f 72 6d 61 74 69 6f 6e 3b 0d 0a meInformation;.. 171d0 09 61 6c 69 61 73 20 47 65 74 57 69 6e 64 6f 77 .alias GetWindow 171e0 73 44 69 72 65 63 74 6f 72 79 41 20 47 65 74 57 sDirectoryA GetW 171f0 69 6e 64 6f 77 73 44 69 72 65 63 74 6f 72 79 3b indowsDirectory; 17200 0d 0a 09 61 6c 69 61 73 20 47 6c 6f 62 61 6c 41 ...alias GlobalA 17210 64 64 41 74 6f 6d 41 20 47 6c 6f 62 61 6c 41 64 ddAtomA GlobalAd 17220 64 41 74 6f 6d 3b 0d 0a 09 61 6c 69 61 73 20 47 dAtom;...alias G 17230 6c 6f 62 61 6c 46 69 6e 64 41 74 6f 6d 41 20 47 lobalFindAtomA G 17240 6c 6f 62 61 6c 46 69 6e 64 41 74 6f 6d 3b 0d 0a lobalFindAtom;.. 17250 09 61 6c 69 61 73 20 47 6c 6f 62 61 6c 47 65 74 .alias GlobalGet 17260 41 74 6f 6d 4e 61 6d 65 41 20 47 6c 6f 62 61 6c AtomNameA Global 17270 47 65 74 41 74 6f 6d 4e 61 6d 65 3b 0d 0a 09 61 GetAtomName;...a 17280 6c 69 61 73 20 49 73 42 61 64 53 74 72 69 6e 67 lias IsBadString 17290 50 74 72 41 20 49 73 42 61 64 53 74 72 69 6e 67 PtrA IsBadString 172a0 50 74 72 3b 0d 0a 09 61 6c 69 61 73 20 4c 6f 61 Ptr;...alias Loa 172b0 64 4c 69 62 72 61 72 79 41 20 4c 6f 61 64 4c 69 dLibraryA LoadLi 172c0 62 72 61 72 79 3b 0d 0a 09 61 6c 69 61 73 20 4c brary;...alias L 172d0 6f 61 64 4c 69 62 72 61 72 79 45 78 41 20 4c 6f oadLibraryExA Lo 172e0 61 64 4c 69 62 72 61 72 79 45 78 3b 0d 0a 09 61 adLibraryEx;...a 172f0 6c 69 61 73 20 6c 73 74 72 63 61 74 41 20 6c 73 lias lstrcatA ls 17300 74 72 63 61 74 3b 0d 0a 09 61 6c 69 61 73 20 6c trcat;...alias l 17310 73 74 72 63 6d 70 41 20 6c 73 74 72 63 6d 70 3b strcmpA lstrcmp; 17320 0d 0a 09 61 6c 69 61 73 20 6c 73 74 72 63 6d 70 ...alias lstrcmp 17330 69 41 20 6c 73 74 72 63 6d 70 69 3b 0d 0a 09 61 iA lstrcmpi;...a 17340 6c 69 61 73 20 6c 73 74 72 63 70 79 41 20 6c 73 lias lstrcpyA ls 17350 74 72 63 70 79 3b 0d 0a 09 61 6c 69 61 73 20 6c trcpy;...alias l 17360 73 74 72 63 70 79 6e 41 20 6c 73 74 72 63 70 79 strcpynA lstrcpy 17370 6e 3b 0d 0a 09 61 6c 69 61 73 20 6c 73 74 72 6c n;...alias lstrl 17380 65 6e 41 20 6c 73 74 72 6c 65 6e 3b 0d 0a 09 61 enA lstrlen;...a 17390 6c 69 61 73 20 4d 6f 76 65 46 69 6c 65 41 20 4d lias MoveFileA M 173a0 6f 76 65 46 69 6c 65 3b 0d 0a 09 61 6c 69 61 73 oveFile;...alias 173b0 20 4f 70 65 6e 45 76 65 6e 74 41 20 4f 70 65 6e OpenEventA Open 173c0 45 76 65 6e 74 3b 0d 0a 09 61 6c 69 61 73 20 4f Event;...alias O 173d0 70 65 6e 4d 75 74 65 78 41 20 4f 70 65 6e 4d 75 penMutexA OpenMu 173e0 74 65 78 3b 0d 0a 09 61 6c 69 61 73 20 4f 70 65 tex;...alias Ope 173f0 6e 53 65 6d 61 70 68 6f 72 65 41 20 4f 70 65 6e nSemaphoreA Open 17400 53 65 6d 61 70 68 6f 72 65 3b 0d 0a 09 61 6c 69 Semaphore;...ali 17410 61 73 20 4f 75 74 70 75 74 44 65 62 75 67 53 74 as OutputDebugSt 17420 72 69 6e 67 41 20 4f 75 74 70 75 74 44 65 62 75 ringA OutputDebu 17430 67 53 74 72 69 6e 67 3b 0d 0a 09 61 6c 69 61 73 gString;...alias 17440 20 52 65 6d 6f 76 65 44 69 72 65 63 74 6f 72 79 RemoveDirectory 17450 41 20 52 65 6d 6f 76 65 44 69 72 65 63 74 6f 72 A RemoveDirector 17460 79 3b 0d 0a 09 61 6c 69 61 73 20 53 65 61 72 63 y;...alias Searc 17470 68 50 61 74 68 41 20 53 65 61 72 63 68 50 61 74 hPathA SearchPat 17480 68 3b 0d 0a 09 61 6c 69 61 73 20 53 65 74 43 6f h;...alias SetCo 17490 6d 70 75 74 65 72 4e 61 6d 65 41 20 53 65 74 43 mputerNameA SetC 174a0 6f 6d 70 75 74 65 72 4e 61 6d 65 3b 0d 0a 09 61 omputerName;...a 174b0 6c 69 61 73 20 53 65 74 43 75 72 72 65 6e 74 44 lias SetCurrentD 174c0 69 72 65 63 74 6f 72 79 41 20 53 65 74 43 75 72 irectoryA SetCur 174d0 72 65 6e 74 44 69 72 65 63 74 6f 72 79 3b 0d 0a rentDirectory;.. 174e0 09 61 6c 69 61 73 20 53 65 74 44 65 66 61 75 6c .alias SetDefaul 174f0 74 43 6f 6d 6d 43 6f 6e 66 69 67 41 20 53 65 74 tCommConfigA Set 17500 44 65 66 61 75 6c 74 43 6f 6d 6d 43 6f 6e 66 69 DefaultCommConfi 17510 67 3b 0d 0a 09 61 6c 69 61 73 20 53 65 74 45 6e g;...alias SetEn 17520 76 69 72 6f 6e 6d 65 6e 74 56 61 72 69 61 62 6c vironmentVariabl 17530 65 41 20 53 65 74 45 6e 76 69 72 6f 6e 6d 65 6e eA SetEnvironmen 17540 74 56 61 72 69 61 62 6c 65 3b 0d 0a 09 61 6c 69 tVariable;...ali 17550 61 73 20 53 65 74 46 69 6c 65 41 74 74 72 69 62 as SetFileAttrib 17560 75 74 65 73 41 20 53 65 74 46 69 6c 65 41 74 74 utesA SetFileAtt 17570 72 69 62 75 74 65 73 3b 0d 0a 09 61 6c 69 61 73 ributes;...alias 17580 20 53 65 74 56 6f 6c 75 6d 65 4c 61 62 65 6c 41 SetVolumeLabelA 17590 20 53 65 74 56 6f 6c 75 6d 65 4c 61 62 65 6c 3b SetVolumeLabel; 175a0 0d 0a 09 61 6c 69 61 73 20 57 61 69 74 4e 61 6d ...alias WaitNam 175b0 65 64 50 69 70 65 41 20 57 61 69 74 4e 61 6d 65 edPipeA WaitName 175c0 64 50 69 70 65 3b 0d 0a 09 61 6c 69 61 73 20 57 dPipe;...alias W 175d0 72 69 74 65 50 72 69 76 61 74 65 50 72 6f 66 69 ritePrivateProfi 175e0 6c 65 53 65 63 74 69 6f 6e 41 20 57 72 69 74 65 leSectionA Write 175f0 50 72 69 76 61 74 65 50 72 6f 66 69 6c 65 53 65 PrivateProfileSe 17600 63 74 69 6f 6e 3b 0d 0a 09 61 6c 69 61 73 20 57 ction;...alias W 17610 72 69 74 65 50 72 69 76 61 74 65 50 72 6f 66 69 ritePrivateProfi 17620 6c 65 53 74 72 69 6e 67 41 20 57 72 69 74 65 50 leStringA WriteP 17630 72 69 76 61 74 65 50 72 6f 66 69 6c 65 53 74 72 rivateProfileStr 17640 69 6e 67 3b 0d 0a 09 61 6c 69 61 73 20 57 72 69 ing;...alias Wri 17650 74 65 50 72 69 76 61 74 65 50 72 6f 66 69 6c 65 tePrivateProfile 17660 53 74 72 75 63 74 41 20 57 72 69 74 65 50 72 69 StructA WritePri 17670 76 61 74 65 50 72 6f 66 69 6c 65 53 74 72 75 63 vateProfileStruc 17680 74 3b 0d 0a 09 61 6c 69 61 73 20 57 72 69 74 65 t;...alias Write 17690 50 72 6f 66 69 6c 65 53 65 63 74 69 6f 6e 41 20 ProfileSectionA 176a0 57 72 69 74 65 50 72 6f 66 69 6c 65 53 65 63 74 WriteProfileSect 176b0 69 6f 6e 3b 0d 0a 09 61 6c 69 61 73 20 57 72 69 ion;...alias Wri 176c0 74 65 50 72 6f 66 69 6c 65 53 74 72 69 6e 67 41 teProfileStringA 176d0 20 57 72 69 74 65 50 72 6f 66 69 6c 65 53 74 72 WriteProfileStr 176e0 69 6e 67 3b 0d 0a 09 61 6c 69 61 73 20 43 72 65 ing;...alias Cre 176f0 61 74 65 57 61 69 74 61 62 6c 65 54 69 6d 65 72 ateWaitableTimer 17700 41 20 43 72 65 61 74 65 57 61 69 74 61 62 6c 65 A CreateWaitable 17710 54 69 6d 65 72 3b 0d 0a 09 61 6c 69 61 73 20 47 Timer;...alias G 17720 65 74 46 69 6c 65 41 74 74 72 69 62 75 74 65 73 etFileAttributes 17730 45 78 41 20 47 65 74 46 69 6c 65 41 74 74 72 69 ExA GetFileAttri 17740 62 75 74 65 73 45 78 3b 0d 0a 09 61 6c 69 61 73 butesEx;...alias 17750 20 47 65 74 4c 6f 6e 67 50 61 74 68 4e 61 6d 65 GetLongPathName 17760 41 20 47 65 74 4c 6f 6e 67 50 61 74 68 4e 61 6d A GetLongPathNam 17770 65 3b 0d 0a 09 61 6c 69 61 73 20 51 75 65 72 79 e;...alias Query 17780 44 6f 73 44 65 76 69 63 65 41 20 51 75 65 72 79 DosDeviceA Query 17790 44 6f 73 44 65 76 69 63 65 3b 0d 0a 0d 0a 09 61 DosDevice;.....a 177a0 6c 69 61 73 20 48 57 5f 50 52 4f 46 49 4c 45 5f lias HW_PROFILE_ 177b0 49 4e 46 4f 41 20 48 57 5f 50 52 4f 46 49 4c 45 INFOA HW_PROFILE 177c0 5f 49 4e 46 4f 3b 0d 0a 09 61 6c 69 61 73 20 41 _INFO;...alias A 177d0 63 63 65 73 73 43 68 65 63 6b 41 6e 64 41 75 64 ccessCheckAndAud 177e0 69 74 41 6c 61 72 6d 41 20 41 63 63 65 73 73 43 itAlarmA AccessC 177f0 68 65 63 6b 41 6e 64 41 75 64 69 74 41 6c 61 72 heckAndAuditAlar 17800 6d 3b 0d 0a 09 61 6c 69 61 73 20 42 61 63 6b 75 m;...alias Backu 17810 70 45 76 65 6e 74 4c 6f 67 41 20 42 61 63 6b 75 pEventLogA Backu 17820 70 45 76 65 6e 74 4c 6f 67 3b 0d 0a 09 61 6c 69 pEventLog;...ali 17830 61 73 20 43 6c 65 61 72 45 76 65 6e 74 4c 6f 67 as ClearEventLog 17840 41 20 43 6c 65 61 72 45 76 65 6e 74 4c 6f 67 3b A ClearEventLog; 17850 0d 0a 09 61 6c 69 61 73 20 43 72 65 61 74 65 4e ...alias CreateN 17860 61 6d 65 64 50 69 70 65 41 20 43 72 65 61 74 65 amedPipeA Create 17870 4e 61 6d 65 64 50 69 70 65 3b 0d 0a 09 61 6c 69 NamedPipe;...ali 17880 61 73 20 43 72 65 61 74 65 50 72 6f 63 65 73 73 as CreateProcess 17890 41 73 55 73 65 72 41 20 43 72 65 61 74 65 50 72 AsUserA CreatePr 178a0 6f 63 65 73 73 41 73 55 73 65 72 3b 0d 0a 09 61 ocessAsUser;...a 178b0 6c 69 61 73 20 44 65 66 69 6e 65 44 6f 73 44 65 lias DefineDosDe 178c0 76 69 63 65 41 20 44 65 66 69 6e 65 44 6f 73 44 viceA DefineDosD 178d0 65 76 69 63 65 3b 0d 0a 09 61 6c 69 61 73 20 46 evice;...alias F 178e0 69 6e 64 46 69 72 73 74 46 69 6c 65 45 78 41 20 indFirstFileExA 178f0 46 69 6e 64 46 69 72 73 74 46 69 6c 65 45 78 3b FindFirstFileEx; 17900 0d 0a 09 61 6c 69 61 73 20 47 65 74 42 69 6e 61 ...alias GetBina 17910 72 79 54 79 70 65 41 20 47 65 74 42 69 6e 61 72 ryTypeA GetBinar 17920 79 54 79 70 65 3b 0d 0a 09 61 6c 69 61 73 20 47 yType;...alias G 17930 65 74 43 6f 6d 70 72 65 73 73 65 64 46 69 6c 65 etCompressedFile 17940 53 69 7a 65 41 20 47 65 74 43 6f 6d 70 72 65 73 SizeA GetCompres 17950 73 65 64 46 69 6c 65 53 69 7a 65 3b 0d 0a 09 61 sedFileSize;...a 17960 6c 69 61 73 20 47 65 74 46 69 6c 65 53 65 63 75 lias GetFileSecu 17970 72 69 74 79 41 20 47 65 74 46 69 6c 65 53 65 63 rityA GetFileSec 17980 75 72 69 74 79 3b 0d 0a 09 61 6c 69 61 73 20 4c urity;...alias L 17990 6f 67 6f 6e 55 73 65 72 41 20 4c 6f 67 6f 6e 55 ogonUserA LogonU 179a0 73 65 72 3b 0d 0a 09 61 6c 69 61 73 20 4c 6f 6f ser;...alias Loo 179b0 6b 75 70 41 63 63 6f 75 6e 74 4e 61 6d 65 41 20 kupAccountNameA 179c0 4c 6f 6f 6b 75 70 41 63 63 6f 75 6e 74 4e 61 6d LookupAccountNam 179d0 65 3b 0d 0a 09 61 6c 69 61 73 20 4c 6f 6f 6b 75 e;...alias Looku 179e0 70 41 63 63 6f 75 6e 74 53 69 64 41 20 4c 6f 6f pAccountSidA Loo 179f0 6b 75 70 41 63 63 6f 75 6e 74 53 69 64 3b 0d 0a kupAccountSid;.. 17a00 09 61 6c 69 61 73 20 4c 6f 6f 6b 75 70 50 72 69 .alias LookupPri 17a10 76 69 6c 65 67 65 44 69 73 70 6c 61 79 4e 61 6d vilegeDisplayNam 17a20 65 41 20 4c 6f 6f 6b 75 70 50 72 69 76 69 6c 65 eA LookupPrivile 17a30 67 65 44 69 73 70 6c 61 79 4e 61 6d 65 3b 0d 0a geDisplayName;.. 17a40 09 61 6c 69 61 73 20 4c 6f 6f 6b 75 70 50 72 69 .alias LookupPri 17a50 76 69 6c 65 67 65 4e 61 6d 65 41 20 4c 6f 6f 6b vilegeNameA Look 17a60 75 70 50 72 69 76 69 6c 65 67 65 4e 61 6d 65 3b upPrivilegeName; 17a70 0d 0a 09 61 6c 69 61 73 20 4c 6f 6f 6b 75 70 50 ...alias LookupP 17a80 72 69 76 69 6c 65 67 65 56 61 6c 75 65 41 20 4c rivilegeValueA L 17a90 6f 6f 6b 75 70 50 72 69 76 69 6c 65 67 65 56 61 ookupPrivilegeVa 17aa0 6c 75 65 3b 0d 0a 09 61 6c 69 61 73 20 4d 6f 76 lue;...alias Mov 17ab0 65 46 69 6c 65 45 78 41 20 4d 6f 76 65 46 69 6c eFileExA MoveFil 17ac0 65 45 78 3b 0d 0a 09 61 6c 69 61 73 20 4f 62 6a eEx;...alias Obj 17ad0 65 63 74 43 6c 6f 73 65 41 75 64 69 74 41 6c 61 ectCloseAuditAla 17ae0 72 6d 41 20 4f 62 6a 65 63 74 43 6c 6f 73 65 41 rmA ObjectCloseA 17af0 75 64 69 74 41 6c 61 72 6d 3b 0d 0a 09 61 6c 69 uditAlarm;...ali 17b00 61 73 20 4f 62 6a 65 63 74 44 65 6c 65 74 65 41 as ObjectDeleteA 17b10 75 64 69 74 41 6c 61 72 6d 41 20 4f 62 6a 65 63 uditAlarmA Objec 17b20 74 44 65 6c 65 74 65 41 75 64 69 74 41 6c 61 72 tDeleteAuditAlar 17b30 6d 3b 0d 0a 09 61 6c 69 61 73 20 4f 62 6a 65 63 m;...alias Objec 17b40 74 4f 70 65 6e 41 75 64 69 74 41 6c 61 72 6d 41 tOpenAuditAlarmA 17b50 20 4f 62 6a 65 63 74 4f 70 65 6e 41 75 64 69 74 ObjectOpenAudit 17b60 41 6c 61 72 6d 3b 0d 0a 09 61 6c 69 61 73 20 4f Alarm;...alias O 17b70 62 6a 65 63 74 50 72 69 76 69 6c 65 67 65 41 75 bjectPrivilegeAu 17b80 64 69 74 41 6c 61 72 6d 41 20 4f 62 6a 65 63 74 ditAlarmA Object 17b90 50 72 69 76 69 6c 65 67 65 41 75 64 69 74 41 6c PrivilegeAuditAl 17ba0 61 72 6d 3b 0d 0a 09 61 6c 69 61 73 20 4f 70 65 arm;...alias Ope 17bb0 6e 42 61 63 6b 75 70 45 76 65 6e 74 4c 6f 67 41 nBackupEventLogA 17bc0 20 4f 70 65 6e 42 61 63 6b 75 70 45 76 65 6e 74 OpenBackupEvent 17bd0 4c 6f 67 3b 0d 0a 09 61 6c 69 61 73 20 4f 70 65 Log;...alias Ope 17be0 6e 45 76 65 6e 74 4c 6f 67 41 20 4f 70 65 6e 45 nEventLogA OpenE 17bf0 76 65 6e 74 4c 6f 67 3b 0d 0a 09 61 6c 69 61 73 ventLog;...alias 17c00 20 50 72 69 76 69 6c 65 67 65 64 53 65 72 76 69 PrivilegedServi 17c10 63 65 41 75 64 69 74 41 6c 61 72 6d 41 20 50 72 ceAuditAlarmA Pr 17c20 69 76 69 6c 65 67 65 64 53 65 72 76 69 63 65 41 ivilegedServiceA 17c30 75 64 69 74 41 6c 61 72 6d 3b 0d 0a 09 61 6c 69 uditAlarm;...ali 17c40 61 73 20 52 65 61 64 45 76 65 6e 74 4c 6f 67 41 as ReadEventLogA 17c50 20 52 65 61 64 45 76 65 6e 74 4c 6f 67 3b 0d 0a ReadEventLog;.. 17c60 09 61 6c 69 61 73 20 52 65 67 69 73 74 65 72 45 .alias RegisterE 17c70 76 65 6e 74 53 6f 75 72 63 65 41 20 52 65 67 69 ventSourceA Regi 17c80 73 74 65 72 45 76 65 6e 74 53 6f 75 72 63 65 3b sterEventSource; 17c90 0d 0a 09 61 6c 69 61 73 20 52 65 70 6f 72 74 45 ...alias ReportE 17ca0 76 65 6e 74 41 20 52 65 70 6f 72 74 45 76 65 6e ventA ReportEven 17cb0 74 3b 0d 0a 09 61 6c 69 61 73 20 53 65 74 46 69 t;...alias SetFi 17cc0 6c 65 53 65 63 75 72 69 74 79 41 20 53 65 74 46 leSecurityA SetF 17cd0 69 6c 65 53 65 63 75 72 69 74 79 3b 0d 0a 09 61 ileSecurity;...a 17ce0 6c 69 61 73 20 55 70 64 61 74 65 52 65 73 6f 75 lias UpdateResou 17cf0 72 63 65 41 20 55 70 64 61 74 65 52 65 73 6f 75 rceA UpdateResou 17d00 72 63 65 3b 0d 0a 0d 0a 09 73 74 61 74 69 63 20 rce;.....static 17d10 69 66 20 28 5f 57 49 4e 33 32 5f 57 49 4e 4e 54 if (_WIN32_WINNT 17d20 20 3e 3d 20 30 78 35 30 30 29 20 7b 0d 0a 09 09 >= 0x500) {.... 17d30 61 6c 69 61 73 20 43 72 65 61 74 65 46 69 6c 65 alias CreateFile 17d40 4d 61 70 70 69 6e 67 41 20 43 72 65 61 74 65 46 MappingA CreateF 17d50 69 6c 65 4d 61 70 70 69 6e 67 3b 0d 0a 09 09 61 ileMapping;....a 17d60 6c 69 61 73 20 43 72 65 61 74 65 48 61 72 64 4c lias CreateHardL 17d70 69 6e 6b 41 20 43 72 65 61 74 65 48 61 72 64 4c inkA CreateHardL 17d80 69 6e 6b 3b 0d 0a 09 09 61 6c 69 61 73 20 43 72 ink;....alias Cr 17d90 65 61 74 65 4a 6f 62 4f 62 6a 65 63 74 41 20 43 eateJobObjectA C 17da0 72 65 61 74 65 4a 6f 62 4f 62 6a 65 63 74 3b 0d reateJobObject;. 17db0 0a 09 09 61 6c 69 61 73 20 44 65 6c 65 74 65 56 ...alias DeleteV 17dc0 6f 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 41 olumeMountPointA 17dd0 20 44 65 6c 65 74 65 56 6f 6c 75 6d 65 4d 6f 75 DeleteVolumeMou 17de0 6e 74 50 6f 69 6e 74 3b 0d 0a 09 09 61 6c 69 61 ntPoint;....alia 17df0 73 20 44 6e 73 48 6f 73 74 6e 61 6d 65 54 6f 43 s DnsHostnameToC 17e00 6f 6d 70 75 74 65 72 4e 61 6d 65 41 20 44 6e 73 omputerNameA Dns 17e10 48 6f 73 74 6e 61 6d 65 54 6f 43 6f 6d 70 75 74 HostnameToComput 17e20 65 72 4e 61 6d 65 3b 0d 0a 09 09 61 6c 69 61 73 erName;....alias 17e30 20 45 6e 63 72 79 70 74 46 69 6c 65 41 20 45 6e EncryptFileA En 17e40 63 72 79 70 74 46 69 6c 65 3b 0d 0a 09 09 61 6c cryptFile;....al 17e50 69 61 73 20 46 69 6c 65 45 6e 63 72 79 70 74 69 ias FileEncrypti 17e60 6f 6e 53 74 61 74 75 73 41 20 46 69 6c 65 45 6e onStatusA FileEn 17e70 63 72 79 70 74 69 6f 6e 53 74 61 74 75 73 3b 0d cryptionStatus;. 17e80 0a 09 09 61 6c 69 61 73 20 46 69 6e 64 46 69 72 ...alias FindFir 17e90 73 74 56 6f 6c 75 6d 65 41 20 46 69 6e 64 46 69 stVolumeA FindFi 17ea0 72 73 74 56 6f 6c 75 6d 65 3b 0d 0a 09 09 61 6c rstVolume;....al 17eb0 69 61 73 20 46 69 6e 64 46 69 72 73 74 56 6f 6c ias FindFirstVol 17ec0 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 41 20 46 umeMountPointA F 17ed0 69 6e 64 46 69 72 73 74 56 6f 6c 75 6d 65 4d 6f indFirstVolumeMo 17ee0 75 6e 74 50 6f 69 6e 74 3b 0d 0a 09 09 61 6c 69 untPoint;....ali 17ef0 61 73 20 46 69 6e 64 4e 65 78 74 56 6f 6c 75 6d as FindNextVolum 17f00 65 41 20 46 69 6e 64 4e 65 78 74 56 6f 6c 75 6d eA FindNextVolum 17f10 65 3b 0d 0a 09 09 61 6c 69 61 73 20 46 69 6e 64 e;....alias Find 17f20 4e 65 78 74 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 NextVolumeMountP 17f30 6f 69 6e 74 41 20 46 69 6e 64 4e 65 78 74 56 6f ointA FindNextVo 17f40 6c 75 6d 65 4d 6f 75 6e 74 50 6f 69 6e 74 3b 0d lumeMountPoint;. 17f50 0a 09 09 61 6c 69 61 73 20 47 65 74 4d 6f 64 75 ...alias GetModu 17f60 6c 65 48 61 6e 64 6c 65 45 78 41 20 47 65 74 4d leHandleExA GetM 17f70 6f 64 75 6c 65 48 61 6e 64 6c 65 45 78 3b 0d 0a oduleHandleEx;.. 17f80 09 09 61 6c 69 61 73 20 47 65 74 53 79 73 74 65 ..alias GetSyste 17f90 6d 57 69 6e 64 6f 77 73 44 69 72 65 63 74 6f 72 mWindowsDirector 17fa0 79 41 20 47 65 74 53 79 73 74 65 6d 57 69 6e 64 yA GetSystemWind 17fb0 6f 77 73 44 69 72 65 63 74 6f 72 79 3b 0d 0a 09 owsDirectory;... 17fc0 09 61 6c 69 61 73 20 47 65 74 56 6f 6c 75 6d 65 .alias GetVolume 17fd0 4e 61 6d 65 46 6f 72 56 6f 6c 75 6d 65 4d 6f 75 NameForVolumeMou 17fe0 6e 74 50 6f 69 6e 74 41 20 47 65 74 56 6f 6c 75 ntPointA GetVolu 17ff0 6d 65 4e 61 6d 65 46 6f 72 56 6f 6c 75 6d 65 4d meNameForVolumeM 18000 6f 75 6e 74 50 6f 69 6e 74 3b 0d 0a 09 09 61 6c ountPoint;....al 18010 69 61 73 20 47 65 74 56 6f 6c 75 6d 65 50 61 74 ias GetVolumePat 18020 68 4e 61 6d 65 41 20 47 65 74 56 6f 6c 75 6d 65 hNameA GetVolume 18030 50 61 74 68 4e 61 6d 65 3b 0d 0a 09 09 61 6c 69 PathName;....ali 18040 61 73 20 4f 70 65 6e 46 69 6c 65 4d 61 70 70 69 as OpenFileMappi 18050 6e 67 41 20 4f 70 65 6e 46 69 6c 65 4d 61 70 70 ngA OpenFileMapp 18060 69 6e 67 3b 0d 0a 09 09 61 6c 69 61 73 20 52 65 ing;....alias Re 18070 70 6c 61 63 65 46 69 6c 65 41 20 52 65 70 6c 61 placeFileA Repla 18080 63 65 46 69 6c 65 3b 0d 0a 09 09 61 6c 69 61 73 ceFile;....alias 18090 20 53 65 74 56 6f 6c 75 6d 65 4d 6f 75 6e 74 50 SetVolumeMountP 180a0 6f 69 6e 74 41 20 53 65 74 56 6f 6c 75 6d 65 4d ointA SetVolumeM 180b0 6f 75 6e 74 50 6f 69 6e 74 3b 0d 0a 09 09 61 6c ountPoint;....al 180c0 69 61 73 20 56 65 72 69 66 79 56 65 72 73 69 6f ias VerifyVersio 180d0 6e 49 6e 66 6f 41 20 56 65 72 69 66 79 56 65 72 nInfoA VerifyVer 180e0 73 69 6f 6e 49 6e 66 6f 3b 0d 0a 09 7d 0d 0a 0d sionInfo;...}... 180f0 0a 09 73 74 61 74 69 63 20 69 66 20 28 5f 57 49 ..static if (_WI 18100 4e 33 32 5f 57 49 4e 4e 54 20 3e 3d 20 30 78 35 N32_WINNT >= 0x5 18110 30 31 29 20 7b 0d 0a 09 09 61 6c 69 61 73 20 41 01) {....alias A 18120 43 54 43 54 58 41 20 41 43 54 43 54 58 3b 0d 0a CTCTXA ACTCTX;.. 18130 09 09 61 6c 69 61 73 20 43 68 65 63 6b 4e 61 6d ..alias CheckNam 18140 65 4c 65 67 61 6c 44 4f 53 38 44 6f 74 33 41 20 eLegalDOS8Dot3A 18150 43 68 65 63 6b 4e 61 6d 65 4c 65 67 61 6c 44 4f CheckNameLegalDO 18160 53 38 44 6f 74 33 3b 0d 0a 09 09 61 6c 69 61 73 S8Dot3;....alias 18170 20 43 72 65 61 74 65 41 63 74 43 74 78 41 20 43 CreateActCtxA C 18180 72 65 61 74 65 41 63 74 43 74 78 3b 0d 0a 09 09 reateActCtx;.... 18190 61 6c 69 61 73 20 46 69 6e 64 41 63 74 43 74 78 alias FindActCtx 181a0 53 65 63 74 69 6f 6e 53 74 72 69 6e 67 41 20 46 SectionStringA F 181b0 69 6e 64 41 63 74 43 74 78 53 65 63 74 69 6f 6e indActCtxSection 181c0 53 74 72 69 6e 67 3b 0d 0a 09 09 61 6c 69 61 73 String;....alias 181d0 20 47 65 74 53 79 73 74 65 6d 57 6f 77 36 34 44 GetSystemWow64D 181e0 69 72 65 63 74 6f 72 79 41 20 47 65 74 53 79 73 irectoryA GetSys 181f0 74 65 6d 57 6f 77 36 34 44 69 72 65 63 74 6f 72 temWow64Director 18200 79 3b 0d 0a 09 09 61 6c 69 61 73 20 47 65 74 56 y;....alias GetV 18210 6f 6c 75 6d 65 50 61 74 68 4e 61 6d 65 73 46 6f olumePathNamesFo 18220 72 56 6f 6c 75 6d 65 4e 61 6d 65 41 20 47 65 74 rVolumeNameA Get 18230 56 6f 6c 75 6d 65 50 61 74 68 4e 61 6d 65 73 46 VolumePathNamesF 18240 6f 72 56 6f 6c 75 6d 65 4e 61 6d 65 3b 0d 0a 09 orVolumeName;... 18250 09 61 6c 69 61 73 20 53 65 74 46 69 6c 65 53 68 .alias SetFileSh 18260 6f 72 74 4e 61 6d 65 41 20 53 65 74 46 69 6c 65 ortNameA SetFile 18270 53 68 6f 72 74 4e 61 6d 65 3b 0d 0a 09 7d 0d 0a ShortName;...}.. 18280 0d 0a 09 73 74 61 74 69 63 20 69 66 20 28 5f 57 ...static if (_W 18290 49 4e 33 32 5f 57 49 4e 4e 54 20 3e 3d 20 30 78 IN32_WINNT >= 0x 182a0 35 30 32 29 20 7b 0d 0a 09 09 61 6c 69 61 73 20 502) {....alias 182b0 47 65 74 44 6c 6c 44 69 72 65 63 74 6f 72 79 41 GetDllDirectoryA 182c0 20 47 65 74 44 6c 6c 44 69 72 65 63 74 6f 72 79 GetDllDirectory 182d0 3b 0d 0a 09 09 61 6c 69 61 73 20 53 65 74 44 6c ;....alias SetDl 182e0 6c 44 69 72 65 63 74 6f 72 79 41 20 53 65 74 44 lDirectoryA SetD 182f0 6c 6c 44 69 72 65 63 74 6f 72 79 3b 0d 0a 09 09 llDirectory;.... 18300 61 6c 69 61 73 20 53 65 74 46 69 72 6d 77 61 72 alias SetFirmwar 18310 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 72 69 eEnvironmentVari 18320 61 62 6c 65 41 20 53 65 74 46 69 72 6d 77 61 72 ableA SetFirmwar 18330 65 45 6e 76 69 72 6f 6e 6d 65 6e 74 56 61 72 69 eEnvironmentVari 18340 61 62 6c 65 3b 0d 0a 09 7d 0d 0a 7d 0d 0a 0d 0a able;...}..}.... 18350 61 6c 69 61 73 20 53 54 41 52 54 55 50 49 4e 46 alias STARTUPINF 18360 4f 2a 20 4c 50 53 54 41 52 54 55 50 49 4e 46 4f O* LPSTARTUPINFO 18370 3b 0d 0a 61 6c 69 61 73 20 57 49 4e 33 32 5f 46 ;..alias WIN32_F 18380 49 4e 44 5f 44 41 54 41 2a 20 4c 50 57 49 4e 33 IND_DATA* LPWIN3 18390 32 5f 46 49 4e 44 5f 44 41 54 41 3b 0d 0a 0d 0a 2_FIND_DATA;.... 183a0 61 6c 69 61 73 20 48 57 5f 50 52 4f 46 49 4c 45 alias HW_PROFILE 183b0 5f 49 4e 46 4f 2a 20 4c 50 48 57 5f 50 52 4f 46 _INFO* LPHW_PROF 183c0 49 4c 45 5f 49 4e 46 4f 3b 0d 0a 0d 0a 73 74 61 ILE_INFO;....sta 183d0 74 69 63 20 69 66 20 28 5f 57 49 4e 33 32 5f 57 tic if (_WIN32_W 183e0 49 4e 4e 54 20 3e 3d 20 30 78 35 30 31 29 20 7b INNT >= 0x501) { 183f0 0d 0a 09 61 6c 69 61 73 20 41 43 54 43 54 58 2a ...alias ACTCTX* 18400 20 50 41 43 54 43 54 58 2c 20 50 43 41 43 54 43 PACTCTX, PCACTC 18410 54 58 3b 0d 0a 7d 0d 0a TX;..}..