你的位置:水利图书 >> >> 电脑编程 >> 详细内容 在线投稿

Windows核心编程(第5版英文版)

热度123票 浏览18次 【共0条评论】【我要评论 时间:2010年6月10日 14:27
水利图书/uh{,XV.p{

Windows核心编程(第5版英文版)

1c@!p0V*m#wBW#~,\0

1PiH |&~YXp*Z0正在读(5人), 已读过(25人) |   放入书架水利图书 gq&\ s4Bq g$v

7HX)~r3_:\5w0丛书名: 图灵程序设计丛书水利图书!?4n xN2iw~ I$MEd

f6G6Db1SH]/ZA0

"p Xk)N/x k7qyt:D0

k-sLx MK9e(JO0作  者: (美)里克特,(法)纳萨尔 著水利图书`^3R7ww

*VBAv7T,W/v:t v0出 版 社: 人民邮电出版社水利图书u]GkK

水利图书+AJa!v't,f;])hS;]

出版时间: 2008-8-1水利图书%X N \ U2I eu

@7P4Znn@L0X.`0字  数: 1013000水利图书of3M7Y6MQV_

水利图书)iG4|Ts@ K.e:C2W

版  次: 1水利图书ASI!J3c1n+o{

水利图书(X nbK(wx s e6~

页  数: 820

ZYMn ~|0 水利图书 Z"L5Z0W6q6whT B,|

印刷时间: 2008-8-1水利图书s3_3Wb \pK

*P`0[\2jd)Qd8{0开  本: 16开

(Fu'F:V B.AJ0 水利图书0C"v BT MO6l Q!e&z

印  次: 1

dm-?]l3bk+~0 水利图书9I6Pb ]!Zk@g

纸  张: 胶版纸水利图书 fRY my.}s!Y v2@

水利图书*jl`X|(OST

I S B N : 9787115182128水利图书 [jg^AF.e+w

"?J9MI0h2_fCW0包  装: 平装水利图书 }J,Hn5y2yf\ ^:[b'b$L

水利图书3w6J(S*n#@Xm)H{

所属分类: 图书 >> 计算机/网络 >> 操作系统/系统开发 >> WINDOWS

YX w_5v0

)ane6? p%B:r0编辑推荐水利图书8@Q-~ G"I)~

WH IE*b3X)E0y(k0Windows程序设计巅峰之作,新版涵盖Windows Vista和Windows Server 2008最新核心特性,Windows程序员迈向卓越的必由之路。

{"E&_'^ P w2z y0

"V?+A.Bl,FIk0本书是Windows程序设计领域广受推崇的圣经级著作。书中深入剖析了Windows程序员必须掌握的底层实现机理,通过大量贴近实战、精心编写的代码,详细阐述了Windows的各种基本要素。如字符和字符串、内核对象、进程、作业、线程、纤程、内存管理、DLL和异常处理等。

rv}aY,Lm,L.G0

@B.e6~-yJ(S!Py0新版做了较大幅度的更新。一些章节(如第11章)全面重写。其他章节也有重要修订,以涵盖Windows最新版本(Windows Vista和Windows Server 2008)的核心特性。支持64位Windows。代码主要用C++进行了全面改写,更加简明易懂。水利图书~9fHAKu N

水利图书3q)w/`y2uRK/a

内容简介水利图书p {"rD{

水利图书!d5FBJ A^b#]

书是Windows程序设计领域的名著,涵盖了Windows的最新版本Vista 以及Windows XP的最新内容。书中全面深入地介绍了Windows的各种基本要素,如进程、线程池、虚拟内存、DLL、设备I/O和SEH 等,并列举了大量应用程序,精辟地分析了要素的使用方法。

EZO%Iyf6py#Jo @0 水利图书)VE8Zt[_*u ~6Q

  本书适于各层次Windows编程人员阅读。水利图书3Rg!};|(_

水利图书 hv7rH`;Yv.S

作者简介

Mh Ug n7Ly.b0 水利图书YyFe V%y5b-j%? J

  Jeffrey Richter全球享有盛誉的微软技术专家,著名技术咨询和培训公司Wintellect创始人之一,MSDN Magazine杂志特邀编辑。多年来,他担任微软各开发团队顾问,参与了微软的许多关键产品包括各版本Windows、Visual Studio、Microsoft Offce和.NET框架的设计和编程。他撰写了一系列著作,包括本书和《深入理解.NET》(第2版英文版,人民邮电出版社。2008),都堪称技术图书的典范,影响了一代Windows程序员,并因此荣获微软公司杜区最高技术荣誉“微软软件传奇人物”(Software Legend)称号。水利图书d)]\N5N

)T"x6_3aG~S"I6W0目录

(~Z4dwB2?!_,i v0 水利图书,r ~mHcv9k m

Part I Required Reading

4e"x(z1dpa ]*H0 水利图书 J M}4Q/[X3X

 1 Error Handling  

0d/Jb/HBt0

1w~2M|B3ne0 Defining Your Own Error Codes  水利图书.Rt{3{rq9H`

.YM*\.}qk*e#dt9Lj0  The ErrorShow Sample Application  

^Z:kU*B0

["C2s!OE,d-Ztf0 2 Working with Characters and Strings  

R[EO&y/e0 水利图书2g$}1S*_(kU5~a+o

  Character Encodings  

D;Hx:d;])mM/]p-n0

(R]ukz pD$o2Z,G,P^0  ANSI and Unicode Character and String Data Types  水利图书2Wk#[5\D

水利图书&q9d5jZMV$k8s5~3h E&_

  Unicode and ANSI Functions in Windows  水利图书4?@+^$Tq O

水利图书a mW9SO5MI^H

  Unicode and ANSI Functions in the C Run-Time Library  水利图书mS |o%h]Mu

水利图书 \#e h8a3M4Ch4U

  Secure String Functions in the C Run-Time Library  

qD6hbJn$]0 水利图书#Q)[6Cc/\6G%x v

   Introducing the New Secure String Functions  水利图书r1eJ#su p.r];c

水利图书]8~1w3Vv`6se'N

   How to Get More Control When Performing String Operations  水利图书-a4TC&O Fs#e

水利图书K/@*XC d,uL

   Windows String Functions  水利图书P"VPx3\a{

KU.bS1~uH]0  Why You Should Use Unicode  水利图书;e^h$Wj0YU

kp6Y }]!f0  How We Recommend Working with Characters and Strings  

,Yh/C fi x0 水利图书0E%v#H&i:W]2J

  Translating Strings Between Unicode and ANSI  水利图书C D3S0d_`

*q4a._^wQn;P0   Exporting ANSI and Unicode DLL Functions  

/vf{ z0o5cwRE0

-N&CV.W^1NO*]0   Determining If Text Is ANSI or Unicode  

|'y2A ]Xg9^*H0

EEM G0w^ a#g;]-Z0 3 Kernel Objects  

(`E1K| jf4M0 水利图书CN Y7s!r$d%X

  What Is a Kernel Object?  

;z@*Ni{6v t{ ?*D#E7z0

TiQ(^6K%U1t0W.F0   Usage Counting  水利图书Zs7fi8}&]v0y

8O"q6dFtdU8Q F0   Security  水利图书n1^:Zt4U6s h2Z

水利图书1d1y?!X)U~

  A Process’ Kernel Object Handle Table  

$qAf2hEi[0 水利图书 K#M!Ld/gB

   Creating a Kernel Object  

g N3TPF{;LJ2S$[,Qr0

+d Kn X&Q {L0   Closing a Kernel Object  水利图书W S9B n8n

水利图书2Mgj h\{IS

  Sharing Kernel Objects Across Process Boundaries  水利图书'PUf7cP,D/U

~k.H'iP)f*fK|0   Using Object Handle Inheritance  水利图书9Iq_w'B}O

Z\.ysZq0   Naming Objects  水利图书*FL{\/DnX+i7i

水利图书$lx;w6X_uk{C

   Duplicating Object Handles  

+PAI CA0 水利图书2~z9rgE]-e

Part II Getting Work Done

N5Qn\TJ0 水利图书@Axtd|0q"x

 4 Processes  水利图书 Z.sf)a!BO C

!o-q;zBH:k3O2h0  Writing Your First Windows Application  水利图书k Rm {E,ig

水利图书9k LsaH?(e;h

   A Process Instance Handle  

^Qjqzt:?0[o({0

+~@~8v*Xd;G2A$`9J0  The CreateProcess Function  

*Idpo#Th(~_ @0

v#dh"uZ$_d8N0   pszApplicationName and pszCommandLine  水利图书9qjS:~R`*F

IH }1FY]&Z N)P0  Terminating a Process  水利图书"A(F pc-T%UD6g

/N(M/O M|3h1V0   The Primary Thread’s Entry-Point Function Returns  水利图书F&v8Vw/H B"LF

水利图书 E%X,T#A3W,}UU

   The ExitProcess Function  

;L'U8Ow!r;j0 水利图书&I.fH5XD4W;z

   The TerminateProcess Function  

1t1W*E!jQe%[0

2C$N`z F+c9O0   When All the Threads in the Process Die  水利图书q*u&gBqM d rz(b

6{z(W1rTB t0   When a Process Terminates  水利图书(Z5z7[HQ XT

VF#VmOg+b g0  Child Processes  

KZ5]+]qv.\X;gS-G0

(P$N_H:L)_6zn0   Running Detached Child Processes  

%[#j"n%Y!I#wb9]8n0

Y8?0bT@.m&Q0  When Administrator Runs as a Standard User  水利图书/w ~k&}I(QOQ

水利图书!^YW/W*i7O R)g

   Elevating a Process Automatically  

L^a Zz1x8T ~}Z0

4j!To{6`:t0   Elevating a Process by Hand  水利图书$ZI6mr/]wj

:FULp`%L(^0   What Is the Current Privileges Context?  

hf.^6v4o0

%km"bS2gO0   Enumerating the Processes Running in the System  

%I*C$\@r0QQ(p4[f;o[0 水利图书y*^[JW O6X

 5 Jobs  水利图书"bo/Lk6Z,y

y+y-i'r G|?0  Placing Restrictions on a Job’s Processes  水利图书Y9t!D4c&JIB"c[+zB

水利图书*g Y-T^(Z8o+U

  Placing a Process in a Job  

i9mj|#u@*[0 水利图书z]!{d!a0m C

  Terminating All Processes in a Job Querying Job Statistics  水利图书${2H Jiz1Mc NQL$m

水利图书gE3Y/e)R$?r d

  Job Notifications  

1c` q8ep)zE)x'p0 水利图书 ^ ?C0N1QKm K

  The Job Lab Sample Application  

7UseM.v'w?r/K4S-N0

O8~"AV){:P-bRVD&d06 Thread Basics  水利图书jy+e#[#D2d1W

+Z3`_%@ }p,k0J0  When to Create a Thread  水利图书&z&j|B9eGt/xO!Bl

水利图书/J$H!Ybj(i@zw

  When Not to Create a Thread  水利图书.Na6WHP(h4P5f7p Tj

s{sPmc{7wa)`6w0  Writing Your First Thread Function  

'rg |D1T:JK7w[0

/YG,JJ0Hs*[/O)l0  The CreateThread Function  水利图书xW&Fo(g4_

1M$ShG#Tl7Zs"k0   psa  

drs7V!S7W5B0 水利图书4r)n d9~'I'|.L

   cbStackSize  

_&v7a#n L4j)} e i0

WF|JV8u(y5y0   pfnStartAddr and pvParam  水利图书R1X%^+Z5] {T

水利图书UN`ptDAj L_

   dwCreateFlags  水利图书|"[0e A,M9l+l$Q;GU)~;Z

4?U z;gB5}*S+z0   pdwThreadID  水利图书1YJ A3WJ"[R+BBd

y.s{ RL0  Terminating a Thread  

c8C_9?4TXCg:C0 水利图书P$e{h ]jg4r

   The Thread Function Returns  水利图书.WgE4Wq&Z{

水利图书 VQEf!?

   The ExitThread Function  水利图书 NF J#W4|w

9B;O2ah4m0   The TerminateThread Function  

iNh)bn;X"r+},N FV0

Ta6J-S b!|9j0   When a Process Terminates  水利图书xpia4L.dl-FT

水利图书H9Gr3d S*z

   When a Thread Terminates  

5M8f/E;h'Q7~#N:d0 水利图书 rXfdVj:t#?

  Some Thread Internals  

L1T0e9q{9l"h7[0

;\X1H+uF0  C/C++ Run-Time Library Considerations  水利图书z H+? k`S8~"F:K

4elGic Jn;f0   Oops—I Called CreateThread Instead of _beginthreadex by Mistake  水利图书 V;oR e `BH2l*Eh

ls ^1i0c];pm7b0   C/C++ Run-Time Library Functions That You Should Never Call  

d W3DJk d(QF0 水利图书 AO J}T;ja

  Gaining a Sense of One’s Own Identity  水利图书t*_x|/sL5yZQV

水利图书Sh4Q;]8P

   Converting a Pseudohandle to a Real Handle  水利图书)M4^2hNM jK1O

z#WK0s {07 Thread Scheduling, Priorities, and Affinities  水利图书n.dtDR[

水利图书{@ h `LHT#IL

  Suspending and Resuming a Thread  水利图书v0Our-y)?)k

水利图书%S'l*yr @#N\

  Suspending and Resuming a Process  水利图书%B:~)y'c(PGD

I%H ?7e*BDV?j]0  Sleeping  水利图书` E+IAX!rk$])jT#m

水利图书H/d7e7Qf Av&d

  Switching to Another Thread  

zgZ\0maXL0 水利图书Qv5S5r|cHU

  Switching to Another Thread on a Hyper-Threaded CPU  水利图书@ J9M3sa9A7J'Y

水利图书 t.{~-U\

  A Thread’s Execution Times  水利图书UVC5El2hU J

t7ep-m8yOw0  Putting the CONTEXT in Context  

"dO0X x%c%xg'k|2l'D0 水利图书3Y YU"Fc$K bh+G

  Thread Priorities  水利图书tgy"U\WYh

水利图书"W0p#t I1w

  An Abstract View of Priorities  

T kewcL$YF z0

LW?gf8z0  Programming Priorities  水利图书!`3VF.G:SYd x

+N-Zg \/b4_ _0   Dynamically Boosting Thread Priority Levels  

#[Z1ll8aV\ v'D0

J S8?_L g]na*^0   Tweaking the Scheduler for the Foreground Process  

sy,[ g INy0

\ B{F%NoaAT0   Scheduling I/O Request Priorities  

cP:y#M@2~0

U fK;x1|)X lo Vk4I0   The Scheduling Lab Sample Application  

e E Vv6H/dG z0

.L8Ru{L:~E0  Affinities  

o9n4vt|O2m`0

tNAh,r5B.M5o08 Thread Synchronization in User Mode  

:}'Z0^0D:d5m0

DRW;Iu3WIv0  Atomic Access: The Interlocked Family of Functions  

;d0k4T'WS&eW0 水利图书]*x.s8Dzi({

  Cache Lines  

/Y@zY|.R'`$Z8M^0

4]7W!N:u ^c3}k(Z8d0  Advanced Thread Synchronization  水利图书.r T6OdF,GOT'F

Vi pC4y t'O%GR9b0   A Technique to Avoid  

^:hQc{c"_ y0 水利图书1?H9q3dnv*?

  Critical Sections  

LGKS4_f)p0 水利图书!e ~+Ky5h

   Critical Sections: The Fine Print  

/Bf(@Q$y M(?0

*dF9F7Q*X%PE0   Critical Sections and Spinlocks  

*};z*e(vk@0 水利图书Pv/l:w b"fd

   Critical Sections and Error Handling  水利图书 \;das0Xhby

水利图书bXl:\s b%u

  Slim Reader-Writer Locks  

^#gO8H"iD!UFPt0

(}x?Zjb[0  Condition Variables  

VL,z(b$hJ0

+~8c)s8\M0   The Queue Sample Application  水利图书9i*fW?oh"Z

水利图书{)^A-AR?;_

   Useful Tips and Techniques  

|H;g*U6G,v5h0 水利图书"EHa ehdt

9 Thread Synchronization with Kernel Objects  

0h&q&m2bB?c0 水利图书a9usRZm$N5\ }+o

  Wait Functions  

w.Nls6qM o0

wv`H8H7||0  Successful Wait Side Effects  

+q;|Y/`-j0

c#xO{0| rBW0  Event Kernel Objects  

0N0^8@ U"D*j*N0

)?#PVm*p!g s0   The Handshake Sample Application  水利图书#P p6U(BV"}A i)E

0Eh1U^v ?T0  Waitable Timer Kernel Objects  水利图书0K&o)J"y6i#x2_

,T h|@Eh.Y0   Having Waitable Timers Queue APC Entries  

e4[3x&I'R h%~ O0 水利图书.x hi:?7{

   Timer Loose Ends  水利图书U+s(JC4mp

水利图书V&k|Q)G(d;O

  Semaphore Kernel Objects  水利图书#lbt oyI#|*Ss_

Qu A.hg|-g0  Mutex Kernel Objects  水利图书 {w'z'{C.?

3V$sV$q_:U6t0   Abandonment Issues  

B;c8XH(PDz:Ck_0 水利图书7R;K.u2xy.Tj

   Mutexes vs  Critical Sections  

#Y.^fX+g;yq:h0

8FrI9o\%RBT |G0   The Queue Sample Application  

,HzuSE.`7x0

Y| QFsw9d0  A Handy Thread Synchronization Object Chart  水利图书3AXw8@e]Xo

水利图书Ah'r3nJR Q

  Other Thread Synchronization Functions  

;Pm:ME P,f0

A} X&l V9|6E$r0   Asynchronous Device I/O  

G~Wa ].j:p}0 水利图书EE1j-Z.T

   WaitForInputIdle  

#i2y3ga9V3V-_)~w0

R'DK)Q2K0   MsgWaitForMultipleObjects(Ex)  

V'q'bQD*a%`0 水利图书zm?!d/D[3G

   WaitForDebugEvent  水利图书n:`%{}G5D8_?f

水利图书lz'A;T&v+y

   SignalObjectAndWait  

,C#BM~[ @p0 水利图书\(I+C%XV6h0Q

   Detecting Deadlocks with the Wait Chain Traversal API  水利图书 k6MdR t2p;h

水利图书h|O!Kp*gS,Cg8S

10 Synchronous and Asynchronous Device I/O  水利图书!IS$SK1v]

I n*Vkr$a!{3d!x5D0  Opening and Closing Devices  水利图书p3\]0~|P%i#ld2b

水利图书d%gg/H]h k

   A Detailed Look at CreateFile  水利图书 Se O}.c^$A*k0V

)ktRW p:Gi0  Working with File Devices  水利图书 th$bGp2@.`u kj

R(P/u | H0   Getting a File’s Size  水利图书k'b5TV&[{V

水利图书"D'?9^(H9B0s(x

   Positioning a File Pointer  水利图书h^/^t MHo

(h ]d2o U4JC0   Setting the End of a File  水利图书f`A]?9@e

水利图书 BIw&]']f5v

  Performing Synchronous Device I/O  水利图书r1j/z]2v h

:Oe'Hf8ugl0   Flushing Data to the Device  水利图书![D:{;R7YfF4~

水利图书d8k L%_ m`4{ m

   Synchronous I/O Cancellation  

o8e#u mSL5jc Wu0

$cT)okq#d3gi~ s:rm0  Basics of Asynchronous Device I/O  

%@tXc0[-P0

'[\8c%Jd,o Ej~0   The OVERLAPPED Structure  

1S']K,T-E0 水利图书 e;Go%}9vo k;t0xDm

   Asynchronous Device I/O Caveats  

9FPm7da)X0],r0 水利图书g v]eu

   Canceling Queued Device I/O Requests  水利图书[)[)N [%w

iuv*q%fm!b?N D0  Receiving Completed I/O Request Notifications  

+jC@(H[8q f g0

1Ifn#kkNo0   Signaling a Device Kernel Object  水利图书I&nX6y'y

水利图书t5\u-j+F

   Signaling an Event Kernel Object  水利图书1}~#dc%O(L7V

水利图书9[*b I(r;D

   Alertable I/O  水利图书e6SIi,c Wb

4t.X z~8kp)}}0   I/O Completion Ports  水利图书xdo'E]8e/j R

*j K,S6s}:q011 The Windows Thread Pool  水利图书+v6s[ Ha ?7f-C

水利图书{7L]"isv

  Scenario 1: Call a Function Asynchronously  

:xN#\KpK)eM#c0 水利图书w U_2A*Fvo m

   Explicitly Controlling a Work Item  

s M xH+_2U'B M0 水利图书kn,aYHGC ~

   The Batch Sample Application  

Bl:co{v0

RtH2^{0u,V!u0  Scenario 2: Call a Function at a Timed Interval  水利图书6d&S@go)~4JM,Oh

~%v/W}8w0   The Timed Message Box Sample Application  水利图书1g]Wwu;o

h i5\8KAO+i0  Scenario 3: Call a Function When a Single Kernel Object Becomes Signaled  水利图书8B`8m5i R/DeF|

2cz@:G5Y|*F,Q0  Scenario 4: Call a Function When Asynchronous I/O Requests Complete  水利图书nLv jBD

BJ(b ~?X*Q!k7D5y0  Callback Termination Actions  水利图书TJ4``7hW

Z }5U$rI#y(v0   Customized Thread Pools  

bU!^ pF#Y ^p0 水利图书w IZ,o{JT

   Gracefully Destroying a Thread Pool: Cleanup Groups  水利图书-Mm x Ln.g2]x

水利图书Y Q6tp8t},Irz m

12 Fibers  水利图书'RQMv'_Q |*C.{:M

水利图书`\(MDQ

  Working with Fibers  水利图书&R jt8Ix}3m*q

9['oa)|r6Ld)U0   The Counter Sample Application  

,Ys)`H2[/Uk:y:t*X0

7D`__m/GS:M|0Part III Memory Management水利图书 ew6xn R0f;C/v

WMQ7]:We*m*k|013 Windows Memory Architecture  水利图书 Q}7dr,t2Z Xr

水利图书_d]B"}0W

  A Process’ Virtual Address Space  水利图书!{ E!~mt p X

水利图书C'm1tS2|tQ1k(Y1|

  How a Virtual Address Space Is Partitioned  水利图书C${'wn)x

,eV1]peL1|0   Null-Pointer Assignment Partition  水利图书7se6[u}W

水利图书7`CpNW-n.B"C\

   User-Mode Partition  

u:u3ey W0BB0

0|I JtLonh0   Kernel-Mode Partition  水利图书[;R%~ MWo#qO

f li&TBgE0  Regions in an Address Space  水利图书t9y#M.}T^mw#i

\5`];w2|%p,h0  Committing Physical Storage Within a Region  水利图书T/N3f0e$jZ9@U"@+us

-?0i,?TmMy0  Physical Storage and the Paging File  水利图书|5j(Na}6T1s

K0S aJfN&m0   Physical Storage Not Maintained in the Paging File  水利图书_'D:La.MR%P,{^h u

水利图书'D&h\;z Q7~k

  Protection Attributes  

fV.T v"o(i-F'E0 水利图书E5iF3tL v,m

   Copy-on-Write Access  水利图书P H~O+C8ZQ

'H]Pr-lf+a4F0   Special Access Protection Attribute Flags  

h!ch?^2H%j(@!a0 水利图书xWZM ~/v*S

  Bringing It All Home  

)X:n J sb4O0

8\!q;o,G~T0   Inside the Regions  

)U#?P Ka Ru0

kN(V tQ0  The Importance of Data Alignment  

_V0[%b/E;z FbL;X0 水利图书'@%{$j)a V$R3z#j

14 Exploring Virtual Memory  水利图书9\&F#Y \1[X

水利图书&L{!I:or*X4Mw

  System Information  水利图书&?5g-f;{%H,q,ws:WdT

(a!z5s\)]x-_p0   The System Information Sample Application  

8r R3l*ex1{$OY)]0 水利图书)N uRKA[/@;A

  Virtual Memory Status  

d'K#Y4a ik+I]0

p G(kG U'k0  Memory Management on NUMA Machines  水利图书:z"JNF uc

-Kp3m5itFQ0   The Virtual Memory Status Sample Application  水利图书 l_:LY%rH,}*a h

水利图书0rM:y?e3s+^U9L

  Determining the State of an Address Space  

|8{!e%b7Y%X0]L0 水利图书Ij N;~4C0pZt

   The VMQuery Function  

6C,v3rrSA0 水利图书6seN r"]

   The Virtual Memory Map Sample Application  水利图书2CfP ePLC;R

水利图书6W!ia&I5CY7z

15 Using Virtual Memory in Your Own Applications  水利图书&A#WUCY

水利图书;g8tz T A `[4{

  Reserving a Region in an Address Space  

%RF l1B@v.|E6L0 水利图书:V&c$ic2K"s#ia j

  Committing Storage in a Reserved Region  水利图书*X3OA:CeOL?

d+Ka4l]0  Reserving a Region and Committing Storage Simultaneously  

XuP5Z$D8Y0 水利图书k jS|!~+Z |9{

  When to Commit Physical Storage  水利图书2ko"[yP@0L+];D

O0} bu1| u$Q g0  Decommitting Physical Storage and Releasing a Region  

9L?"G3[j$x0

(LrRa3aK$w%y0   When to Decommit Physical Storage  

9M?O js n0 水利图书9OG:ev-_ S

   The Virtual Memory Allocation Sample Application  

}H)Bb ew1C3d3a8j0 水利图书cI[5oS6dSQ6~

  Changing Protection Attributes  水利图书'F,QI3C,iuA

SiTA$L^{0  Resetting the Contents of Physical Storage  

G v#\9j W&dY0 水利图书x {Io @!s2Z_ `

   The MemReset Sample Application  

H7^!F@.}FW?;J:k9]L0

Y.c7m`NjS?,a0  Address Windowing Extensions  

e%@)~bC0 水利图书6T:e*b7Ww b$f1J%y!i

   The AWE Sample Application  水利图书7ZY\9@9D}1j/E

p:@ e+@ _I v]z016 A Thread’s Stack  

+VP/EDs_0

s| tt&N:B9z`0  The C/C++ Run-Time Library’s Stack-Checking Function  

*Y+c z Q"n$^l5e0

f6Mmc0z3_,m0  The Summation Sample Application  水利图书?%T[7i/kh*_

水利图书!U6Z0WpvRR

17 Memory-Mapped Files  水利图书p1S`xq

A%xe9j,juWx{0  Memory-Mapped Executables and DLLs  

b5AL$wvi0 水利图书7~9Vn0]rF

   Static Data Is Not Shared by Multiple Instances of an Executable or a DLL  

#?U*Z+|)L0 水利图书:@"M#YGo

  Memory-Mapped Data Files  

uT|-g+nU-~,I0 水利图书#[dkD LZ

   Method 1: One File, One Buffer  

zs8`+Z(G0 水利图书4~j} C%v

   Method 2: Two Files, One Buffer  水利图书J3G'rdNOxJx

\!UQ0aj d W6LO F V^0   Method 3: One File, Two Buffers  

peN;FHSrmh5h0

Oo,@h/Mj0   Method 4: One File, Zero Buffers  

+c'k$GCeR7p0

{v{&l O:T3l0  Using Memory-Mapped Files  水利图书M&N!b9Z4DS%D6ME

水利图书|4h'{hV%hK

   Step 1: Creating or Opening a File Kernel Object  水利图书`T3xg d.|5`R+i

)c3T}!BeS.X0   Step 2: Creating a File-Mapping Kernel Object  

;f6X)jg2],u x`H0 水利图书&k_jekc

   Step 3: Mapping the File’s Data into the Process’ Address Space  水利图书A;A?}k*o\

1p CzX;Z9DdM;C_0   Step 4: Unmapping the File’s Data from the Process’ Address Space  

*Cbjk?LmY.RhQe0 水利图书1oj+Bg.aWj0h

   Steps 5  and 6: Closing the File-Mapping Object and the File Object  

+h9]x@|3m0 水利图书*mRT-V}8o

   The File Reverse Sample Application  

{D ]n}W'?L7t0 水利图书4z4{+D%dz$u,nt#|t

  Processing a Big File Using Memory-Mapped Files  水利图书$X(A|CV*x

水利图书#A@E;`\N6_#p"[ t C

  Memory-Mapped Files and Coherence  

,qG fVd"Ih0

j)s1`;y/Yd)l0  Specifying the Base Address of a Memory-Mapped File  

zF'q%Sl-G.\ d0

@7G)b;{6z\H0  Implementation Details of Memory-Mapped Files  

[ h8I1SD'H c%OG0 水利图书x3S:y4LW.s

  Using Memory-Mapped Files to Share Data Among Processes  

(P_Y RZ uf!H0

-@c&R\p;{/j A'~0  Memory-Mapped Files Backed by the Paging File  

D7{'EH-LjE R0 水利图书(mN^'U0P4s&B/Cn

   The Memory-Mapped File Sharing Sample Application  水利图书,W-b E8?-?`|l3Ht

E0z e y|,W0  Sparsely Committed Memory-Mapped Files  

8j? s-xT7f IC8\'g0 水利图书?[X2C Im-Q*lG

   The Sparse Memory-Mapped File Sample Application  

:T2p L} O6\0

"ou%|GP018 Heaps  

J8_#p3z:ZJ!Y/Zl0 水利图书0givW}

  A Process’ Default Heap  

U7q oiY4`-b Qci%A0

]9xAG i)W,C0  Reasons to Create Additional Heaps  

`HY\\ i0

Q`%C[N9| F0   Component Protection  水利图书{z'XAmZS{-ce

5`#a!h"IX!e0   More Efficient Memory Management  

m5a)p2Ea%IT6t:r!?0 水利图书 l Nmb Ix

   Local Access  

}:AD Rhetb0

