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

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

热度129票 浏览18次 【共0条评论】【我要评论 时间:2010年6月10日 14:27

8F4[2Z2M(b"I0Windows核心编程(第5版英文版)水利图书'Ce9V3i Tf|

-tWXl2C+Y5T0正在读(5人), 已读过(25人) |   放入书架水利图书4C:zJVm'@

水利图书1`c"q*\R/S,P

丛书名: 图灵程序设计丛书

c{0LO!k']n)C7eHF0 水利图书-R'I,{@ b I,L

水利图书+YRr m5~8r4Z A

1tgb(Q GV:a0作  者: (美)里克特,(法)纳萨尔 著

1g,L7s4S6O0 水利图书f$NKz4GV0m)~iU

出 版 社: 人民邮电出版社水利图书l(q.{[)G

水利图书rxo:{)f_2Lw

出版时间: 2008-8-1水利图书2jCg P K$K

l5K,D:Ve'Q0字  数: 1013000

D Ta8R9QG5x0 水利图书U4^&ynYY4d

版  次: 1水利图书Y3up(hx#c/P

^pm w0Sm6`;q0页  数: 820水利图书CnF/S/@ px

水利图书3r}1L4Nm}(s

印刷时间: 2008-8-1

9u7~/HX:KNQ(Z0

.J@5Q.m+eq0开  本: 16开水利图书 @ PT)e}!vK

7_,p%f'fm,J,N.K i0印  次: 1

!c x p~9s8w"V0

&y`l3xV0j;t)xm0纸  张: 胶版纸

C,x{P6WmPo h!{0 水利图书+Cy4E(P?"KrW

I S B N : 9787115182128水利图书`4OTH o-PQ1T_

/F!s:mKC;q!t[ @0R0包  装: 平装水利图书#| s)s&TM3t6G9[

水利图书X+M _&`(LI

所属分类: 图书 >> 计算机/网络 >> 操作系统/系统开发 >> WINDOWS水利图书&GIo-s4mg4vF+}

Hjq"NTz#tC7[;h0编辑推荐水利图书 t.T"l$i9i\

水利图书 x l0Cav `#Xi*|SX

Windows程序设计巅峰之作,新版涵盖Windows Vista和Windows Server 2008最新核心特性,Windows程序员迈向卓越的必由之路。水利图书%W H)b@W,S\

x@$uolfT0本书是Windows程序设计领域广受推崇的圣经级著作。书中深入剖析了Windows程序员必须掌握的底层实现机理,通过大量贴近实战、精心编写的代码,详细阐述了Windows的各种基本要素。如字符和字符串、内核对象、进程、作业、线程、纤程、内存管理、DLL和异常处理等。水利图书*i;_U`c

#E#`O4u x8O/Ks;D0新版做了较大幅度的更新。一些章节(如第11章)全面重写。其他章节也有重要修订,以涵盖Windows最新版本(Windows Vista和Windows Server 2008)的核心特性。支持64位Windows。代码主要用C++进行了全面改写,更加简明易懂。

9VoIf-PkVP0 水利图书y0S j~n:k @mi"IQ

内容简介

Ov[CFq?+u0

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

_*Ji5~QKU0

0|d/H;InL {Ry0  本书适于各层次Windows编程人员阅读。

r%k1_7\ j8O h0

a7scVe#qby0作者简介水利图书?1z}uy|

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

(p/xB#ps:ND Y0目录

z F:CsUv9i"s0 水利图书'wG L kLM+J

Part I Required Reading

z`)T ^M!T0 水利图书9}(l\D GL/Y"v

 1 Error Handling  

0nk{)F9n [&l,k0]0 水利图书0w o_ k3w"`

 Defining Your Own Error Codes  

7~,?:[m7S u5U/C0 水利图书(C^.|HA"p1c0X'd

  The ErrorShow Sample Application  水利图书w}Uj\

水利图书A4G`!Z@"O]%`

 2 Working with Characters and Strings  

1[~@/Y7jk A l F0 水利图书 s!I/K.h[6Lo

  Character Encodings  

0\)u#iu1GD0 水利图书!i4FJ%j-b"sX2o`^#c

  ANSI and Unicode Character and String Data Types  水利图书-_9P^(na HH kl

水利图书*Ks&G7MiLA4B

  Unicode and ANSI Functions in Windows  

C+_WhB,tGq#M\W0 水利图书8g7xlo`b

  Unicode and ANSI Functions in the C Run-Time Library  

+{ IH#Xg\ E*j{0

pJ:|RLZ0  Secure String Functions in the C Run-Time Library  

E$`o@-Bs:M0

Q(V%a(@zIk0   Introducing the New Secure String Functions  水利图书 ^ vFX Rz7M/M3|

水利图书8}I)d/[1PG"j9p

   How to Get More Control When Performing String Operations  水利图书)rn lYd;x5qC+x&p"z

水利图书GpqF~7PTc

   Windows String Functions  

&OfB1}J!d4[_0 水利图书b%A$?F^*x ~e d

  Why You Should Use Unicode  

&iAyG2Lv"w o0

u"HLG2P p0  How We Recommend Working with Characters and Strings  水利图书a U^ gV9Z"[w!F

水利图书!RN` ?v F

  Translating Strings Between Unicode and ANSI  水利图书],ytZ |

水利图书M ?%` @?C

   Exporting ANSI and Unicode DLL Functions  水利图书.HcC\,f$q8xr

水利图书V SpBZ$}F-@)t

   Determining If Text Is ANSI or Unicode  

0Fs`1]3{0 水利图书9@M \ F Q"{%|

 3 Kernel Objects  

V%B.N#A}j0 水利图书:f7R;qr%UV

  What Is a Kernel Object?  水利图书O,HLCgyXW

水利图书 bc(Y8k;ixC;w

   Usage Counting  水利图书j'?u#|s(IC%YL

2tW L6Yl{q2gm)h0   Security  

nLp hL4]:bc0

r;`%k1?:Y0  A Process’ Kernel Object Handle Table  

B[\/_3M6qV0

t,Q7\.n$R9jNJ/h0   Creating a Kernel Object  

kj#m9t&zc#qr0

{ Hou"Cfd0   Closing a Kernel Object  

0?Y(HDa kwJeRg0

g0dhhW9]%Y P9S0  Sharing Kernel Objects Across Process Boundaries  

+]p.Z7T k0

@K9S&ghR"Cu k)` ~0   Using Object Handle Inheritance  水利图书e)I)a Kt^#r

水利图书n8j6^:Hi~n6_

   Naming Objects  水利图书HX8l;{$@d

水利图书|4Qp}X"r|X

   Duplicating Object Handles  

3Vj:AuAS0 水利图书6N:g.a7D k

Part II Getting Work Done

$J*]PPWV0 水利图书8Y,_)r.M"S}

 4 Processes  

[J}A3\,h5g)J\/]0 水利图书&N |3E id/A#y hE1U4]S)U

  Writing Your First Windows Application  水利图书C| lt+CN

