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

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

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

-g3]%XI bF`d6c8T0Windows核心编程(第5版英文版)

!R|;R6O i@0

_ RwLW(z0正在读(5人), 已读过(25人) |   放入书架水利图书w5DA/QE(Jt

iTI_U'Yk E0丛书名: 图灵程序设计丛书

q T:DG)VJ0

Y0K&ID2g%RL/o0水利图书 Gj1Q#t*vF

水利图书t^kUs:w%B

作  者: (美)里克特,(法)纳萨尔 著水利图书$li.B[8WBQ {/?@

水利图书h d~6p2o0vE

出 版 社: 人民邮电出版社水利图书 lYU+S c

水利图书1] n3`e4P1E w ~Wi

出版时间: 2008-8-1水利图书J[x7t)KVd

水利图书J+h^-UL2Q6b,s K5Lk5?

字  数: 1013000水利图书0q P B*L$_-\0e ^hg

hhB!mX!h0版  次: 1水利图书[F_nR

#BNrU4v0页  数: 820水利图书6M}#{%Y$?;c;R#rDra

水利图书r2]3Z(Bz6`G;cV

印刷时间: 2008-8-1水利图书-W+ed3k+Wm&L|c d%X

GTS:wH6M/f3UfA0开  本: 16开

A4Hnd4`L;~0 水利图书B(`-Z#z7p `h2^

印  次: 1

r&U cPOsxB0

7_$Z&s?"V0纸  张: 胶版纸水利图书4S7C ^ U(LN,k}!H+N[*S

水利图书|$a+e5A i N

I S B N : 9787115182128水利图书!`1E#@:~!O%}6I,L

水利图书H PptQ:Y ^&kJ7n

包  装: 平装

] AE;j`1I"]i0 水利图书:m.t(\jt

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

/\7qT'U4A~)iO0

:I-q]G9um0编辑推荐

\9H+l:C L BZ+?0

-{+] FJ7fc/i R'M0Windows程序设计巅峰之作,新版涵盖Windows Vista和Windows Server 2008最新核心特性,Windows程序员迈向卓越的必由之路。水利图书aeE$IRP

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

4y#flKFayB-A-j0

^Ia/xrLG0c0新版做了较大幅度的更新。一些章节(如第11章)全面重写。其他章节也有重要修订,以涵盖Windows最新版本(Windows Vista和Windows Server 2008)的核心特性。支持64位Windows。代码主要用C++进行了全面改写,更加简明易懂。水利图书4f-N$\ m%r

水利图书]0?4xa,A*L

内容简介水利图书j ] |0W2F

水利图书` f ]fm'|"v u

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

QCb`|0

fxi7t^"Y7~0  本书适于各层次Windows编程人员阅读。水利图书h(F2JV8MPDZ5c\ v

%E(sbt#?1n6m|0作者简介

N#i-[7Z%Jl*?l s0

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

"E#^4t,SW&r}0 水利图书2N.r+]M~H.a

目录水利图书 g+`~ @/r(c

水利图书}n*xdQ-o3H ~)?

Part I Required Reading

G6cEVTp"o9hm{!z0 水利图书g\9kR v;Tab*y

 1 Error Handling  水利图书q-h2~zR8fZ

.o a2g3y[xS.}0 Defining Your Own Error Codes  水利图书,m!fI:D~A

水利图书xMP1u%YY+ev0|/o

  The ErrorShow Sample Application  水利图书u2l9L1yS1^"eZ#Hp

2Lh o7h9ml'{w+y0 2 Working with Characters and Strings  水利图书;{$|!D#N*op

h5?"yf}0  Character Encodings  

(z6lh5H)A vy+[(L0 水利图书+["@mXp(g"u

  ANSI and Unicode Character and String Data Types  

$xEX%]!uj0

"}4c8eKdK0  Unicode and ANSI Functions in Windows  

%U0slp"^b0

G+P*M7D} a!rf$p`#d0  Unicode and ANSI Functions in the C Run-Time Library  

H)f N7r7~0 水利图书-dZ EB&~on%IW

  Secure String Functions in the C Run-Time Library  水利图书7g r?S/`S

水利图书.UH)s|+m3KCH2A

   Introducing the New Secure String Functions  

8F8E6^z5Y0

9k)AX'`*OC;~I0   How to Get More Control When Performing String Operations  