%|y Z&~m0   Avoiding Thread Synchronization Overhead  水利图书 FO&^hs8f&x(Q hC

水利图书D%`-z8G d4G:|V

   Quick Free  水利图书.M%P:Yl \:}y f

水利图书.G?%U[f7[D

  How to Create an Additional Heap  水利图书tc)E2pGS

l"JJTD MA-J+w/d0   Allocating a Block of Memory from a Heap  水利图书^2I/eAp

水利图书2M7_*X? U+F*XJ

   Changing the Size of a Block  水利图书1w$Y(EL^z _*p&h

水利图书Uur7n8YXW

   Obtaining the Size of a Block  水利图书S G1TU_.z0Sg

_Ek7k L(h$Y0   Freeing a Block  水利图书t'y,U ^8`$^

+AU0L@(q,C;d~R:f)b0   Destroying a Heap  

&}Cp4T0GSo0

lu P4K%CCL(k0   Using Heaps with C++  

Z%nv#JD/K |i/[ \$l0 水利图书WzDdE,^5u-Q?c

  Miscellaneous Heap Functions  水利图书8n;G O)c BV

水利图书i[!p o@`nq

Part IV Dynamic-Link Libraries水利图书:K(rX$Tg7?

水利图书L D*~:E%A(pZ

19 DLL Basics  水利图书1l1r,jf^L

水利图书Q6cqVPM

  DLLs and a Process’ Address Space  

0N(n$J4],O L0

F1j4r]xh+i$K1i6R0  The Overall Picture  

9Tw"in Bs&S0

/\h Z$aX"O X0   Building the DLL Module  

,{+M!@8L*i3X+x1t6z0 水利图书c0YBF5k#M\

   Building the Executable Module  

Ids*Jy4g4i&p-Y0

/WL]L/V HIv0   Running the Executable Module  水利图书-CP%^2_NZ+\#UI

1Y$G'N3~8rywZ020 DLL Advanced Techniques  

Qvo;E$|X#p0

{g:Dx ttf*a)eq0  Explicit DLL Module Loading and Symbol Linking  

0DG(K|[ v-sT0

UG8P'i:LM zC0   Explicitly Loading the DLL Module  水利图书)h)y YO.xu

"{:`4gC}&\~6]8~K0   Explicitly Unloading the DLL Module  水利图书k%e*uUR7W;M.z@