5Bg/psO#h0   A Process Instance Handle  水利图书L!H F~"V5J-@x!p

c.|)A2b$j} Z@P0  The CreateProcess Function  

DjS~!Q{0 水利图书~!qs?JI\o6w5L

   pszApplicationName and pszCommandLine  

\A-C.` v*A)O+x0

9j+Z'Q%ffV0  Terminating a Process  

Q cx!lIc;Il#c0

"_eh'gwEu3Z0d J0   The Primary Thread’s Entry-Point Function Returns  

[My%n9z$U)D?!Y0

&C8e/x!h-L0   The ExitProcess Function  水利图书Z];KT _w,G

]lpSo K1~Xq1O0   The TerminateProcess Function  水利图书"}C'[&Xp?.?xB

wo,w)N^ \#g&V0   When All the Threads in the Process Die  

R!k`k4I0

1X ]w-K/^ DW;[ r0i0   When a Process Terminates  

:K s-x.{\,]f/zho0 水利图书EW {~pE

  Child Processes  

.Bo4Q+z Z`0

V]9l};T!q(p0   Running Detached Child Processes  水利图书c(e/? Y Ij8G

+Ba ?4gA#`,M0  When Administrator Runs as a Standard User  

_ gB j`S$v1I0 水利图书,gabRL-D~Z

   Elevating a Process Automatically  

-F.|ks@ d0v0 水利图书m3nv;AR.s*n

   Elevating a Process by Hand  

t7J c(g dlQ0 水利图书9?7`?oC(p

   What Is the Current Privileges Context?  水利图书} N'@R;m%}4Wl

水利图书MDNt;X4B\k+G3x

   Enumerating the Processes Running in the System  水利图书f8] q |1R[|?b

水利图书@ gQ_lRb&h;z

 5 Jobs  水利图书V2f3W|8a1_#Qz'o

oK&s(F7_@FkY0  Placing Restrictions on a Job’s Processes  水利图书ga*P+X^4}'jn k wg

水利图书%n Tf0t.G qN;f.W ?

  Placing a Process in a Job  

'sq8AQ O:V,^0

Uf Q._n.I)i5p7n0  Terminating All Processes in a Job Querying Job Statistics  水利图书.G.S IBd'B2s

g$[i*J \k0NpP0  Job Notifications  水利图书"o{`!RO9o4Y

h4i$WfG#b-w9gJ0  The Job Lab Sample Application  水利图书6Lj#_%K~k

水利图书.n-v ];H;n5p&I1i M0E

6 Thread Basics  水利图书:J$v1Vp W*T

V0C+~,j&m!N(i/u0  When to Create a Thread  水利图书%|qB-Eq~n~

水利图书Ur[xt d

  When Not to Create a Thread  

@$@K&K-sq7U*R.v@JO0 水利图书2NNp;?5W9miwZ3ev

  Writing Your First Thread Function  水利图书n8?\+Et1Lw

)X U!M5S-R*gby'J0  The CreateThread Function  

.E#TK$Y]X3U0 水利图书C]x;]}g0K.E

   psa  

OiSY"lX0

'P` Oa'd rCQ1]0   cbStackSize  水利图书'?{J.S%U9_

水利图书{:fzSL

   pfnStartAddr and pvParam  

I-WMp[ s6O0 水利图书D A2t1L!J)V-^.r

   dwCreateFlags  

&uYX8TpZN)Jp0

br*it5jy}6g0   pdwThreadID  水利图书L'e,J+y"g1DV$m

'lT%Tg,S w|0  Terminating a Thread  

gff AI0 水利图书Ce kHb

   The Thread Function Returns  水利图书2N Q&~l,E2i[2k

水利图书+K*V4r"T9d3`s

   The ExitThread Function  水利图书)}!` F'l/TI

%T.?)Q6~MAt0   The TerminateThread Function  水利图书qH|JC.Q

%}f``#Kt0   When a Process Terminates  水利图书e+a3[bY ^!L%LA

水利图书!B,f_X#Kt

   When a Thread Terminates  

!`6M*gW[^0 水利图书El4?xe\0p}3[c

  Some Thread Internals  

'f&~SR7Iq(Jp,dn4Yg0

z"}memY\WVD/kQ L0  C/C++ Run-Time Library Considerations  水利图书8Uei*f@8~;U

水利图书/PB*I1]}D/r,Y

   Oops—I Called CreateThread Instead of _beginthreadex by Mistake  水利图书/tG#L,[/e&h+AT