{ oK%S?T0 水利图书(g9@&_+U U G]&[

   Windows String Functions  

g$zaa$d0 水利图书S:z5h-u W3rG9O1R

  Why You Should Use Unicode  水利图书2F2X5\xG{4mC

水利图书/p7cl%v1QN P6A

  How We Recommend Working with Characters and Strings  水利图书8~'QR6k Dz

水利图书/n8a&`,S^5be/D

  Translating Strings Between Unicode and ANSI  

2|v*K.g [)fu0 水利图书 n}n%jew

   Exporting ANSI and Unicode DLL Functions  

%bS.RQv!B0

p mJ!o[RS0   Determining If Text Is ANSI or Unicode  

oL?-Vq"NAN0

9x HxMoMY(z&p0 3 Kernel Objects  

K5p.h+C;Vop0

j*fjBlN;M0  What Is a Kernel Object?  

f3o k,g%aj0

f%_a$W%mRX4w;f0   Usage Counting  水利图书:{D8T k)B2s

水利图书 ?3{Ol g.A)|v1x

   Security  水利图书0Q-fgq,YLVC

4H6^ xF6@0  A Process’ Kernel Object Handle Table  

g%]#I&m1POUEi0

i|r2B5ZN[0   Creating a Kernel Object  水利图书w8^r7t.[${

水利图书z j!MFZaxtd

   Closing a Kernel Object  

]\/e&~:A3K3r0 水利图书7KM"CISk/L_

  Sharing Kernel Objects Across Process Boundaries  

|4xrsr+GZ r+_B0

r u,M6Sz.N q;} ^0   Using Object Handle Inheritance  水利图书[ |TP \7~E i X#]g

IC0ca~5w Kl0   Naming Objects  水利图书'C;@N+pUd]

^ A!w+t"b4|ww8]0   Duplicating Object Handles  

Wo2k1ri0 水利图书p|B juJ'c3| J/u/`'E,v

Part II Getting Work Done水利图书(F}Bq]B R

UY7h+RFO h0 4 Processes  水利图书:TD6?"O ]

lxv |D'H!~ i0  Writing Your First Windows Application  

B`![BS0

n$k:aoO_Y0   A Process Instance Handle  

/B^5N*N.KR0 水利图书'D6m^0pP,g+j ]2`

  The CreateProcess Function  水利图书oW!W SL Q2e`

水利图书'pGDR Tcn

   pszApplicationName and pszCommandLine  水利图书-lY z%S)fU@Ju,O$t;D

水利图书"C$D;|'x3A/w4Ow

  Terminating a Process  水利图书"e+W)kq!C7W2^W hm5i

水利图书N6\Gn1|9p5[ |'Y'z

   The Primary Thread’s Entry-Point Function Returns  

AL idt+j8u{8w0 水利图书F ?eQH#X:e+D2u3p

   The ExitProcess Function  水利图书:mSW'\ZGT[ d

水利图书 t$S2^7eU

   The TerminateProcess Function  

#_!J!t F-dk%G0

:fH6S!}A&Dz`0   When All the Threads in the Process Die  

ec-{rXg*u.K0 水利图书!R*IUF R

   When a Process Terminates  

\8|CF9|&j C0 水利图书K1o9aG[ e]

  Child Processes  

5o1? OSH0 水利图书W Uw,f|Bal

   Running Detached Child Processes  

GJ$p9wp*i0

1|N%L*F1C!u2VV0  When Administrator Runs as a Standard User  水利图书{7MR}Fl

水利图书Qk6K1FrI,{

   Elevating a Process Automatically  水利图书.W!?DBT-}_4Q

水利图书J*|P0T,o-j^%^

   Elevating a Process by Hand  

3|MIi l4]q0

R4K}F0S h0   What Is the Current Privileges Context?  

L?V/]vZ:f0 水利图书zppQ8ICr

   Enumerating the Processes Running in the System  水利图书CuVC0F'dN

0Uq s?t6@+PRV0 5 Jobs  水利图书(r9ynXB#wC8b`

水利图书ac3aaj6s0n)j H

  Placing Restrictions on a Job’s Processes  水利图书9hG1K'_'H9{:{

水利图书@iCT3Y _Zxe

  Placing a Process in a Job  

$u5N9^K j]F eJ&QK0

k UY2C8^7Z D9m&e;fjk0  Terminating All Processes in a Job Querying Job Statistics  水利图书E(@&_Xz7R$Iu

%? LC(?xM1q/GK$Jy0  Job Notifications  

hTm6T&d8I;Ow-e0

%w@ Y5n6e'B\ u C)a3f%b0  The Job Lab Sample Application  

1~#BvGGi0

+f[ V5K;K't.n\06 Thread Basics  

y6i rJR e)s JEt0

0SV+O6L`w7X,}0  When to Create a Thread  

KOV'a*Udc'ag0 水利图书'fuB#|omc[:J

  When Not to Create a Thread  

/w3sbq*Z0 水利图书7Fj W;r(bjx Q[4v+M

  Writing Your First Thread Function  水利图书M9R6yT;_i"wS

r&mR2PUJ*F5X0  The CreateThread Function  水利图书2x5Sp3z Q0u

水利图书'N#XP~6oIUzG

   psa  水利图书9Pa$m*po

水利图书9T0Ll"Z5HB k5W9L

   cbStackSize  水利图书-Hc\bA

Wo^!Q]0   pfnStartAddr and pvParam  水利图书BLu*CL"cr,?

水利图书*BP$B)O5sq

   dwCreateFlags  水利图书6N%T#`^2]Q,E2n'E'@*N

水利图书]T-\Vn

   pdwThreadID  

KC:[RYnW(H0

0?O}9]+p*\0R0  Terminating a Thread  

&c6I/V `W`5n(R0

0`8AE;o4[9L An0   The Thread Function Returns  

G)lZgf#OQQ0 水利图书,}0Lo]_^

   The ExitThread Function  水利图书hH @{u/J(p

水利图书~`k*kvQ

   The TerminateThread Function  

6n fWD3Hy |m|VKT0

:Qrc7j!qFbVG0   When a Process Terminates  水利图书}?|%]$V;`WR1TZ0[[

9X{#e3n{ q f^3WK3C0   When a Thread Terminates  

G+q`.c G8lW`)Bm0

On|W m&as8X}c"\L0  Some Thread Internals  水利图书/Lx6s.y-\F^ { O

L'Zfk4@;s0  C/C++ Run-Time Library Considerations  水利图书?@$B6fm

水利图书p3SAD)@Ff{

   Oops—I Called CreateThread Instead of _beginthreadex by Mistake  

IN1iAB/TdM0 水利图书9ct:n;C/} rX H

   C/C++ Run-Time Library Functions That You Should Never Call  水利图书^M9W$RCU2U1T(x b

水利图书ay \L(b X

  Gaining a Sense of One’s Own Identity  

C4|H:cg ZO;S0 水利图书 X3b}X~

   Converting a Pseudohandle to a Real Handle  

(s8[ex:J)O0 水利图书 K.^+yi'wG

7 Thread Scheduling, Priorities, and Affinities  水利图书;E;HO{U3f@P|

水利图书FH;l0A8lz

  Suspending and Resuming a Thread  

9C s2[Tz[h?_0

E2a^*t2Kp0  Suspending and Resuming a Process  水利图书{vm x/I-V

Xz(}}FB[0  Sleeping  

'lLg E1Y3ooW0

9z m1_$s`gIT0  Switching to Another Thread  