水利图书#n:D;kNhm n}r.Y

   Explicitly Linking to an Exported Symbol  水利图书:Jm"y$kn4C

*Jg1TU O0  The DLL’s Entry-Point Function  

'^ |@3h"z3i d0 水利图书$XD2^[5yPTTV+{*D

   The DLL_PROCESS_ATTACH Notification  水利图书/c n(bF:w"^jL?#r

"xI@}1wPj0   The DLL_PROCESS_DETACH Notification  

6~Y7j*M,x2bGh0

7Id5{*caT%w;Wg,Q&rIl o0   The DLL_THREAD_ATTACH Notification  

3x'k~jeD'w+vW S&}0 水利图书$ge9i5Q5Ma] _a

   The DLL_THREAD_DETACH Notification  

1DD8YUl;w5d}0 水利图书9cgb:J9[Kc

   Serialized Calls to DllMain  水利图书 ?%l%v.b'c P:{~ Wmrt

!w9P-Xd:]#h0   DllMain and the C/C++ Run-Time Library  

]Z$ma@0

J7}rsM0  Delay-Loading a DLL  

.M"{gX7K*z t"?0 水利图书~J,[ e4S(QK

   The DelayLoadApp Sample Application  水利图书(O I(r$t'~ w `

水利图书 ^ TR Z:sn ^KA

  Function Forwarders  水利图书Up]5H3yp

水利图书Z5OL9Mu;l pf

  Known DLLs  水利图书$W"L e F:gJ4v'Pk

水利图书 |-Jybbb1X

  DLL Redirection  水利图书q,e6lA7Z"H`{jz

水利图书.Ln%e.gf"c | A]

  Rebasing Modules  水利图书 VG8zZ6sF+Gn"m+z RV!I

QH%B]DgQ eC0  Binding Modules  

P(}M(NJl0 水利图书:|%KRpx#Rsn

21 Thread-Local Storage  水利图书o oQ A'GLj.T

水利图书*{Hg%x2i%L A6n5o

  Dynamic TLS  

m t5F7t'n `d2t0 水利图书U G[ f2[W&Q*q HH

   Using Dynamic TLS  水利图书%D0Y:E2ML]

水利图书 |Lo3z#R aEC W

  Static TLS  

@(}l)tA_$l#N r tO0 水利图书)`!e q},G

22 DLL Injection and API Hooking  水利图书(f l!_*t/j7jv

水利图书7C']qjCMC m9e,J5j

  DLL Injection: An Example  水利图书0B$WRf.M!u^

t'QXL8Fq0  Injecting a DLL Using the Registry  水利图书fa&SI0v-f J

y P"hF-Otu0x0  Injecting a DLL Using Windows Hooks  

xz5Ij*Neav)e0 水利图书O.U:q@^[Nu'a!v

   The Desktop Item Position Saver (DIPS) Utility  

;~\S5j m l6Iz|0

9eH%y2U"Bq{,Q0  Injecting a DLL Using Remote Threads  水利图书6[I6x6A*S(AR

水利图书2qg~ G)]

   The Inject Library Sample Application  水利图书@!h6Ff;WF

(KLL8gU"W0rEC0   The Image Walk DLL  水利图书U!U {%XlJ

水利图书Q2V`zx PdQ lj b

  Injecting a DLL with a Trojan DLL  

Jn6@x S0k+}#xRQ0

OK+N GM'Ybm|0  Injecting a DLL as a Debugger  水利图书h+v8W"KfOn P

水利图书#Z|? W HJ$T

  Injecting Code with CreateProcess  水利图书~ ^:@;t^3u}%K

水利图书!L!q#lM.[-?P,X

  API Hooking: An Example  

Rp$OY;e1z#g0 水利图书g*Wf4nS$L

   API Hooking by Overwriting Code  

i(u M`6jZ'A0 水利图书.Pk/p*GL.j

   API Hooking by Manipulating a Module’s Import Section  

-u6p0F'?KL0

L r0~!yo)TZ0   The Last MessageBox Info Sample Application  水利图书go\bJ;]