C.Rrcsa l0   C/C++ Run-Time Library Functions That You Should Never Call  

? G H"@HL5w(G7O;D0

&e|AY i et0  Gaining a Sense of One’s Own Identity  

t*u'u:trQ Y@.ad~0 水利图书}{s}7D$W5n7l

   Converting a Pseudohandle to a Real Handle  水利图书*`8c/]*yC3s

qIHl B!j O b07 Thread Scheduling, Priorities, and Affinities  

v.}!Pwi4zQ [E@ i0 水利图书r$U}.P-v:cynoF"A

  Suspending and Resuming a Thread  水利图书3t(upScW

水利图书E4x8l1w,ama"RQ

  Suspending and Resuming a Process  

A%CW2hM2g;^9j0 水利图书2Y HY@r t#bb n

  Sleeping  水利图书r4_2l7k ~

水利图书j#h;R3N2T^evj&_

  Switching to Another Thread  水利图书Ti2h _ RB

)t#kK8USv N {^0  Switching to Another Thread on a Hyper-Threaded CPU  水利图书D!QQ,@&p2v0C0Fyz

]pi3e0E2]\ q0  A Thread’s Execution Times  水利图书 KA7Bp^

1sdTZ:C2\ m C0  Putting the CONTEXT in Context  

"a1^RyN5Li0

*}y3c IE4|0  Thread Priorities  

^ w^O` rS:Az0

.` d [&X?0  An Abstract View of Priorities  水利图书8j b i$v*I'HOE9g.[:W

3T]Up-`!W%c0  Programming Priorities  

e jCB1k X6e"fzn0

xNCPv)~&i-__'rY)^m0   Dynamically Boosting Thread Priority Levels  

$_ytaC@n9k1j TLw0

bva$zA-^"I1ABz0   Tweaking the Scheduler for the Foreground Process  水利图书T}(\sL M z{

+myY3v,n y0   Scheduling I/O Request Priorities  水利图书gN4hXxi9Lu;IuZ6w

水利图书D(U(E*KfD*QOB

   The Scheduling Lab Sample Application  水利图书;~:E*Jr#ln,H*{*N

水利图书H2kNVb CC

  Affinities  水利图书J-l V7xN0^yY:A Hm

;e+y*tY0y1I08 Thread Synchronization in User Mode  水利图书:x-F`)gq.v,Q(Z@y?{

水利图书6Y&I9`w3L$w

  Atomic Access: The Interlocked Family of Functions  

(R4{a.y d#a0U#B0 水利图书+B5W.tw5|7qg

  Cache Lines  

f4d+W_.r:YzZ8v0 水利图书,z l4y(z }1|G'cer$G

  Advanced Thread Synchronization  

^'E8Os SDb0 水利图书3p1h eR:~e'xn8b2v

   A Technique to Avoid  

4}%iQ6j)u#fR}0

.Ey WL {g&f d0  Critical Sections  水利图书v*D V6[ Yr;C@ PT

水利图书| XT3Ec$yJ]}

   Critical Sections: The Fine Print  水利图书 FVi UV\:\.n O

水利图书O[zK UD

   Critical Sections and Spinlocks  

G0^] tW$_L-L0

fu)y?z*R,b0   Critical Sections and Error Handling  

a|apb2X[&p0

NPH+n-k)t,K?5uz0  Slim Reader-Writer Locks  

Yr'NX7s&L0 水利图书+K$BW}`I3LQ'U

  Condition Variables  水利图书$h[8i9w0_h;].i

^.U)Y&C3`^;mh-O1Q0   The Queue Sample Application  水利图书$lzQ q/` R+|;Y

r!l#V4oZr3XG0   Useful Tips and Techniques  

"x)tIi*h:\-s4Zn0 水利图书.].L`*?%d!{\2T Z:`

9 Thread Synchronization with Kernel Objects  

t Dg;Gn Mo%R5c0

]jv)L5[&N.k0  Wait Functions  水利图书)[Na4?4F(|8}

3Rvx~T)C)y9W*~0  Successful Wait Side Effects  水利图书3A;Z1rx H*R OU

B cM \0A4e0  Event Kernel Objects  

,Vq hb+Ux7rb0

;I2Q[Xo \0   The Handshake Sample Application  

2n"q(^U4jH%H0

_'AmG"d'{0  Waitable Timer Kernel Objects  

J|%qk GJ0 水利图书Yb5r0J&N$q$_n

   Having Waitable Timers Queue APC Entries  水利图书M-~!TI)[t_hE

水利图书[t(Ik_;[S

   Timer Loose Ends  

:R2HlK/h6x0

?S}-hN0  Semaphore Kernel Objects  

3j1}ic;U9kB0 水利图书H&D+]?l

  Mutex Kernel Objects  水利图书D6M6VF w

E ['` C5m0   Abandonment Issues  

PPu&g,[s3t/b0 水利图书h YcGL

   Mutexes vs  Critical Sections  

9]9b/o6Y9Z N[8k)__0 水利图书+u8i)A&|v;^rx

   The Queue Sample Application  水利图书^Olf![} NS5|

水利图书b3W? kx

  A Handy Thread Synchronization Object Chart  

] N~Wm%["~h0

@8Y x2^U ]j ^0  Other Thread Synchronization Functions  水利图书|m0m,rp%dMdF

水利图书z u~?*I8v#J,wA2cN

   Asynchronous Device I/O  水利图书q Ow5J-fWy-v u

水利图书1g'aw5h+yQ/Y c]_({G1M

   WaitForInputIdle  水利图书\B-`n8CE J

水利图书vb8F#L V*Oo

   MsgWaitForMultipleObjects(Ex)  

Iw)Cmfo8?5gr0

%v!b)XO&p/n9R"v0   WaitForDebugEvent  水利图书%\fgV$Qr}?m

水利图书 C(L$b s ?3trO+m1u i

   SignalObjectAndWait  水利图书4esb&?oD2W

I+k)o[q0   Detecting Deadlocks with the Wait Chain Traversal API  

c9Y/W;BVJ0mK9B0

VON.VKEHK010 Synchronous and Asynchronous Device I/O  

]MDb U P s0 水利图书| \J_Kg juh

  Opening and Closing Devices  水利图书|D-it IG

S`V`1Nx0   A Detailed Look at CreateFile  水利图书6A$MT3bp Q8q W

#{U0mC xC0  Working with File Devices  

1_:\7o2|HX'{twL0 水利图书vCr'H L-SL

   Getting a File’s Size  水利图书/Hb!HW F&H

水利图书AWWd]r%v)D

   Positioning a File Pointer  水利图书&G:?*p/m9WH _@,j-X

*K9W/`%D!L3w]R0   Setting the End of a File  水利图书 ? DO R+zb2U