w:gpX*aY p.ur0

/Cm&?u@)nF+Ya0  Switching to Another Thread on a Hyper-Threaded CPU  水利图书-h!~u"L?x

-X"N wW)Epv(i~9|0  A Thread’s Execution Times  

B%x|geo"L l1|0dd0 水利图书uw6q7s,En7O2m

  Putting the CONTEXT in Context  水利图书hdxG5f5`$g

m+{*XkXK0  Thread Priorities  

p(uF2pr5k `0

8C8P s*{5m:i z0  An Abstract View of Priorities  

Ll*q!fE&O0 水利图书-h0M"sc Q)i+R7qDE.|D

  Programming Priorities  

7t4Q\k bA C0 水利图书:B6gu{6q!t0Qc

   Dynamically Boosting Thread Priority Levels  水利图书t"K.x)BKUn G

水利图书*R(}q"V5Xrj,E y

   Tweaking the Scheduler for the Foreground Process  

c^Ob j2G,WKRy)pyV0 水利图书J%xQzBHOf;w

   Scheduling I/O Request Priorities  水利图书A.~ bVHge3D.U

水利图书[,p!^9[!]%WE|

   The Scheduling Lab Sample Application  水利图书+izkHXO0nGG

~jg3~ R&z`9FeM9rPb0  Affinities  

8j4_}3Q V'Dn0 水利图书B%yD&DAE

8 Thread Synchronization in User Mode  

T!hj3n^/X[0 水利图书o\1O;y8As` I9T M

  Atomic Access: The Interlocked Family of Functions  

,C*|O2K5q m0 水利图书+Q5nT9c}5a(?.b

  Cache Lines  

uXJ+WyLJ2@0 水利图书aFH)ovh!k

  Advanced Thread Synchronization  

kw0L/t|/q%K.b%S-s0

2I'qk3BW-S){*u|-G0   A Technique to Avoid  

!]cu-v%w bQ"j,c0

$}kYQ}0  Critical Sections  水利图书!phO6C*u)tI4UJ\av

yQ Ka#y0   Critical Sections: The Fine Print  水利图书@3HT|j z

水利图书:IX#v9eNB2d Nl

   Critical Sections and Spinlocks  

abRN^"s[-a1XU)Z0 水利图书/Z ^p7WWY`6d4}g

   Critical Sections and Error Handling  水利图书H \)rs&Q-N'v,a z

水利图书+L||;S \#J

  Slim Reader-Writer Locks  

^g(U3i!\4K;T n0

5y:jl ?~D(ckW0  Condition Variables  水利图书N6r ^Q bsz,xg$x

水利图书x7?1XS/Xg*Cp1bY

   The Queue Sample Application  水利图书7E:Q:L D([

水利图书8~O:eUMa7m

   Useful Tips and Techniques  

y9aD}iD0

i3[fq~R09 Thread Synchronization with Kernel Objects  水利图书C}9n } A;x)~7t7h

水利图书F n%F/@7]

  Wait Functions  

;D| JcL:U;F0 水利图书6Lt6S'lD

  Successful Wait Side Effects  