1?kk@#t[ t0Part V Structured Exception Handling

t7V6pc!k]1WN bF0 水利图书^gjxL^}8[y:\

23  Termination Handlers  水利图书?+Z!E4Qz9B m

水利图书0v)~Xq(v!V(DS

  Understanding Termination Handlers by Example  水利图书gGz zNY7L8N

水利图书_5n"H4]"~F2h*jUQ

   Funcenstein1  

8h:Q:VX5f*Y0

*cn4f]W6D~j8q%m0   Funcenstein2  

*E6T6m5^Pu*GT#B6r0

yct T5Ks@7w)c0   Funcenstein3  

6S5[ lD'R?NL0

c!PH b\9PJ0   Funcfurter1  

;m$\R(f6`T0

\:k+G-Ly I0   Pop Quiz Time: FuncaDoodleDoo  

J(q!u5~X^4G4fd0 水利图书:yu2D*h^X7iiu

   Funcenstein4  水利图书3pmUq~

$G0~X \o p0   Funcarama1  水利图书5G#chow{ ?

水利图书'b"] N[q%Ot

   Funcarama2  

$Tm \CV'X(qj(k1b]0

/?W4Rr@PabW0   Funcarama3  

8cI6Z)[9dD+R9Pa0

F-t0ZF4QY3l0P!k4g/uC*U0   Funcarama4: The Final Frontier  

c,f#E r+gG*D X0 水利图书!E4q7C8h,v/i Z#p$SXc+m

   Notes About the finally Block  

|)]nA,w:v k0 水利图书 M9OZ'V*m(j&N-U4_

   Funcfurter2  

1@C4h F \WZj`4YX0 水利图书$H!t c&mXP

   The SEH Termination Sample Application  水利图书%[&j1K$UM{ r

水利图书v*h6u,a.Nt

24 Exception Handlers and Software Exceptions  水利图书:g"l)@x"wm#Mm

水利图书 ke Sd3^ k]

  Understanding Exception Filters and Exception Handlers by Example  水利图书2k%Rx4`0M VW

w:m7u H/x2t0   Funcmeister1  水利图书ti$Ty\kO.p|x-b\

&w-I q#C I-@$a0   Funcmeister2  

,Ee9UT%~K0

X@;m7Wp;F$P0  EXCEPTION_EXECUTE_HANDLER  

i O+^v0p0

){3MV,}9Qh0VC%@lG0   Some Useful Examples  水利图书uX9ZxICy

M^ bf"`1D0   Global Unwinds  

Lf6J'ar uy\s0 水利图书 ]"k(Wv A-O,wUJ

   Halting Global Unwinds  

nBZ @&Lv2aE0

B8B&d+X"IZ#dy.N0  EXCEPTION_CONTINUE_EXECUTION  水利图书+a D5y|/z5f+fQ

t UJ^5v8R0   Use EXCEPTION_CONTINUE_EXECUTION with Caution  

[ w^2I5yF;r0

!z!y2\o pJ.yxi9n0  EXCEPTION_CONTINUE_SEARCH  

OR"X]U0 水利图书xS}CK)P

  GetExceptionCode  

'sn._ad0

Gj5BM6Ny*@0   Memory-Related Exceptions  水利图书&vl,b+\Kr#U J

水利图书8p An#da5\6H

   Exception-Related Exceptions  水利图书4s7l(F\ p

水利图书1c$U5BLjC_[

   Debugging-Related Exceptions  

C v e%M.q0 水利图书+^%BYD3C;NK

   Integer-Related Exceptions  

;D~2G9u9m Y0

ezz8{5v@/IJb0   Floating Point–Related Exceptions  水利图书1HtT lU!f&we

水利图书0EN7Wma

  GetExceptionInformation  

#G6?['tfK0 水利图书Z-B"j/{H!P.\$r`e)f

  Software Exceptions  水利图书#]w-W.Ih

水利图书.zF:J*Q{+odKgvx

25 Unhandled Exceptions, Vectored Exception Handling, and C++ Exceptions  

%Q!](e&}&d9T0

(t9L/|2yR Rj0x0  Inside the UnhandledExceptionFilter Function  水利图书(J:tM^,\jEn

iQSqO IMK&~0   Action #1: Allowing Write Access to a Resource and Continuing Execution  水利图书IP~qL%gw#i

水利图书#Ls)S s#cC\2[k

   Action #2: Notifying a Debugger of the Unhandled Exception  

8t`-[ v*c0 水利图书/F,Xc:f,}1X9n0@j7~j:`

   Action #3: Notifying Your Globally Set Filter Function  

:p5Q/KI'ELeJw0 水利图书}k"R"a-G s} sXV

   Action #4: Notifying a Debugger of the Unhandled Exception (Again)  

n P?#U'X$j;m!qq4swZ0

E2Yvi1Z)L$IQ0   Action #5: Silently Terminating the Process  水利图书7W;~L/~3I.X"N2IU

.{r ]5@-_7T"zR0   UnhandledExceptionFilter and WER Interactions  水利图书+d1R2Yh ~i,u

水利图书w$f){#JVJ4PZ

  Just-in-Time Debugging  

X.\c8T!cq/h;A9W D)C0

2\c+MZ'xP8_0  The Spreadsheet Sample Application  

b c$PH\&eG1Nt0

C!_%O[:T pj On0  Vectored Exception and Continue Handlers  

*pXe.A#C.e_0]0 水利图书RF.U2piK

  C++ Exceptions vs  Structured Exceptions  

.O/Rq'I B? xk0 水利图书lfk0W]N

  Exceptions and the Debugger  水利图书#z`#HHI2SL'QX

scX6}!ytF4Q026 Error Reporting and Application Recovery  

vXEU#oV/P0A0 水利图书|$nL0?)h;G.l

  The Windows Error Reporting Console  

9F*~f[5px0 水利图书6t'U M^A j Dd

  Programmatic Windows Error Reporting  

J+e7W4x1m^)Iq0

Sx@I5l*^F$b G{0   Disabling Report Generation and Sending  

e#LK*T\~ @;q0

4v+q#P/mTj&__ i0  Customizing All Problem Reports Within a Process  水利图书URML z4Qc F'x

w C ];E _(Zx/{:Fr)\0  Creating and Customizing a Problem Report  水利图书p8qi;HC$k

水利图书7d;jPE6sB;\

   Creating a Custom Problem Report: WerReportCreate  

)u"QW.Z!Gz8oz0

!WN_V__0}7[G0   Setting Report Parameters: WerReportSetParameter  

(i$WC2d!e*Y&K0 水利图书^%_O-U,Wm@o$gW

   Adding a Minidump File to the Report: WerReportAddDump  水利图书,L3R0x%P.|!EN!u

?%ds4m8Y0hr0   Adding Arbitrary Files to the Report: WerReportAddFile  

;[ G,l9rcF,[os0

C?4A"P\!e;S&~J0   Modifying Dialog Box Strings: WerReportSetUIOption  水利图书2?k3OL.qYF$B9{-U

水利图书 MHDL)} b

   Submitting a Problem Report: WerReportSubmit  

+Kg"u&i9@SrT0rU O0

dM(K.R{+T'j W0   Closing a Problem Report: WerReportCloseHandle  水利图书_0n$x2`]QqT0|

水利图书Dq~^$FzO.pL

   The Customized WER Sample Application  水利图书cA(i6^S}

水利图书.Fm*v{-yG K

  Automatic Application Restart and Recovery  

YL5Tr{S0 水利图书;w*r!Z K Cs}P

   Automatic Application Restart  

^Gr9l q1kq.c0

Lb,qX.q{0@0   Support for Application Recovery  水利图书 mL)}nO#B c4P'K

水利图书-e5W2Zc;za;wd R

Part VI Appendixes

)O0X3{6Zt.L+Y3F!Y0

^3hO~%j+AcJ0A The Build Environment  

!WxR0?-u0 水利图书2w&H;O&JXGD

  The CmnHdr.h Header File  

G y0D"V3{1c9x0

+iMT(Q.v~%S0   Microsoft Windows Version Build Option  

A l-h ~NsT,qm0 水利图书W,Iw%c0wR

   Unicode Build Option  水利图书|:V'N r2@ oqe`!H

水利图书No"b1}4i,lvB#p

   Windows Definitions and Warning Level 4  

~ R)n+AK,]0

uA-Hu!Y%x0   The pragma message Helper Macro  水利图书)f4w0LB6s'^G6H)K:}

水利图书Nr@6} OH a:?"m?

   The chINRANGE Macro  

$^ X;T3]2Bn1R5x0 水利图书 I^h)s y

   The chBEGINTHREADEX Macro  

J9K@ y6CE/b0

g/L n%h6A7G\0   DebugBreak Improvement for x86  Platforms  水利图书wTkt*[9^n6k ~6h

+e weY9T og8[0   Creating Software Exception Codes  水利图书uG"h~/e-R*{

水利图书}*EZ`H _] B?:D

   The chMB Macro  

2iP(g/Y#l.o0J7d0

(_/|"x:cPt0   The chASSERT and chVERIFY Macros  

/|@%bj#]~I:|c0

.S*{av2Yt+D0   The chHANDLE_DLGMSG Macro  水利图书#k4rC8nrKx E Kz

水利图书Q e0a@K3PT'Da

   The chSETDLGICONS Macro  

0J#P\,f:]v8~4G0w0 水利图书 L;k'L&i wMZ#dT

   Forcing the Linker to Look for a (w)WinMain Entry-Point Function  

D6L?!h8yWy J0 水利图书A7i*?rKp|q,Gz

   Support XP-Theming of the User Interface with pragma  

f'p8c3a[0 水利图书 ^*\h0q c p&Y#V

B Message Crackers, Child Control Macros, and API Macros  水利图书)i)_^6xc](ERBT Q

水利图书$a%D/yQ+cCB

  Message Crackers  水利图书-hBYKm F

水利图书|d} e[K(uB3ko

  Child Control Macros  水利图书 ~x%c3a.v1aie

水利图书:_[&K5S+myN{x

  API Macros  水利图书s1r%k9\$y_

%[-s/Y0Kp0Index  

f7Z p4D \+jQ0 水利图书Urn&tbS8Cb

书摘与插图水利图书$u9z5z VM!z0t

Fe%_G&@/?a n[6K0

$lN SK3D{:h.p0
顶:7 踩:7
对本文中的事件或人物打分:
当前平均分:-1.41 (41次打分)
对本篇资讯内容的质量打分:
当前平均分:-0.65 (37次打分)
【已经有31人表态】
8票
感动
3票
路过
2票
高兴
3票
难过
3票
搞笑
4票
愤怒
2票
无聊
6票
同情
下一篇:ASP.NET 3.5高级编程(第5版)上下卷
上一篇:SIEMENS系统数控车床编程与维护

水资讯网广告招租

查看全部回复【已有0位网友发表了看法】

广告投放

广告投放