j(gJ8s'?-H#L{0  Performing Synchronous Device I/O  

qdyj&|G-]/vdP0

$y+Ybq-P-uH2Z r0   Flushing Data to the Device  水利图书u LO6y7{(q6yA

水利图书e'qx9[W;J`t9G

   Synchronous I/O Cancellation  

5C;L?(r~Yy-}?`C0

a#Qaz9V_0  Basics of Asynchronous Device I/O  

JN1c0P'`0 水利图书{?6R8qCr,_8e

   The OVERLAPPED Structure  水利图书9ar)yzwX3ay

水利图书Icu6Wp7Pny~{

   Asynchronous Device I/O Caveats  水利图书 krA/GB)H] q H

f*p&QN/p0   Canceling Queued Device I/O Requests  

lo2Qmxg0 水利图书"dp[WY7fa

  Receiving Completed I/O Request Notifications  

6g2c{G;`0 水利图书}h~UK qo$L

   Signaling a Device Kernel Object  水利图书(T*}n5m)G1H

"kT\} ^A}w*qy0   Signaling an Event Kernel Object  

\ntoLx0

R_#]5wb`Q0   Alertable I/O  水利图书w)Oy%aM.N5eE PoS

l,V]%q&Y sQ T0   I/O Completion Ports  水利图书&_v2f:KN4JPr

水利图书CCSc:D-r

11 The Windows Thread Pool  

It*ql+X0 水利图书.X Iawm$b

  Scenario 1: Call a Function Asynchronously  水利图书9f,rSF.y TO9Gd

水利图书H2b5d1Tz2j0B'x

   Explicitly Controlling a Work Item  