2p g*P[V4{ g0 水利图书3ZZ Py$p#yx

  Event Kernel Objects  

.wuF@f;t!VhV0 水利图书u6G^ O!qe9S}

   The Handshake Sample Application  水利图书{*n0vAP-NC

k+W1{ rHj/Vi0  Waitable Timer Kernel Objects  

#[Z1UOL0nz0 水利图书4T*RB"o%ps,Y

   Having Waitable Timers Queue APC Entries  水利图书j;K3q]3\ OB-@|c(Z3?.y

+u4@6{u,Gn9R9?+m9~0   Timer Loose Ends  水利图书7@&P4?3@ K ^2Xd{-u

T"O(U Ta&G&HAb0  Semaphore Kernel Objects  水利图书"z J'}w skVT

水利图书o4V/H-~$d

  Mutex Kernel Objects  水利图书MgXG4B'A{

y])FFu7~R,Zx W0   Abandonment Issues  

X+R {s)wN Q9b\Z0

_8lp#v"~!w0D&e@0   Mutexes vs  Critical Sections  水利图书| q!B4G.Su d'tW

水利图书bgc Q7k+u1|@ L z

   The Queue Sample Application  

1f7qnQ z,m/@Z_0 水利图书 Ng!FS"d[

  A Handy Thread Synchronization Object Chart  水利图书"A/A_)us,jc_t

e8e.N-M1A-@2\X0  Other Thread Synchronization Functions  水利图书k\R bKq

T/y jr7Wo|0   Asynchronous Device I/O  水利图书6n,]$ap;Z!_n \5[

水利图书O8u(Z F(NT-O%ZZ-P

   WaitForInputIdle  

A@qQ7iCf"q0

w3Zg1eTlGQ5K2k0   MsgWaitForMultipleObjects(Ex)  水利图书0C9G!cA \J2N

2uc;I7gFl Ke0   WaitForDebugEvent  

Rk.[yz p/Q Y8t0

.E${x7q|He RgL{+Q9D0   SignalObjectAndWait  水利图书X-v#X}.s:Z%J j

水利图书sU3a(M7aZ.i]D

   Detecting Deadlocks with the Wait Chain Traversal API  水利图书2S)|.x\.@$eu:s1\

水利图书(Oz1NLu:t

10 Synchronous and Asynchronous Device I/O  水利图书zx/x:Z }D

+k[!Y*Z'Sno0  Opening and Closing Devices  水利图书sB k0JN {,F!q

W u$\plRo{0   A Detailed Look at CreateFile  水利图书8A2l!nMb9Q,E

;t [ jzkQ0  Working with File Devices  

!~KC:_@^1[M}0 水利图书^K^u y Q.|n

   Getting a File’s Size  水利图书u]KCq$e/`8zf

U#T QG s0}}X2XW'l0   Positioning a File Pointer  

/q"T/AzGD1DX:w0

{HOzR{9{c z4\*y0   Setting the End of a File  水利图书Y-z#k3?5|w

水利图书XW] tu!|

  Performing Synchronous Device I/O  

I5cFu0Kq,b.YZZ0 水利图书W|s7A/^;z!p

   Flushing Data to the Device  水利图书7y'I9SAr'C

@ }+M2ggh _C0   Synchronous I/O Cancellation  水利图书5NG*A(WD

,d ?/fi R:h0  Basics of Asynchronous Device I/O  水利图书:M:[tq~iu6[

水利图书j(bcQL6mR%C}Kf/L

   The OVERLAPPED Structure  水利图书`'];Ukge%LK St

水利图书r i rSW'TOW_

   Asynchronous Device I/O Caveats  水利图书Qi/S9T&|!f

/tc$tIb0   Canceling Queued Device I/O Requests  水利图书2A3{_-| x_4p%AW3V

*AJ buk8Oh~0  Receiving Completed I/O Request Notifications  水利图书R,c2E,^CF

H!B l~|4^b5g x }+V#n0   Signaling a Device Kernel Object  水利图书,YEm6u/l"_f}

水利图书um4L ]z

   Signaling an Event Kernel Object  水利图书K7v.Tc#J c

&b}p+zl G'd]0   Alertable I/O  水利图书4k[;z#u bGh

水利图书%w*q z:t4H yFV d

   I/O Completion Ports  

*C\d N4[ j0]g0 水利图书A[AAxJ&L

11 The Windows Thread Pool  水利图书 f R7M cRhEV

'_m6Ua.vsrb%MH0  Scenario 1: Call a Function Asynchronously  

+J,u;R8J:G W0 水利图书(Z/d_w2S+be4s

   Explicitly Controlling a Work Item  水利图书3G.~ VwF`

v@6Q?7]z#J0   The Batch Sample Application  

;Xu8_Q1J(gs$D0

6gc$g\[*eB!z|*v0  Scenario 2: Call a Function at a Timed Interval  

~w0T1I m!ly0

_/XA(bds6oTIk'd0   The Timed Message Box Sample Application  水利图书uKH'a#_.CB,e5I4yn)T

水利图书fyL3L:^iXg aYTW

  Scenario 3: Call a Function When a Single Kernel Object Becomes Signaled  水利图书f'T e%w l

水利图书/vuK'^c h3z H0s

  Scenario 4: Call a Function When Asynchronous I/O Requests Complete  水利图书O6T2vd*IG:w

8|#X4Ft,[0  Callback Termination Actions  水利图书 h9y,}0~(N

水利图书!`^9o"o6L$?@

   Customized Thread Pools  

Ev9H `+j3U3D0

,~6L-R"H } Q ey1a8n0   Gracefully Destroying a Thread Pool: Cleanup Groups  

a(]n"py [y0

-O8@2c$^8CO"A012 Fibers  

.K#O1RUmX&X0 水利图书 u#Jr [,B"J J

  Working with Fibers  

3y f8g6t{n3xs0 水利图书gj_0eC[lWU9A

   The Counter Sample Application  

wu_.@(B MDh0

/e7fIy/h0Part III Memory Management

"QPQ;]Z C|C0 水利图书h*]*YEgy

13 Windows Memory Architecture  

r!E7F1M(`K@ g i0

he'R0P%_J~7e0  A Process’ Virtual Address Space  

{N6Ns3S0

R_k$a'N0  How a Virtual Address Space Is Partitioned  

'}]"c~*{j1GW/T V0 水利图书O6?#A n@:T2}t

   Null-Pointer Assignment Partition  水利图书|E QJC7l*q

水利图书9L4h(s"g"m#R ?y

   User-Mode Partition  

.Xr@`)?*?G0 水利图书7pLd5x \w0K/N

   Kernel-Mode Partition  水利图书 n|vj%E

\ @:B[ gQ1kE D0  Regions in an Address Space  水利图书b8NeS:MnR?6|U

水利图书'j`,i$kSg

  Committing Physical Storage Within a Region  

k|FC#j B0H0 水利图书,z!mzU n3|

  Physical Storage and the Paging File  水利图书|&G ^ TVVc

]3H'~ e&k0   Physical Storage Not Maintained in the Paging File  水利图书+L.f)UH'QXkbX

:z*JbTEP^E0  Protection Attributes  水利图书%j/~ t:|.t(L

Y9LD;t7?*u vAm0   Copy-on-Write Access  

s _%`MN/u/Uw9LV0 水利图书| IQ/MJx%M {?/o;?y

   Special Access Protection Attribute Flags  

,f:FlQ CE0

sGolP'T0  Bringing It All Home  水利图书 K-Y\9P2W?4N$^-T

w7G~G4p9l"b4K*o%_0   Inside the Regions  水利图书leG!zb(d T

水利图书e\yZ1A]S

  The Importance of Data Alignment  

X:esx}ZrV.v8^0

j$|)~Vo5S014 Exploring Virtual Memory  

2F(@4s_z:FdcQ0 水利图书A0A'L,CP2c5k&@-lX

  System Information  水利图书(ZfrL,?$f'B5Qj U@#tD

ns-T9kC%At X#c0   The System Information Sample Application  

5mL%r6o{ v@WX0 水利图书l JL+cK9K@4Q0JC

  Virtual Memory Status  

A#D2Q/lv{$C:e0

-xxl'S5O ]J0  Memory Management on NUMA Machines  

_/\N8?.TO6A k-]0 水利图书FP p [8vv{E\

   The Virtual Memory Status Sample Application  

*_b d Q bfCE0 水利图书r+W&o/x{

  Determining the State of an Address Space  

8|y-rP9O.\[0 水利图书|9{%?5Hyi4ryz |

   The VMQuery Function  

:a x*s1V/i j isL0

u.yQ z7f*}0F$r;`0   The Virtual Memory Map Sample Application  

S i$lp$S0 水利图书y;fr3J1f8J-V{l

15 Using Virtual Memory in Your Own Applications  

8a3t&N-Z;t7f0

2R1kS'c.e/Y8I0  Reserving a Region in an Address Space  

/^7{ ZP~8E+H0 水利图书8}`|9xA)~9[

  Committing Storage in a Reserved Region  

QB5Sgg M0kI3S_0

nIK3b%c,s z0  Reserving a Region and Committing Storage Simultaneously  

`.Kzt:J{CpS?0 水利图书Nd'[y$F

  When to Commit Physical Storage  

({O1^ e(},nn%J0 水利图书F8VzfB4r(v

  Decommitting Physical Storage and Releasing a Region  水利图书IO2om'uNL

cbB O1aW.J0   When to Decommit Physical Storage  

BBqN6[2v0 水利图书|K$m*W:eK

   The Virtual Memory Allocation Sample Application  

!wz,?ihB0 水利图书.x_7D I$^`0k1f sO

  Changing Protection Attributes  水利图书#|IL lNp

h)N@ x1l.R]0  Resetting the Contents of Physical Storage  

n/qD O,bo M5JQe0

l(Ty9{ k"[0   The MemReset Sample Application  

;_ ?@ hSx,?w0 水利图书qL(M:_%w8n9s

  Address Windowing Extensions  水利图书/~4W$}H5Q _*l(Q$O

水利图书9s#h{ gPW EiJ

   The AWE Sample Application  

,Lo*P"K4E4c0

P9wWL tjn A016 A Thread’s Stack  水利图书+i%}C$p7K]i2vND

8t.tS n+f{y'Z.E0  The C/C++ Run-Time Library’s Stack-Checking Function  水利图书%O w,y8o^k EQT,|

水利图书Yp Y4Q{Z1_0[

  The Summation Sample Application  

Um\^-F'x\S3|\lx5k0 水利图书gwC.g4t u"T

17 Memory-Mapped Files  

%y4h To$]eqN0c \R1N0 水利图书q ~Q3B } Ss2P&PO

  Memory-Mapped Executables and DLLs  

(Xf\ ^y{l0 水利图书0U7k\X5v\)bxH

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

Ko Rvl+eQ0 水利图书&^_%YL5[0m

  Memory-Mapped Data Files  水利图书"uU3| |[

水利图书6wT~? A!U7v$n

   Method 1: One File, One Buffer  

m/@&y7~G"M^k0 水利图书-u W1eJF%M5{$k0E

   Method 2: Two Files, One Buffer  

A+CE k!I0

RH;c2Ord]0[9Ch p0   Method 3: One File, Two Buffers  

aQBciuGCW0 水利图书|n4e+r;z

   Method 4: One File, Zero Buffers  

6q*T8Z$]Z0

n:`i&H&a~O5`0  Using Memory-Mapped Files  

,XQTCB*\2A)p3@A&F0

8Ad1gD J Qu,P0   Step 1: Creating or Opening a File Kernel Object  水利图书Zx8B W6l1Q,my2vrJ

)XP?_*D.L8@0   Step 2: Creating a File-Mapping Kernel Object  

A;j8Zft c4O*C0

0CqPZ;z9d0   Step 3: Mapping the File’s Data into the Process’ Address Space  

RW+l/~&Vy!E0q0

[Rk.wuW5v0   Step 4: Unmapping the File’s Data from the Process’ Address Space  水利图书H,V6eUScler

水利图书hM"[!@)C*g8d

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

t2sH+x}0 水利图书:SC8IM j-i+\

   The File Reverse Sample Application  

7o2y&^1r1e0

i,lYpV'K.fU0  Processing a Big File Using Memory-Mapped Files  

+]1Q mWW]1zlX0

vz^+l]S%ju0  Memory-Mapped Files and Coherence  水利图书6A K9s9?'MIk)k {Y

水利图书F_:g/cP*HK

  Specifying the Base Address of a Memory-Mapped File  水利图书R-x6FlST ~D/c

水利图书])_g/{ e5H d

  Implementation Details of Memory-Mapped Files  

8|7v$C K}5?t0 水利图书/a2NO3P.oZ+d*L N)M

  Using Memory-Mapped Files to Share Data Among Processes  

u$olu#m7h0 水利图书mBCEI

  Memory-Mapped Files Backed by the Paging File  水利图书+p2~)[r;s

水利图书)S7G(b1fn)c

   The Memory-Mapped File Sharing Sample Application  水利图书 W&sf3?!y[3J }

水利图书$IiZ-kwf(_

  Sparsely Committed Memory-Mapped Files  水利图书7N*{Jk~8jf'x Cn

:y&ZFQ/p|3ZKB0   The Sparse Memory-Mapped File Sample Application  

jJc~t9XQ4r r0

"Rf n+h9J018 Heaps  

1N b Fz~:f)p(Q0

;r*o!Pn3Z/M$dA0  A Process’ Default Heap  水利图书5c)G Bh7z+O

e5dEC'~%`V0  Reasons to Create Additional Heaps  水利图书;zaxCg#q#d(\P

Yy%c)oAR C0   Component Protection  

6[b^%G&C}|xn.A0 水利图书lj5@9go AX

   More Efficient Memory Management  

4I{\D]&ku:Y0

'MD{G$YA AZ^0   Local Access  水利图书:|,ti;S ]} Kd

xr+JG3y0   Avoiding Thread Synchronization Overhead  

G0l7i| `&@0

wv!F4Lb xz/m0   Quick Free  

8toy(\w;W }+_0 水利图书 V5E\'x-L f

  How to Create an Additional Heap  水利图书 G(_vQf/g`L

-_t#Bpl6i!\0p/a0   Allocating a Block of Memory from a Heap  

}PpDM9z Y`OD0 水利图书~N Gpd

   Changing the Size of a Block  水利图书;eK+_)]B K

PBX/@R3e v)R0   Obtaining the Size of a Block  

.b#a.J\y0 水利图书4ZS3M{Ax#[#C8@_P

   Freeing a Block  

/Hn5e {?0p u^9p0 水利图书:A4F(Ss'n0t

   Destroying a Heap  

\5\~{f0 水利图书%G-\dlG&Fo-E%v!Nyz

   Using Heaps with C++  水利图书jzi~!J

'fRuw)lan4n0  Miscellaneous Heap Functions  

S1~J-A3^LB0 水利图书&Xf"cz"o0T

Part IV Dynamic-Link Libraries

O2RF.L:ooW7EU0

\3D Om#L(|(P"or019 DLL Basics  

%xN7Tpz|f^m0 水利图书6Uo2Pm9DF)o/P!]%g

  DLLs and a Process’ Address Space  

v$k)Rd0]6ZH0

9Gz R IO6f"d"\_0  The Overall Picture  

V(g~~5q.sM t0 水利图书^l5Z+_5N

   Building the DLL Module  

:zgB*VUgw0 水利图书7@9s-i n4e-qT

   Building the Executable Module  水利图书e"E?{"a*cwm

水利图书VKbT.B f

   Running the Executable Module  

)c5R A!@E/Dt-`WmS/_0 水利图书U VaeW b4y

20 DLL Advanced Techniques  

U/lEB/n#K0 水利图书)[uXMr5i @;P,cTY

  Explicit DLL Module Loading and Symbol Linking  

B To8h He[0L!Pb2r&s0

a'y m.~7b o#O0   Explicitly Loading the DLL Module  水利图书d b \s9j'J

水利图书KuuA D#a1K ywV

   Explicitly Unloading the DLL Module  

sh0R&TI(n0 水利图书5R hDdf

   Explicitly Linking to an Exported Symbol  水利图书.a&S3_*r!XV"dO9R

,T$XG Pcm BY+~0  The DLL’s Entry-Point Function  

8p-[db7L+cb8V0

0L6mQbn(K5f0   The DLL_PROCESS_ATTACH Notification  

`_ RD#M8N9Q0 水利图书:v7? ?@/th

   The DLL_PROCESS_DETACH Notification  

Z~F$yzi5]'{0

]]:i1tB3e6g0   The DLL_THREAD_ATTACH Notification  

k#DI%`,BTF;o rb3B0

|~{s0LJ)b0   The DLL_THREAD_DETACH Notification  

B Sn'}W*Aw.p1I0

W l an\4c7L0   Serialized Calls to DllMain  水利图书0bhL7u,O9G

iM`6[)b ^9sw9Y6j0   DllMain and the C/C++ Run-Time Library  

@m9y6f)O*Dcj0

+_J+V*I f"FWM0  Delay-Loading a DLL  水利图书(AtY9Y9`0W?FX

&w#^&c? [0   The DelayLoadApp Sample Application  

J&gG\&H+X`0 水利图书#XMGm7t/G.JuU

  Function Forwarders  水利图书&m2s,w8c&lD

水利图书0m;}[ J6]6g&b

  Known DLLs  

}K{?| Me0 水利图书h;IkFH$~+x*IT Z

  DLL Redirection  

3OVI'_-z p'p0 水利图书G#b,a^'s gt0U:_;q

  Rebasing Modules  水利图书U3obvC!rW8H

水利图书? x0CK/@)obl dT

  Binding Modules  

-u+@a6Y$S"gEz0 水利图书*{P(Z^I'S

21 Thread-Local Storage  

}!D9M4{St{0

zK*n8moY0  Dynamic TLS  水利图书C)DA]4Y8V*]9r%bG

水利图书.|+vh7n ||

   Using Dynamic TLS  水利图书*} x*Z|-Z3R$Qk%\

水利图书^ V4Rw1PO+[`

  Static TLS  水利图书 C8z'g(zI:q(O9NQ

-Gy\*LQ/X022 DLL Injection and API Hooking  

z/TG'n lq[;M0 水利图书n K9a-{^cv:W}

  DLL Injection: An Example  

a @t/[J4gN `3_0 水利图书1LP$qf7ARxH+F G

  Injecting a DLL Using the Registry  

,|%kmP9r/mGX0

r!RU)U9r"z0  Injecting a DLL Using Windows Hooks  

#w|ua4x#a0 水利图书 HQ({;p0g4CP

   The Desktop Item Position Saver (DIPS) Utility  

0m$a,N3J2J Y\j;\ A2?x0

Tlm]+W;phN0  Injecting a DLL Using Remote Threads  水利图书eW1y)Jk"D&U

水利图书 [ a%^F+['eO

   The Inject Library Sample Application  

d(|_ ]C1U }b8o0 水利图书8|2Q5Y7Hv}1x

   The Image Walk DLL  

*lNX(q#U_.B ng0 水利图书6S UZ6X] q6DH1]5Sz

  Injecting a DLL with a Trojan DLL  水利图书!X2n.`!U0}8f(J&T

.i*Yj+JF1CL0  Injecting a DLL as a Debugger  

1Tt,a \B$sWr5q0 水利图书D2CF&p-nM5{

  Injecting Code with CreateProcess  

'?] P[8k~ }@Kh0 水利图书'E { q,_;ov+P)k|x

  API Hooking: An Example  

H$QP$T&Qb0

;{+q1?L!y h,Ci0   API Hooking by Overwriting Code  水利图书x,XW%~"S*c'z9O6N GW

aj@r2d NF0   API Hooking by Manipulating a Module’s Import Section  

1sj`B7X;P#aT0 水利图书 g@ bO-C$W2p*H

   The Last MessageBox Info Sample Application  水利图书Yn(Cl&WMW~O

8U.Y|DLN0Part V Structured Exception Handling

5Pe6`$d |$}0 水利图书!a.W g@.h.^ |"_hQ P

23  Termination Handlers  水利图书7{"QQ_l,a jG

#kG(tC^"_$U0  Understanding Termination Handlers by Example  

.Z2H u? I0

_5{-v4mU%Wb lE0   Funcenstein1  

6N#p xR"H0~6l0 水利图书@.Us]Hc

   Funcenstein2  

j m} H@e0

$]s2R*E O AksVf0   Funcenstein3  水利图书o"b/c!j+}iQ-_ k

水利图书5I#gu D,O q%L(L

   Funcfurter1  

H$wV E,W6YR\0 水利图书G;g A}E:V"h5zI:Jd

   Pop Quiz Time: FuncaDoodleDoo  

*FNN M6V.U"E zb0

;u@p%F/FY1h0   Funcenstein4  水利图书Gq_ sq6Mi~6V?

水利图书6HSJg6sZwL

   Funcarama1  水利图书W+IJT(OYFD

水利图书 aIYb4B@j"J

   Funcarama2  水利图书0JN k \w I*Za2K

水利图书kiw5l|Y

   Funcarama3  水利图书{$C q7~ |4s0_#W(h

水利图书4[?(Lm?_*z)z'^

   Funcarama4: The Final Frontier  

&fn/inw)M$?0

5aLnAyqX0   Notes About the finally Block  水利图书gr(@(Rj2}

(a2T.nzG0   Funcfurter2  水利图书G/~ T1Wv.Dw

水利图书 UOk#L5j D

   The SEH Termination Sample Application  水利图书$G3[o$Try,k'd

水利图书q;M]3|8{|AA

24 Exception Handlers and Software Exceptions  水利图书b0|NX?$k"ET

3WH5MQ'[0c0  Understanding Exception Filters and Exception Handlers by Example  

W1a x/qDw$^B%k0 水利图书M ^9p:] lJS

   Funcmeister1  水利图书E7V_v1I

水利图书5X%rVBv"l)_lj+o

   Funcmeister2  

X [o9n'q)P0

+Kl#\,tu0Fe0  EXCEPTION_EXECUTE_HANDLER  水利图书E,|5~I:[4XW [

v-U%h'el*J0   Some Useful Examples  水利图书6~n(H+^$e

8E3T.h(y#?S,Q-B.z uV0   Global Unwinds  

i1NRM/|9L+G0

j"U%G*m"T0   Halting Global Unwinds  

*u![:mF{5l.a0 水利图书y?D+s-a4S6{8zY

  EXCEPTION_CONTINUE_EXECUTION  水利图书;~ U g)f_L

2V}.a^R s1r0   Use EXCEPTION_CONTINUE_EXECUTION with Caution  

8@4M,@0X*~!|0 水利图书B.i O@8uR,g w)tS.{

  EXCEPTION_CONTINUE_SEARCH  

(C?gh*l0 水利图书P;sQ7Kfd.S2gC,n^

  GetExceptionCode  水利图书t5h1SJk4s4f([

S Wl0ueWGm0   Memory-Related Exceptions  水利图书(K\*u2{fo;kU(`

水利图书"TCi P vS^

   Exception-Related Exceptions  水利图书0S{-]zm9V"i-]e'l

水利图书+n o s.jf-a~mx

   Debugging-Related Exceptions  水利图书 KIzW o7@nu&S'H

-jN8@ sFwY0   Integer-Related Exceptions  水利图书G"NFm(?!Qh(E

水利图书pQ LK0b6S7UY6X{+L`L

   Floating Point–Related Exceptions  水利图书9D5H.hJp0l

水利图书#j~iq!b4U

  GetExceptionInformation  

I!vcF7Xx0

a8M!qk)Ic*I%?0  Software Exceptions  

Z'ez.\!b&sg[~vJ0

)h)E| j N.e025 Unhandled Exceptions, Vectored Exception Handling, and C++ Exceptions  

CLF@O0 水利图书:oh @1S4r1^L4T

  Inside the UnhandledExceptionFilter Function  

#den"Da s+k GqG0 水利图书5y)}Cd~;dX

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

z3W&]NkDa0

|9@/A5^I%L0   Action #2: Notifying a Debugger of the Unhandled Exception  

U D*rG6J)XS%Oc g4R0 水利图书4z5O+RSIe*|

   Action #3: Notifying Your Globally Set Filter Function  水利图书c%N)D `:kN"p0I

水利图书N?2^(V2z)?3U

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

%jB"qK-_/j n0

1T8y5_KNJ"OBF7\0   Action #5: Silently Terminating the Process  水利图书 r4i&q%LYLT

4kH eEx1|7^0   UnhandledExceptionFilter and WER Interactions  水利图书wP-PRZ

_m#\5JW r#C0  Just-in-Time Debugging  

4b}^3v+fh:p!s*fl"{0 水利图书 s!p$@ d qZw+T

  The Spreadsheet Sample Application  水利图书o8Y/^6WwH

水利图书C7vk1J6X5s

  Vectored Exception and Continue Handlers  水利图书9~ ? jvb+Q-lbm5u

jW5`-\9t'v3u#Q0~0  C++ Exceptions vs  Structured Exceptions  

(B4B)D(TSTi0 水利图书/BfF;B2lSrTq |

  Exceptions and the Debugger  水利图书~)l4|0?t-W5QM+}&`

水利图书/x W*Fy!t"`&F;t'H

26 Error Reporting and Application Recovery  水利图书J3O1i,x0~l

6OV)E E Q)o/A0  The Windows Error Reporting Console  

-rND.Xb5e0

H,M&wGCCqX0  Programmatic Windows Error Reporting  水利图书^qtfl

水利图书Dr!w I \%^~_

   Disabling Report Generation and Sending  

5Q;gZ,Gu)c8x;Qkq0

x js`'N.T[0  Customizing All Problem Reports Within a Process  水利图书/xGZ?Zn

p0Lh [1HV M0  Creating and Customizing a Problem Report  水利图书;F6t]{7N? r+k!R

水利图书0VCg`O

   Creating a Custom Problem Report: WerReportCreate  

u5x w!E1y0 水利图书7rT5r6GC8f&Gz

   Setting Report Parameters: WerReportSetParameter  

C,RBkf:M-P |0 水利图书'Wr)r/\kjEd+U

   Adding a Minidump File to the Report: WerReportAddDump  水利图书i;gP"w!\N gd

1v`-Np,{"ds6KON)X`#m0   Adding Arbitrary Files to the Report: WerReportAddFile  水利图书 Z nDw'?;b jz|

水利图书}z kn@

   Modifying Dialog Box Strings: WerReportSetUIOption  水利图书 Z7g$f'r3B#k;D

水利图书l {!U]2W+I@

   Submitting a Problem Report: WerReportSubmit  水利图书 Tv^;MpZA vP

水利图书 bBF&rw{lK

   Closing a Problem Report: WerReportCloseHandle  水利图书or2LU?J#`EG.t:v

N F+Ze|]r0   The Customized WER Sample Application  水利图书!gD5G(m/~{ n

'?ugv,[t&n.Qu0  Automatic Application Restart and Recovery  

Y Kr GSan.G0

T/V:q];i o k0   Automatic Application Restart  水利图书BB/EIe

%xI^2z5v*SX.sDD Z0   Support for Application Recovery  水利图书]b/g!K,j"V

水利图书/J'R AN:D3n rl(TGf

Part VI Appendixes

O'\9\?[(T{e+X0 水利图书9a[W;R1Q1z'};c1U&|

A The Build Environment  

!K"~BrT2]-k0OS0

J^!o"|s%eX P6W0  The CmnHdr.h Header File  水利图书2}'\dF[(qs ob"H qQd

U H^Af`s6pX0   Microsoft Windows Version Build Option  

'Ln'{+A"o(c A SgP0 水利图书 ui/s?4KkQq

   Unicode Build Option  水利图书JMLq)j

s@n(DaA0   Windows Definitions and Warning Level 4  

%x])B$]4Y#e*iv0 水利图书,lI8lD[ j

   The pragma message Helper Macro  水利图书8l7rc#N?P N$ie

水利图书0vI-@-N1@/n As D

   The chINRANGE Macro  

j ~d9}CU*o0 水利图书P-i(rE1R/{.Z#]

   The chBEGINTHREADEX Macro  水利图书.WT*TnPbd0J

水利图书d;d u+h/L

   DebugBreak Improvement for x86  Platforms  水利图书-N} \"w)X&gN

2` |X1vWr0   Creating Software Exception Codes  水利图书0O9U\I%X8b"?

水利图书pEPK Yh

   The chMB Macro  水利图书1C~)GG5V4t

ib w!Q vn4]N0   The chASSERT and chVERIFY Macros  

+mY"Fh5]D%K0 水利图书F0u3A&N W2y"`X

   The chHANDLE_DLGMSG Macro  

8kQ`0[4\(P1R0 水利图书;j9@2N X N

   The chSETDLGICONS Macro  

V[(y)kPS)?0

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

(v7N2Oa3W0 水利图书^.w])of0Ra4z2TTy

   Support XP-Theming of the User Interface with pragma  水利图书O'S;zx?dy qm

水利图书 f$fr;[n:k-a

B Message Crackers, Child Control Macros, and API Macros  

f${*~z)_Y0 水利图书 WUas&M A0J W5]H!FT

  Message Crackers  

FD%p8@ hLV/C0

&z'Fu$?V0  Child Control Macros  水利图书] d+E/vFI)D8N i0^%J

2r \lAk9T,LoE3Ul0  API Macros  水利图书 l{8s*G+bmv

水利图书a o-~0l/Qy ]p

Index  水利图书1Mv6XPy$Fm_,wl

水利图书5B;RdnT'D-f

书摘与插图水利图书zWk [!sg;I(]V:b

水利图书{A"o4q5s`.Pw)y

水利图书 g u'nEp;J`

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

水资讯网广告招租

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

广告投放

广告投放