,R/j})Q{N8L$M0 水利图书6Wk,K uaVV

   The Batch Sample Application  水利图书8?5U#m3n hxC._

水利图书&h'f U!O?9@BE9e

  Scenario 2: Call a Function at a Timed Interval  

#bN;rZI*C0 水利图书L@l[]n.[4wPM

   The Timed Message Box Sample Application  水利图书4tg;[ i8A(@4n8j

UfYc;r L@B0  Scenario 3: Call a Function When a Single Kernel Object Becomes Signaled  水利图书 c K0NzPQ(?

;N{dmP|JB0  Scenario 4: Call a Function When Asynchronous I/O Requests Complete  水利图书eHJ^0F^1H

水利图书e x;F4K|z*f

  Callback Termination Actions  水利图书 x%I!]? Gp5Z[

水利图书XNeH)g;[5]h5K e

   Customized Thread Pools  水利图书`#?y8~t4~C1H

qz w-Uf:f2P&\0   Gracefully Destroying a Thread Pool: Cleanup Groups  

Ce6HZ0@g4b0

/K D0P[aT3o012 Fibers  

1Pq@$@*c'k!H0 水利图书U+{,E X,Ycf+gq

  Working with Fibers  水利图书#D5C\4er2d'zO

水利图书#np:H0}.g

   The Counter Sample Application  

ud%x u"SsI g@0

7^;US@g4LQ h3m.g|0Part III Memory Management水利图书1R mt\c5^"G

水利图书Moi;L-ka,jK

13 Windows Memory Architecture  水利图书+iF fwo2d

水利图书,iW VzFt

  A Process’ Virtual Address Space  

8uf }[8a \0 水利图书af2Xc+yC*LJ#mg2T

  How a Virtual Address Space Is Partitioned  水利图书bS:tk1Ii/J

水利图书0~H R k @3BJ

   Null-Pointer Assignment Partition  

.a&oM_K1f9sS0 水利图书+Y6o#WXQ2Q*E%P

   User-Mode Partition  

K HRYG1x4h$x0 水利图书)`/|XHu5h8nn!L5X

   Kernel-Mode Partition  

:hpH0QAK0 水利图书)P h{ Fi/`Y

  Regions in an Address Space  

ZT ?7o]_z0

c.c&V7ibQ"t0  Committing Physical Storage Within a Region  

@{|(mMy!L0

K'C$JGe^v$\Uh'? ?0  Physical Storage and the Paging File  

3E N3cX~)Bz0 水利图书:a3v2F{*i1Q.H N

   Physical Storage Not Maintained in the Paging File  

N2R b}iY(\,@X0 水利图书{gE$_M'K f M

  Protection Attributes  

/d$f&t+UGX0 水利图书2]8o#@.^!~}Oc

   Copy-on-Write Access  

6U F1R r D_BI*s0

gB lT8Th0   Special Access Protection Attribute Flags  

4?9WD(q?f[;L0

m0H+a }8Ss0  Bringing It All Home  水利图书ku7lO I]"j m6J%}9Y

水利图书/mt:dy K&e

   Inside the Regions  水利图书3p'{*btz9s

水利图书u n9JI2W2H

  The Importance of Data Alignment  

p[(ujj?3q t P]0

#CxA QI^ n!R'xW014 Exploring Virtual Memory  

!L,m\V6z#@:N-U0

:z2_+A [5T{K0  System Information  水利图书#ePP~"Iu0d A2gQK6Z9\

水利图书,hO+ry | X)S

   The System Information Sample Application  

q$G6@X QCH0 水利图书ge*C4B4y |p)r1xq

  Virtual Memory Status  

8nqP3BF A t*J0 水利图书nK-gU.@S l;W]/^

  Memory Management on NUMA Machines  水利图书9Vg+I)~ ~Q2K

水利图书`R]5XS y/[

   The Virtual Memory Status Sample Application  水利图书:`$k:A+O:Dp j+EBC _

}?&m:h"r,q&Ttg0  Determining the State of an Address Space  

/_G_8D6\O0 水利图书6g)j Hh'H"BK{q

   The VMQuery Function  

)M J2F e,?0

q3l3Q@TQ9_0   The Virtual Memory Map Sample Application  水利图书C U#c$\*o)no?

水利图书$]\w.J F.W B(o*_

15 Using Virtual Memory in Your Own Applications  

U6[U#OqG0

B2P`A Dn S0  Reserving a Region in an Address Space  

h~X&W&s.Zu0

S OB2ixa-[p0  Committing Storage in a Reserved Region  

\6jstd'Ct2a)Z s0

j"aEt8K"y0  Reserving a Region and Committing Storage Simultaneously  

AeWz| M0

7U8Wvbt#n*[ Z7@0  When to Commit Physical Storage  

E&K%a#[h-Qgn0

(i|'MMc | A0  Decommitting Physical Storage and Releasing a Region  

k6D%?#K](T1V/u0 水利图书 kS"q:HX+{l G"f8}r9H

   When to Decommit Physical Storage  水利图书0u C)z$Gi4` c

/p/^2~|h6\4Z0   The Virtual Memory Allocation Sample Application  

lO?:E"h\0 水利图书b^p~!U.U&S'K

  Changing Protection Attributes  

w3SY|.d m9b(c}0

O}(E$]W2?Ly0  Resetting the Contents of Physical Storage  

,W{d9z]{W0 水利图书5qY.B.k2K9^3C2En ?

   The MemReset Sample Application  

^ \H~F7[5T0 水利图书5A N{ o(a$Qt

  Address Windowing Extensions  

G.K7E:`#l0

RV:^*@wx0   The AWE Sample Application  

!y/wl&k8BOm5d0

lFlg%R016 A Thread’s Stack  水利图书7K8Kn6Nj"R0X

#R C-N7yn5c$V:n f0  The C/C++ Run-Time Library’s Stack-Checking Function  

f8r$D[3b1^P&Sd0 水利图书%C_ k$i I H6S|

  The Summation Sample Application  水利图书_ T![._ \ wh

水利图书8Q&g{!csy

17 Memory-Mapped Files  

k0iy9sD,c0

t5pqX R5Q_+G%l2\xH0  Memory-Mapped Executables and DLLs  

0J|v%w%XZ&K._J0

@@7@heHG5z | K!p0   Static Data Is Not Shared by Multiple Instances of an Executable or a DLL  

Q9E1d-N hdG1_z0 水利图书eA+e+}@"?

  Memory-Mapped Data Files  

}%w:cC8S'qI(sJaV-G0 水利图书6n(d1}P9I9bwtn

   Method 1: One File, One Buffer  水利图书/p\q[6m.Df2H]O][

水利图书sY8}Qdk

   Method 2: Two Files, One Buffer  水利图书3S-tj2XR/f

B@W QD0   Method 3: One File, Two Buffers  水利图书U\n |^ l?

水利图书AjV%d#^4x

   Method 4: One File, Zero Buffers  水利图书J4AE,@ \@

水利图书 w LKMDv

  Using Memory-Mapped Files  

|Q-ZAx4zZl;S0 水利图书%gq1JL;_$j

   Step 1: Creating or Opening a File Kernel Object  水利图书s4s8u'`/~"cs

V oV Ts4C&z&`0   Step 2: Creating a File-Mapping Kernel Object  水利图书3Zi V/U-|s7k%uh

水利图书qQlSD)JL#j,Tk

   Step 3: Mapping the File’s Data into the Process’ Address Space  水利图书e8b!p%M#Z.O_

o3_:u.lT n0   Step 4: Unmapping the File’s Data from the Process’ Address Space  水利图书`r#G+pa~*a/R

o8A1h ZA s!z3i-` V0   Steps 5  and 6: Closing the File-Mapping Object and the File Object  水利图书}9FfQ M

!H9u)L*l:up0   The File Reverse Sample Application  

N@'@"}h};p"w[0

s9q u@~Of0  Processing a Big File Using Memory-Mapped Files  

*h$S7ONEWt W qE0 水利图书 k\Mb]![D

  Memory-Mapped Files and Coherence  

+|]2G^NF^7HD0 水利图书/U:l`N0H1jc

  Specifying the Base Address of a Memory-Mapped File  水利图书I!]B1|l]:f7g

z5VX1D)V;~z6SA)K5ky0  Implementation Details of Memory-Mapped Files  

-Cz-w|/}E0

4G['J6UP{{@0  Using Memory-Mapped Files to Share Data Among Processes  水利图书6}9H Ot;kjj(gn)a

5{7n6h%A1]0  Memory-Mapped Files Backed by the Paging File  

ASL&py!a}+F0 水利图书vu@YW~JC$B

   The Memory-Mapped File Sharing Sample Application  

}Ytl qjb0

"_6Y4j aF!_M)_{0  Sparsely Committed Memory-Mapped Files  

W/l+x j1yLN`0

4n S],E R8CfK E0   The Sparse Memory-Mapped File Sample Application  水利图书#Srr zl ^ Q

水利图书4S&{ |~a(Oi

18 Heaps  水利图书,A&Q^c7Pa;Y8C$@A

水利图书-R u `+\6G0@

  A Process’ Default Heap  

dq;u&L)X7pD+Z0

u"w W T] T1j]0  Reasons to Create Additional Heaps  水利图书g0_oE'L aT

h"MK(|hh9x;tbL0   Component Protection  

z%G8m[j@k @0

g)A&?.TQi1Bu` V~0   More Efficient Memory Management  水利图书+HH9f K0Ch/k

水利图书[c-~ D'F%Wa.?

   Local Access  水利图书 Qi;oc'T

水利图书T rg"Pf1ZoX

   Avoiding Thread Synchronization Overhead  水利图书t H)EV*m.E

水利图书!Rl9E:Eeo:T1? y

   Quick Free  

G.T6{ dxZB5mzi0

Jy*e|X q{oN0  How to Create an Additional Heap  水利图书"cK3Mz L)X$w4]4H

水利图书'tx:q-?&e3L

   Allocating a Block of Memory from a Heap  水利图书C__6\*W G#x P

水利图书 g%^ XyulO

   Changing the Size of a Block  水利图书o3wo*{-I-a'y

水利图书7W ]P)L+JL^

   Obtaining the Size of a Block  水利图书(IY,pgw2QEHS:~

(f*g { t3Ft0   Freeing a Block  水利图书!VT J!iS0b9SIk

水利图书Ep.Z J*m(K0C.p

   Destroying a Heap  水利图书'U6b} B5Z|\\

!M o2? NJ9g8M0   Using Heaps with C++  

D+_H"BMc$c@0 水利图书`Z!CJ)r.|gld

  Miscellaneous Heap Functions  

^}3rGl&d8f0 水利图书6c c&j*M@3dJ)m"o2P[

Part IV Dynamic-Link Libraries

8Yq8~?W*B0 水利图书B ?p"l+Q

19 DLL Basics  水利图书1y"Wxk4S-S k

水利图书b^M G,V:_

  DLLs and a Process’ Address Space  水利图书Q^sX)@w~

7`oY3R k"HY0  The Overall Picture  

`XkIs B!|.N0 水利图书F([ Ex2?]6M,f!T

   Building the DLL Module  

1M6WM#F7q:|4ov0 水利图书Z*q E*fT0J:mhs

   Building the Executable Module  水利图书LZ2v7]-m,FizC

wX0@!AO)Yf0   Running the Executable Module  水利图书G9RC!R1p7g*]

水利图书 NP)A[\$i+cESa E

20 DLL Advanced Techniques  

+@~%f3wW ~0

o RY(_rN"P6E0  Explicit DLL Module Loading and Symbol Linking  

Y.I-[rOZ~(_0 水利图书"{1C5opA:qY9FS{

   Explicitly Loading the DLL Module  

)@?"nz CO;Vk)D0

I"Hzx5m0   Explicitly Unloading the DLL Module  

dRN9P(Iy0

;TJN)Kt(FJ0   Explicitly Linking to an Exported Symbol  

~Bl"_WC'v0 水利图书7n)Q$?-|0z

  The DLL’s Entry-Point Function  水利图书M,U&Z#Q1B~

T.uPxC|dkw-I0   The DLL_PROCESS_ATTACH Notification  水利图书9JMy__@

水利图书aj*M6? ~ra

   The DLL_PROCESS_DETACH Notification  

&y:`9LZ d\ b0

!K$S] ?f4wJ0   The DLL_THREAD_ATTACH Notification  水利图书)@wv-b5^)s+d/TZk;\

水利图书4D!Sa }&sjX*l'S

   The DLL_THREAD_DETACH Notification  水利图书nT Z8B7a Z7yq

U(@Y:| bO0   Serialized Calls to DllMain  水利图书L7{s4o-y+M JP

2D3wt!F$B1XV#ye0   DllMain and the C/C++ Run-Time Library  水利图书w(T u$s2@`,S

水利图书(}{IgA~9}

  Delay-Loading a DLL  

0e'o M&p G m O {,m[0

hloV Kk`9z0   The DelayLoadApp Sample Application  

9zN!\ XX EW0

2b^$r'~wM0  Function Forwarders  水利图书-]D*Grvf(j

水利图书]Z:Er'q8A l7`

  Known DLLs  

lsG Sfd9q9n0 水利图书9L"[Z6oL*mUJ

  DLL Redirection  水利图书4vF.j [t T

S9i W y n+kl9nr0  Rebasing Modules  水利图书pr/R-E-|"[

.DB"A BD/I2t/xq0  Binding Modules  

2N zt3T#sl)N'u*F0

FI$o:\9?`+QOmr021 Thread-Local Storage  水利图书z;`'Cf2g%T3W

水利图书)k*N(Bx E&gNM

  Dynamic TLS  

%G _&l Sh P{Z0

pO#{)@ xg0   Using Dynamic TLS  水利图书#q9Bp6pYP$u#K5]

T2za\Ply`tJqz0  Static TLS  

xl7baX0 水利图书8WU8C}s

22 DLL Injection and API Hooking  

&]?` _8g&y0

Q!YZ9i d3id0  DLL Injection: An Example  水利图书 a@kr[Bd6H a|

G J B;^ ~ c7R0  Injecting a DLL Using the Registry  

1v8R;j#r"b9L{0 水利图书"\6Qt,}'rq qj2p

  Injecting a DLL Using Windows Hooks  水利图书B V4J s6l @

水利图书 l"vd*`&fy

   The Desktop Item Position Saver (DIPS) Utility  

nc#sm O^)Dc0

!^/\/FCq0  Injecting a DLL Using Remote Threads  

&mb6h kv!I9ij0

? yC*n$z*kQ0   The Inject Library Sample Application  水利图书+g{(ZZ1wT!a`

水利图书3~9r P

   The Image Walk DLL  水利图书2T$_$w&u5v

水利图书 c)? @7t8j_

  Injecting a DLL with a Trojan DLL  水利图书DSB3fs"tq

水利图书6ib/@)FKn

  Injecting a DLL as a Debugger  水利图书6i` ORN ?Z e:aV X

_}_;M!zH#^ F5y)X0  Injecting Code with CreateProcess  

nJN%] N2s D^9n0 水利图书.A9re5o(WR$Q

  API Hooking: An Example  

1j3f c.M(O&yE0 水利图书7V`3?&j+c}~\

   API Hooking by Overwriting Code  水利图书~ B@:P,W r@

水利图书 J/ny'O2RJ{v v:V

   API Hooking by Manipulating a Module’s Import Section  水利图书\ lY8D H1b ?6c

水利图书 b3H V~c

   The Last MessageBox Info Sample Application  

n3G6kga6J/W Kt0 水利图书 L k\A0Np*QR$[lg2C9d

Part V Structured Exception Handling水利图书&Q9z Be6iS*qS*M@

水利图书 E;lg3fZ

23  Termination Handlers  

zvZP H/\0

r3Dg#~ J3F8@0  Understanding Termination Handlers by Example  

e&_7K(f RW0

:c6O"O9O]zb2[5j f }0   Funcenstein1  水利图书K,~#E6H^lj

水利图书A-Q m8Fh:^

   Funcenstein2  

/}y'j!Xh/]Ah0 水利图书 n#~2p9J9sl

   Funcenstein3  水利图书)E0r.P(](X6aHh

水利图书r2mm0qn

   Funcfurter1  

.~-bm&M\vx {(W#HN0 水利图书UD(_9ry0{'N

   Pop Quiz Time: FuncaDoodleDoo  

fL6vNMq\0i0

ry!N7ka5QN0   Funcenstein4  水利图书&q%W Qb)c

水利图书W+~8lc"F.u

   Funcarama1  

;O,K!m!{B4R6xH0 水利图书0Mc[3@?E3H#? V"Y*h

   Funcarama2  

#BJSw#u]!b[0 水利图书h[X*dura*e

   Funcarama3  

uVN4['o)MP r!{U0

3ex2R5x2be$Eg/{i!i0   Funcarama4: The Final Frontier  水利图书,e&Ki:t.M

7Q5ou$W:]0   Notes About the finally Block  

(UVP4EQ3qs6A0

+NZ/}1`6IK0   Funcfurter2  

I O)Rz5@0

C2K0p7]5pMC1B0   The SEH Termination Sample Application  

5TS SH:M"nN"X0 水利图书5w u&hl#g,Y

24 Exception Handlers and Software Exceptions  

A6b/OgH0

P FfLnY A9I#n!w0  Understanding Exception Filters and Exception Handlers by Example  水利图书r0Z2mB8y4M

水利图书*T` P6j;nii8v-Ee3]$@

   Funcmeister1  

h@2bn9[M z0 水利图书9Z6O7srV

   Funcmeister2  

d}.Ioc?0 水利图书 nmI$?x)}3O

  EXCEPTION_EXECUTE_HANDLER  

U zhs di+[0

?mn{1c5aq0Y0   Some Useful Examples  

&z A4I.CsfTY Z ~0

Ub#_$P p/A?*I1_0   Global Unwinds  水利图书.f_wJS+S%G_ x

水利图书X^zUs{*T.a5W

   Halting Global Unwinds  

,FM5Z4m:z0

2b)Rs m$EF4J0  EXCEPTION_CONTINUE_EXECUTION  

j}z\F7tleV0

5X,U1_yB0A T/s`X0   Use EXCEPTION_CONTINUE_EXECUTION with Caution  水利图书s(l0[&O\`2f

水利图书-Ht2u?1Fb.^

  EXCEPTION_CONTINUE_SEARCH  

vK*Tw)E9x:m3Q0 水利图书H@2S!@6] k`

  GetExceptionCode  

C vwhI0

o$lAh,C!r`0   Memory-Related Exceptions  水利图书5j!V9H;Gx)TDx

?P.T6_Li+Xy~0   Exception-Related Exceptions  

Y$^rU*uh0

!W%y}wx/}b0   Debugging-Related Exceptions  水利图书X*dI2}It c

[ eRl|l0   Integer-Related Exceptions  

k!c1` CGwk0

xy'K5N%P;jWb&Ju6@3J0   Floating Point–Related Exceptions  

I S_)P?*{0 水利图书8jP"J(ET8AVE F_:N

  GetExceptionInformation  

`'RX V7bbb4Nb0

2xV`C2[F0Gu%V0  Software Exceptions  水利图书P"e6[(_zs

水利图书 FcwK6FZV6?

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

&dCo}`?0 水利图书1n.\ G:w0Co

  Inside the UnhandledExceptionFilter Function  

bn'x'U'C{NU0 水利图书 f J;Qo fZd

   Action #1: Allowing Write Access to a Resource and Continuing Execution  

.B ~:}nsXJ%vZ:UB0

o-\;to9Mka0   Action #2: Notifying a Debugger of the Unhandled Exception  

(~Wz.dj0

X}(c JR1nCAY0   Action #3: Notifying Your Globally Set Filter Function  水利图书D6FJ&Q3s Ed

水利图书MsY:c dd`U5q,S+T8Q y

   Action #4: Notifying a Debugger of the Unhandled Exception (Again)  水利图书*P(`r0nW4ft

水利图书j'bR MMCg6X:F

   Action #5: Silently Terminating the Process  

G4K{'h_;Bg]S0

,^{8d9A8tA0   UnhandledExceptionFilter and WER Interactions  

T|(`s6osYF0

N} H6b8u;MK0  Just-in-Time Debugging  水利图书0q"kc#X9u N-jO

水利图书4Fh*]tl*Z m:xL

  The Spreadsheet Sample Application  

5Cd YMqiP0 水利图书lx_v'Y

  Vectored Exception and Continue Handlers  

2n |N+xz0

,jq']E/d#xZ0  C++ Exceptions vs  Structured Exceptions  

t N?^7x_0

'dJ,~J5CY~#X[Z*I9B0  Exceptions and the Debugger  

/B-ll(d.N7Y i9G(L{0 水利图书 p8k*O+O7d3e

26 Error Reporting and Application Recovery  

W:p ~"},^ p0

6Xupg8c0  The Windows Error Reporting Console  

0c]y q ^T ]:Al0

S{ n,F V gu0  Programmatic Windows Error Reporting  

r-p[yI6t0

:j5B*Y{ ees'X0   Disabling Report Generation and Sending  

D z E dRP Cb U0

(o9\%@0t*F0  Customizing All Problem Reports Within a Process  

eyk(XP0 水利图书*@1Y H;B9M/L

  Creating and Customizing a Problem Report  水利图书g9K.M |a;@#{;\:q([ d

PK]8r^{0   Creating a Custom Problem Report: WerReportCreate  

M+[4}8z"I A0 水利图书hC.rj5@i+c

   Setting Report Parameters: WerReportSetParameter  

9I3Y8h yOe0

0@uIvD-K:j0   Adding a Minidump File to the Report: WerReportAddDump  

%Wt)I8S?FJW0 水利图书{Ad"`trQ i

   Adding Arbitrary Files to the Report: WerReportAddFile  

ExE8n2G;Vq*FGm0 水利图书K%a W:D9mJ3O

   Modifying Dialog Box Strings: WerReportSetUIOption  水利图书P!s5g/H7T-o

水利图书)GS$qkC3L%vY

   Submitting a Problem Report: WerReportSubmit  

6rF6Y {Rc[ V0 水利图书0B%U'\ xf"G

   Closing a Problem Report: WerReportCloseHandle  

Gmt9c}"?P.o-|Vh0

,u,k,? Tg?+Bf0   The Customized WER Sample Application  

ea(?0X N_5k.c%a0

e7UAhH8m0  Automatic Application Restart and Recovery  水利图书!}'p_"Yk.v \'N[0K L

5|.As)D O uy-R0   Automatic Application Restart  水利图书]:\0n gGqW

7i7I$O}7rb"L`0   Support for Application Recovery  水利图书#bq8{)sE0i Py:ph7@

E$FPD1q0Part VI Appendixes

&LiGh2y+_oS0

cF#w@:N,zR9G0\0A The Build Environment  水利图书Lx/X"G3b[m}'C

水利图书p(J.z;wW(iC(h`s

  The CmnHdr.h Header File  水利图书#ug&EWMDj{b5E

水利图书b!D_'?4noS+Q2J ~

   Microsoft Windows Version Build Option  水利图书9_AoB$U.ZO

!@1o!pr/wu0   Unicode Build Option  

)s0[U1pl\0

@ i\5z)co0   Windows Definitions and Warning Level 4  水利图书0RR1^ ZvL$Zt

水利图书OJj}$I9D r"Y

   The pragma message Helper Macro  

B[7\V2_,x_0

x?+uOk)Fyb0   The chINRANGE Macro  水利图书g;BC3RP'D

水利图书)X~ O eG!@Z2E q

   The chBEGINTHREADEX Macro  水利图书c%QmK7g5z"oOt

n)Hq$pP R0   DebugBreak Improvement for x86  Platforms  水利图书x I }I:Y}S'?

GV9|Q+R[&Hw4q4Z&W,D0   Creating Software Exception Codes  

3\P'b$E:@0

)Jj.I&S7TVL0   The chMB Macro  水利图书0I @+q+wGr4zn

水利图书V:VS+r`}

   The chASSERT and chVERIFY Macros  

jFiHS9N9{ V0 水利图书%d;} S.C;i5Jzp7z

   The chHANDLE_DLGMSG Macro  水利图书K/HZ;J3E*H6Yk6z

'W9\ SC h C#n3B0   The chSETDLGICONS Macro  水利图书U L$vbeI*F,R I

水利图书#c0BO$?E2j z4N

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

$E5ptq Ib d0 水利图书|MN5MAu6p4EC

   Support XP-Theming of the User Interface with pragma  水利图书K!T5X$k~6V0xQ:Y

(~|W__Iw0B Message Crackers, Child Control Macros, and API Macros  水利图书~`7U,E:K%f@|

水利图书)it)j?6|5Nh

  Message Crackers  水利图书B'B$OF q

VU/rCppt0  Child Control Macros  水利图书 b ZBQrIe

水利图书olSBE0e | s|1s

  API Macros  

m _"X_7K$W0

8DH;BI(}]pF0Index  

vW*U$N;E6|#j0

A @k l0Am0书摘与插图

;Eo5TIl2rbD;[u0

Wj a%]ck9p4X'P0水利图书Y9\6K7y z#^

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

水资讯网广告招租

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

广告投放

广告投放