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

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

热度114票 浏览18次 【共0条评论】【我要评论 时间:2010年6月10日 14:27
水利图书+N}#|#KM N0Q

Windows核心编程(第5版英文版)水利图书}o @5H|T8M

水利图书|(V#_r9H;|r!?

正在读(5人), 已读过(25人) |   放入书架水利图书Ga1^!edu#nI;H1U }

水利图书#X IcVr]

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

^A2Pt7|2? [+ueOd0

#L#~[9c+T4]0

wg\D2m{0

m3J"O5Y|D(R0作  者: (美)里克特,(法)纳萨尔 著

SI_1B{6U1S9fA0X0 水利图书u;tIZ?6lb

出 版 社: 人民邮电出版社

X(mMm?Xc0

%? tLny/e W0出版时间: 2008-8-1水利图书I4x b@6Xlj

-vQY_8|0字  数: 1013000水利图书2x2hp0a t#{#G1M ?

水利图书#y:aF$j,fPT|

版  次: 1

3A%M c^ N|)hg[0

+S$j_K!hw Z0页  数: 820

:}N2K-C[wD0

KI(e9k:^0印刷时间: 2008-8-1

'OATM{0 水利图书$x'phi8j e Q

开  本: 16开水利图书@~3Fo"G B

水利图书!wt:Yr(de

印  次: 1水利图书/?L-M+WN-Q

hu Tw P%j\0纸  张: 胶版纸水利图书'wr#JG2J5z

水利图书ULC$T}+E

I S B N : 9787115182128水利图书.U-? }_ `7l_:z

CzoQL G g&\0包  装: 平装

ELsZ`|L.Le0 水利图书 XuHiOX&zk

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

A"|]A#m5p)OD#~0 水利图书3Sz c ?!B

编辑推荐水利图书LG5`f8p

水利图书Tva#^W[

Windows程序设计巅峰之作,新版涵盖Windows Vista和Windows Server 2008最新核心特性,Windows程序员迈向卓越的必由之路。水利图书|*u)A7]M[q6B7H Y~Mi

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

Z2c}t\0 水利图书-P[*q.p_p

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

`1fu%S?;P?,eq0

)by#E1FHLZe\4}0内容简介水利图书5r-VQ{k

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

hh6zQ2wT+lI|0 水利图书T~D7exb

  本书适于各层次Windows编程人员阅读。水利图书)FO,}Vppw

水利图书,Dxq1W a{8p;t4t

作者简介

H/K,MS^h {|5\0 水利图书5G2U hQ#I\'zO_]i

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

水利图书9^g)x$~:K!^*J}

目录

X~$B7fL@(N0 水利图书n!w"|F1O4v;f9g2I

Part I Required Reading水利图书}%L/c+g D%u[5A8I

水利图书({8Oa-^Y&H:j

 1 Error Handling  

2A%\(_&Ya&D0 水利图书HlY6{,UYF0B

 Defining Your Own Error Codes  水利图书}:G i+pW#Y,C)]

水利图书-s } {9?Zp IIl

  The ErrorShow Sample Application  水利图书 du#zS%P,w]8el]

8IC)M&J|8xsv[0 2 Working with Characters and Strings  

&O^|9I!T \ld7](u0 水利图书,LX/H K8\d^3n/eQ

  Character Encodings  

L)d?.pe%tX+MK"q/E0

Oz0AT2J7i3K0  ANSI and Unicode Character and String Data Types  

S0F,],J5\Q ur tU0 水利图书aJ'N7z;yE:ds

  Unicode and ANSI Functions in Windows  

wet a6V#hq0 水利图书 y L7d)L3W O0M

  Unicode and ANSI Functions in the C Run-Time Library  

K,irL.L!i Y0

zQx&ghA S!D Nw0  Secure String Functions in the C Run-Time Library  水利图书2bp7f4g!s

水利图书L W}(]8o&d Lr5a)^

   Introducing the New Secure String Functions  

?5I/}m:@ ?#X0

3Z3@.h jpC R*p9~0   How to Get More Control When Performing String Operations  水利图书#y1kJfuBRV7V

c\+Vr.M0?4a0   Windows String Functions  

0| [&wFm k.b1Gn0 水利图书)l,O$?8{S

  Why You Should Use Unicode  

I&D W6E ?0 水利图书(H k}P#Sh

  How We Recommend Working with Characters and Strings  水利图书h&sW0ss8TE]

水利图书m6d [%IU+Z?"] `0D

  Translating Strings Between Unicode and ANSI  水利图书 \\:S+~6Y r'}%R&NxC6n$C

水利图书}(}OTS8x

   Exporting ANSI and Unicode DLL Functions  

6G?&j;R'f-e0

+_3yDcV7LJ@ At)k` G0   Determining If Text Is ANSI or Unicode  水利图书uba3P,R;w#t$V$oZ!^

o(M&\e D0 3 Kernel Objects  

ms.bY4y`F&q0 水利图书^X#gKz'm uC

  What Is a Kernel Object?  

0X@}e;p2K?5c,Y0 水利图书*^7g.fvZ?*H

   Usage Counting  水利图书2D"A2_\+W$n!e

4OpL[.@1MM)JM0   Security  

{1M)u@\u0 水利图书'f.YJ gX~"K+D Ob\

  A Process’ Kernel Object Handle Table  

({ J;H7[E|~.N%V0

3A:OHBE0]:E0   Creating a Kernel Object  水利图书"uge0IiC,c

水利图书Y|z BX$@,m @5a-?g

   Closing a Kernel Object  

hcAr;p'Cd'oT0

3Y'U Kxwcz"^7l+E0  Sharing Kernel Objects Across Process Boundaries  水利图书H^S,VD1DSw

/mI xR'K0O|#t0   Using Object Handle Inheritance  水利图书'SR5v'lM3Ai:U-d%v6^

水利图书`DSS:TC

   Naming Objects  

Ol7o6^Rw(\0

c3NZr q @`A0   Duplicating Object Handles  

3w+Oa7N ~y'|*D,l;O i0

3n;WQF5~S9L Dq0Part II Getting Work Done水利图书8X2l"{{6U\wn

水利图书-f r3M;R+~amuf[

 4 Processes  水利图书J asW6{+j4W

D-X-Vlxwi0  Writing Your First Windows Application  

_8k4p@-WC A0 水利图书+}gxe|-U

   A Process Instance Handle  水利图书v-AY/]8j[._

8]5\Vb5}2B [4jH0  The CreateProcess Function  

&l e{es"j+B#F0

8s/PA2c |.y%^0   pszApplicationName and pszCommandLine  水利图书8x0_2Y$nkNnM

LIV;Lw0~bJ0  Terminating a Process  

"qM]:`Sro0 水利图书]#UA?2R

   The Primary Thread’s Entry-Point Function Returns  水利图书P6Fihi,a.A]m

4Q2OqNgV!]w8Fl6G0   The ExitProcess Function  水利图书rA%ZG1h]aa

水利图书#L:H!R#r|O

   The TerminateProcess Function  水利图书`K/i }RK U:[o

水利图书P3S kN+L ~J7b:u

   When All the Threads in the Process Die  

7H d.tr { } H0

0L!S XY:Gt"R3[0   When a Process Terminates  水利图书~0Rc\ q7wT?

;K&ng.h7EJ0  Child Processes  水利图书y+l{3Cb0N-W

水利图书Cp,L%Ar7{

   Running Detached Child Processes  

&[ \%Wt @7HP0 水利图书uk/v!^8B:n'{c

  When Administrator Runs as a Standard User  

;F bul}0

QM*joVhe6Tr0   Elevating a Process Automatically  水利图书yA'I-\pF2Wy

水利图书 b6Qrg1]1jH

   Elevating a Process by Hand  

4\+} W!O i0 水利图书V3zG2ui L["Ih8V/z

   What Is the Current Privileges Context?  水利图书jc{/]8sIX7U{

gGN(R4T w0   Enumerating the Processes Running in the System  水利图书e~!QC6Ws

/w*r]]8j0AUf0 5 Jobs  

C:O CUdb0 水利图书 ~ }t~$r

  Placing Restrictions on a Job’s Processes  

&~gRn\0

z*ds bc5?~,h6AD0  Placing a Process in a Job  水利图书MF,Ga6Y%L.uG7j

jU/o;l,M'F-p`0  Terminating All Processes in a Job Querying Job Statistics  

\7OW+o2wgX,U:Ge6@0

3Nm!B;O#Y5rW[]/h0  Job Notifications  水利图书4_c.G;}p:tZ

'N$[0Nzg)d F C?z0  The Job Lab Sample Application  水利图书!i;D4Q,wQS

3lv7n?_+u{06 Thread Basics  

0})Ai$o P5IW0 水利图书.Kp du(es.I!I

  When to Create a Thread  

p2JS XP XP'Z2e0

"?6y;U3m%\5CX0  When Not to Create a Thread  水利图书)c ]W_b;H8sXb)k

水利图书%Oq/]'aZ?,E

  Writing Your First Thread Function  

D*SY'_)d5xb_0 水利图书m7A-I]9m MO@

  The CreateThread Function  

)j5Mm_\.?(oenV.s.h:r0 水利图书I;j e!}Kw] U.dH

   psa  

u2}T-~ H0

|MUy4WZ0U5r6na0   cbStackSize  水利图书 W!E _,`:Vzh8O:a9Q

水利图书 xaQd5q4i9g

   pfnStartAddr and pvParam  

#t\,uV#A}-A,q;x(]0 水利图书X#x2a5gJ

   dwCreateFlags  

6k?6yAx:Y"Y.^_0 水利图书r s x:?h-kK'G

   pdwThreadID  水利图书AD^pC7G;r6~5?*\a

(Svq:O5a0  Terminating a Thread  水利图书Qd+uI\;j

.z']/vT}0   The Thread Function Returns  水利图书PmK dPQ}1g E1b

N s8V&`w0   The ExitThread Function  水利图书~ J7Agz-Nh

水利图书,_?-]/[|

   The TerminateThread Function  

f}~W'SgFU0 水利图书u-Ph4u+gNY Q

   When a Process Terminates  

q5JB$c/_3[6O R0 水利图书4H0QO^c7[?,h

   When a Thread Terminates  

dgX*u2a5d!F1H0

G2QY[W$z0  Some Thread Internals  水利图书 g|Tr T;]4u:W*H

水利图书;hp+J$}u`"B9~

  C/C++ Run-Time Library Considerations  水利图书{AVc9C:UF

a FS%jfq&t1K0   Oops—I Called CreateThread Instead of _beginthreadex by Mistake  水利图书I@(q6TJ

水利图书3ZT~,K?:jD.k

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

'gQ]1{ G/^0 水利图书!vE vWJ~

  Gaining a Sense of One’s Own Identity  水利图书5R @ M8N,U'xBu^

水利图书#Cq/z%jq Si2}

   Converting a Pseudohandle to a Real Handle  

$d6S4xv O0

x8vK-l[6N#O07 Thread Scheduling, Priorities, and Affinities  

+R(I#xE*?-R!O0 水利图书)VK{j6K[8H|

  Suspending and Resuming a Thread  水利图书 |R$Sy1`:x.s

水利图书?D_ wWJ6H%Q:`;}}

  Suspending and Resuming a Process  

Vf/?xsqs/v M%r0 水利图书9jo6w}([#b

  Sleeping  

8zBj'U1p!M NB0 水利图书F X\4H/vbB`4c

  Switching to Another Thread  水利图书%Tj;};A t0D%U

水利图书EO4Mu\

  Switching to Another Thread on a Hyper-Threaded CPU  水利图书-zy {|n-R#U

(I-b1qwh `+o0  A Thread’s Execution Times  水利图书 ~+o `,yB

|c-E ? y[8z v'p0  Putting the CONTEXT in Context  水利图书Pe!uA0fL7~f

IHA,J(? j3HL.c` t4l0  Thread Priorities  

2@Qb"Pn.\#t0

OQ%X@ @ wY0  An Abstract View of Priorities  

c\/U6Q$zIH0 水利图书rGd2_d'{

  Programming Priorities  水利图书ew9X*g0SC^

水利图书!{$i(Xz1|E

   Dynamically Boosting Thread Priority Levels  水利图书-l7F O2B qpq)w

水利图书6c T`#WvT

   Tweaking the Scheduler for the Foreground Process  

ut&_"k6v#]wUe.L;LH0

J7OR8d)_N:{-k0   Scheduling I/O Request Priorities  

^#f*YHdk&g0 水利图书8D/dC#Ig'V5Bu

   The Scheduling Lab Sample Application  

5As[)FDU$bb0 水利图书!NX*LC%s#p.iQkS

  Affinities  

KN?2d4Zs7{0 水利图书E`3NI R w

8 Thread Synchronization in User Mode  水利图书ir F,Zsl@

水利图书Z6X K.AysV

  Atomic Access: The Interlocked Family of Functions  水利图书*T[1x @c Q u k

?B Aa$Hr3n0  Cache Lines  

*d2{L-QBe;V j d+d0

!eQk\h[0  Advanced Thread Synchronization  

,}%q E2zu0 水利图书H(]VW+Vy'uUX

   A Technique to Avoid  

a/FQu~4rLO0

,GIW8aI)UC J5T\0  Critical Sections  水利图书C%yy b G _

水利图书b2P%|@-AZm9p

   Critical Sections: The Fine Print  水利图书:rp(U5[ @1od^ w

AJ{C!EFEqdP0   Critical Sections and Spinlocks  

2rW&|7e0[r l&sv Ad|0 水利图书!F1^0J/Jnu`{f

   Critical Sections and Error Handling  水利图书 oA)e!W/Nq:w

alUd:Ut#xG0  Slim Reader-Writer Locks  

4r n/jN5@0l1G0 水利图书S1X ]y TQs0O

  Condition Variables  

s^7@$t |s0 水利图书*K6K8m-`yS b@%_0`

   The Queue Sample Application  

`_6]g*gv mF0

3[~s}-?^0   Useful Tips and Techniques  水利图书J*cW UL

`+H C)M F_%b.XE09 Thread Synchronization with Kernel Objects  

(Q,zk0d_U"sQ0

8GLU _1g!W z#U0  Wait Functions  

DK3gXV-Xz8kGt0 水利图书$_x6C9o6\

  Successful Wait Side Effects  

|/nJt Z*i$y$s]P0

| _l_3]nZ0  Event Kernel Objects  

XN(X&g!ZK'rvL0 水利图书]k(Gr ?AoC

   The Handshake Sample Application  

3V4]'Mjn*F)R1ao0 水利图书U#k+JN u(`z5N

  Waitable Timer Kernel Objects  水利图书&y^ Ie0zK;g^

水利图书.BK^xzcU

   Having Waitable Timers Queue APC Entries  水利图书mo9S T9~XQ5{3\:{k

4M-`k'w5M a2@G0   Timer Loose Ends  

&V Y#f:V$chBlj c1e0

Nt_*i'O0  Semaphore Kernel Objects  水利图书6\gt!aO

水利图书k `&~2Aw#sCyK

  Mutex Kernel Objects  水利图书5j)ON.nwT#W6N

Gp t}-n0   Abandonment Issues  水利图书RX{%I9{&B)iO

水利图书8n&| [;wk~5c:n

   Mutexes vs  Critical Sections  

G t'P+Y!P0 水利图书!m-A n0x5d5z[9a

   The Queue Sample Application  水利图书6U+CmB uz%I

Y{;pY6|(j3_W.B0  A Handy Thread Synchronization Object Chart  水利图书vW}%|%J,p)X H

水利图书_+U3Z0{_ n:gEL

  Other Thread Synchronization Functions  

U C!@.@#}0 水利图书?^7@Q$zrc

   Asynchronous Device I/O  

"jM"\0~6^?0 水利图书5B0U1c}s4Ck

   WaitForInputIdle  

6`R1s G;b o/M&|3@,~'M;JSC0

M1j@ H Q.N [*WV0   MsgWaitForMultipleObjects(Ex)  水利图书S;|Q2d(Lb9rW

水利图书Xi@(A#B8m5iHY

   WaitForDebugEvent  水利图书6Q!K/vV|@l

水利图书ov6i4ONN[ Z

   SignalObjectAndWait  

@'K el#J:Q6z0

r9p"TpJKbt0   Detecting Deadlocks with the Wait Chain Traversal API  水利图书O/{|+Sl

T,`:Nk3XTOf010 Synchronous and Asynchronous Device I/O  

/w;WL0Tl${?.R9Tc0b0

_7l*X-T|HT0  Opening and Closing Devices  水利图书~)w U5AL&M

水利图书 Ma P] L5W0z

   A Detailed Look at CreateFile  

F Zn%g@ Wbe0 水利图书;`'j]L |IU:d

  Working with File Devices  水利图书8Ylh ?j

水利图书 W!S&tz#I }\]

   Getting a File’s Size  

;Wl$\KEc0 水利图书)M$^2?d/y'q:_

   Positioning a File Pointer  水利图书&j gCf6b

Ge["^.I0   Setting the End of a File  水利图书g [Yzmn9G

tN D:P$e#f0  Performing Synchronous Device I/O  

raD1B7N7o0

GiU7AgU1i0   Flushing Data to the Device  

x k!X~u0o3Mr:S:|0

?3Ns5e!YN4O8AcV0   Synchronous I/O Cancellation  水利图书:d,`"o ]tu)RS@2['| ^

水利图书#yHsR]}Ei

  Basics of Asynchronous Device I/O  水利图书6c1N5T`jUs4b

水利图书*k7].g pKj]m f6lh0B

   The OVERLAPPED Structure  

%FW.[5]&H4M w-n.S0 水利图书#}j.W g5D3sJ|

   Asynchronous Device I/O Caveats  水利图书{6?:QQ)o9~7|3`

7\+s/F b Q*NK ^mz0   Canceling Queued Device I/O Requests  水利图书6\.Nv/W xg

水利图书p {#t'Ap*K{@

  Receiving Completed I/O Request Notifications  

wF ^V5@bc0

o a7y\)s.j,n0   Signaling a Device Kernel Object  

sbf8p;z0 水利图书 }"Lq bV%S7s

   Signaling an Event Kernel Object  

#[0q0Bu)Q{8@.g"f'H8H0

*VEDm(F2en9~Uu2O0   Alertable I/O  

AW'c7zUa6a0

p.r/}{&Ib oi0   I/O Completion Ports  

je'W({M*{5S0 水利图书]G\ k1v H }8z%P

11 The Windows Thread Pool  

E,c s*C[p0

*\5_2sO`OA/x1h\T0  Scenario 1: Call a Function Asynchronously  

vD"^ l M0

N P0n'euu0   Explicitly Controlling a Work Item  

L7n&Z(T{AXA0 水利图书kH}*L glP1j

   The Batch Sample Application  

tkiJ0C@a ^-`AIW7V0 水利图书l:t5?Gnf$X@H \

  Scenario 2: Call a Function at a Timed Interval  水利图书co[W"g"Eq [Y;Fp;`c

q]S2D1^X'Q vB0   The Timed Message Box Sample Application  

)?ehd]0 水利图书.D[G{8p&}

  Scenario 3: Call a Function When a Single Kernel Object Becomes Signaled  

rEM'Gu$},RF I0

%S k&hP9F0  Scenario 4: Call a Function When Asynchronous I/O Requests Complete  

F QI3ZFNs`'@0 水利图书.e*HL1|%z#q

  Callback Termination Actions  

EU-Q)?s ?7|$b^0 水利图书E~'Bn3H8D W

   Customized Thread Pools  

ML.O&u(u0 水利图书!H0x.UdDy

   Gracefully Destroying a Thread Pool: Cleanup Groups  

;cc _&wi q5Fgoq[0

n6v&NHY}0eV?012 Fibers  

[P'`J'~-?L0 水利图书fHTM.bCq

  Working with Fibers  水利图书Q*J t5u6g?U

水利图书+hw.meB2iTgk1v

   The Counter Sample Application  

kIqr O0

@6~U*qd HU0Part III Memory Management水利图书L5Y1Y$L{;L^SX!p

水利图书n.c5W!ujx3Vm

13 Windows Memory Architecture  水利图书`{l0V5i8T

g sH7g3y-pYb0  A Process’ Virtual Address Space  水利图书 }6v!yO5H2ZdoW v)F

*j [2k7xz$oI0  How a Virtual Address Space Is Partitioned  水利图书dX+~5A XF7o*z

水利图书.y!b/~e.s

   Null-Pointer Assignment Partition  水利图书Wxy+u _w%L{Ab

^"Z4s;N[ A4N#q0   User-Mode Partition  水利图书6\[ ~CG!Um

水利图书^Xy5c?$K"LE

   Kernel-Mode Partition  水利图书^-u-I(Z4LK+_

水利图书,M/`Y5_5d

  Regions in an Address Space  水利图书-A}G*P4d

[ Ev#I`-h0  Committing Physical Storage Within a Region  水利图书[)h4G*q3J}&EqA

2B(X7MG0j!?B0  Physical Storage and the Paging File  水利图书BLZDvhqd1L c

水利图书9v\1m(r7U2?&E%U

   Physical Storage Not Maintained in the Paging File  

Pn&k%RB#l0

5L'Q(hyv4pO_Y0  Protection Attributes  

0q/})w:mk!Q0

N$hhz8_,q&h0   Copy-on-Write Access  水利图书:^X-w(V6zod^3O

水利图书0T\xh*t0~sA

   Special Access Protection Attribute Flags  水利图书'JD#x3B^:J

bM0r/@A E@o0  Bringing It All Home  

S.CH8jVZ3s{0 水利图书SC(`1N ?vKl

   Inside the Regions  水利图书,v K N'o4H8Qcc

水利图书zQ[H+hbC|

  The Importance of Data Alignment  水利图书t"uGtK6Z,Nl

^#b-X4o!g'[x014 Exploring Virtual Memory  水利图书^Si~z%`b-nJ`

水利图书a Ua A'Ys#b

  System Information  

CX PT0q~!t8q0

J I*CR"lj/b_}0   The System Information Sample Application  水利图书!D:[OH:Tc-_{

a)f;_&kYVF7v`0  Virtual Memory Status  水利图书qo5|Y F1zv$d

水利图书VZF[pg~)K1gI

  Memory Management on NUMA Machines  

,`)ue:@ {l+L0

ws"Su7KCo7j{n-b0   The Virtual Memory Status Sample Application  水利图书#Tbr#s5{n

水利图书8^%~p0WO zo M

  Determining the State of an Address Space  

1g-I l&{{sb;W0 水利图书#s8\ q?c!n

   The VMQuery Function  

UQK"p vM+YAT0

A {j$V#XP|0   The Virtual Memory Map Sample Application  水利图书 db O J Y [/b0v

水利图书D~-Q3K2I3P&iF

15 Using Virtual Memory in Your Own Applications  水利图书`0u0X tud2Sp-B:f$~

!^"y#^J6pBi0  Reserving a Region in an Address Space  水利图书koqd!t_N-[5`!M

水利图书$W{?0Wm0@w,Kf4C

  Committing Storage in a Reserved Region  

*e2d2`3A x0 水利图书8i @3x xt m6k)H

  Reserving a Region and Committing Storage Simultaneously  

|)p)p J\T)Awa!DO I0

V)g N5Z6AJ0  When to Commit Physical Storage  水利图书STFb`Mba2P d,g

fZ6C F J?-~0  Decommitting Physical Storage and Releasing a Region  水利图书$T%@eOXOF H_rt0Y

水利图书KL4VDQ.So.[Xr

   When to Decommit Physical Storage  

KMD'sX vUhP0 水利图书W i+Z%A*j

   The Virtual Memory Allocation Sample Application  水利图书\3K A!V;H\1JS

水利图书6o(kHa6M U

  Changing Protection Attributes  水利图书&MCz+^'IF

水利图书Rg^#fxC-c

  Resetting the Contents of Physical Storage  水利图书 E~_-d+v+_

水利图书;IT!Od-Xe+m,Rk

   The MemReset Sample Application  水利图书b3G-y d;aQ

水利图书 CT,Dw(Kp

  Address Windowing Extensions  水利图书&Yv R_j

or\b m9WH$_/i0   The AWE Sample Application  水利图书L5n"y1N`]*g_(ld

水利图书D&gjry

16 A Thread’s Stack  

_0l7HrSJZ:g-sF0

&PD2Y d+W!@A7M0  The C/C++ Run-Time Library’s Stack-Checking Function  

/co xe8D@9Z"UX Z0

2@4pSUt*E0  The Summation Sample Application  

M2exC%n&}0

k(Fwbzst017 Memory-Mapped Files  

e a*F9O/X e y4M.C[0

ZYh6V/OZ0  Memory-Mapped Executables and DLLs  水利图书-R T~I q@

&_:V2Z[3g#j0   Static Data Is Not Shared by Multiple Instances of an Executable or a DLL  水利图书Q^.\{Z

水利图书4Oil9v6L*xQ3n

  Memory-Mapped Data Files  

q1W1d"FY0

;I yo\f3]1g'j A0   Method 1: One File, One Buffer  水利图书,m1W#} W!}qnhn \t

水利图书1rn G"e~z$s5G3f*Z

   Method 2: Two Files, One Buffer  

4YGEJ,I!?(p4A}0

S1@*L yN0   Method 3: One File, Two Buffers  水利图书*J5l8i{`

水利图书%M H8\f~-EZy"i

   Method 4: One File, Zero Buffers  

r|`W'dEemB0

Z J#pU%D pmv[^0  Using Memory-Mapped Files  

!I$tmg,cI0

(Gqw.p#Oc]y*Y)H0   Step 1: Creating or Opening a File Kernel Object  

dg*P%d1EC ]2l0

(v-pr"@{+[0   Step 2: Creating a File-Mapping Kernel Object  

0A1er.j&Rw{.w L0

r5L8Y3nrA0   Step 3: Mapping the File’s Data into the Process’ Address Space  水利图书 k N-q-@Y2`rd

水利图书0ss;h]8_8Pd'{w9j

   Step 4: Unmapping the File’s Data from the Process’ Address Space  

,cLS7ev0 水利图书 O@3R,\5e9i:`o$o

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

Q8r c2E;o8q7D-^/z0 水利图书A.T(H:[,J:ld!]#PG

   The File Reverse Sample Application  水利图书.P7hvl&c9U L-c

)fn;yi%j#L h wT!g0  Processing a Big File Using Memory-Mapped Files  

(d} K XU[!{o0

zax EA*Z0  Memory-Mapped Files and Coherence  

.c;Z$}-X;Z_#G0 水利图书O5b/u{"Y(F5j

  Specifying the Base Address of a Memory-Mapped File  

SX5@&B GF'?6D0 水利图书4{u%V:qs

  Implementation Details of Memory-Mapped Files  

&~E%u S4KU/S0 水利图书G$e7_#C5R*^'VCw

  Using Memory-Mapped Files to Share Data Among Processes  水利图书[3z-~2ilXy

4c*lp,f@0  Memory-Mapped Files Backed by the Paging File  水利图书'w:H.~la1C

水利图书/Pm9St*~^nZX

   The Memory-Mapped File Sharing Sample Application  

6v3L @H [^]!\_1_{Y/B0 水利图书l/@&`4V6FSq

  Sparsely Committed Memory-Mapped Files  

)A:iRo:F6_+C*mqL0 水利图书u3Q?e)a!B-`PQh

   The Sparse Memory-Mapped File Sample Application  

({L'z3C u2c$I!m0 水利图书*Q HGz-CI@

18 Heaps  

&k\\.z.g:`|.J4D0

n @7my$z9k{)nt?0  A Process’ Default Heap  

~'Rb+}w'D+A5Q0

%E/]| a5d(A(o&z'O1Th0  Reasons to Create Additional Heaps  水利图书f D5A5Ad,N@

水利图书.L/aQxi{kS

   Component Protection  

Z y0A,@M YG0kT+K0

x!hc ?#R0   More Efficient Memory Management  

.svX Md nFT-^"}O6Q0 水利图书8u_Hs$dtuQx2Y

   Local Access  水利图书3k$d(j%i$t.? R,}C`

水利图书0bR;A[D O!r

   Avoiding Thread Synchronization Overhead  

1G'|:\4l^"I!~ I0 水利图书/A4P:?B/W

   Quick Free  水利图书5x*m8y8U?ja0k y5B k8G

水利图书 I(aS]4y LO8B

  How to Create an Additional Heap  

y-C d'C(Z'd)Q$dCr0

$R gh&H!W$txK;b0   Allocating a Block of Memory from a Heap  

,w8WbFx-A*_-w$\0 水利图书 da#D Rr

   Changing the Size of a Block  水利图书R"Z1t9s:_2{2A J:Dy

w?s0O?9G|B0M0   Obtaining the Size of a Block  水利图书?jy u_&~"zR

9`blN-stz0   Freeing a Block  水利图书X"` T,gZ6E5yd

)pl*G#r} f$q0   Destroying a Heap  

b'p|y1_4Z!G LLx0 水利图书#S5lO!x)T?Y

   Using Heaps with C++  水利图书:L ^;Y|T6g:LwN

水利图书u2`\;z9X1^

  Miscellaneous Heap Functions  

#fMj9\zx0ej0 水利图书#^ G9[!|Zt:[

Part IV Dynamic-Link Libraries水利图书R.R6^J%g?s K8d

wp j+K2y019 DLL Basics  水利图书%as(eY#X2iw

水利图书 \ DO&g [ ~

  DLLs and a Process’ Address Space  

$};v,R'S!|%v0

l.Z Ect @3|E0  The Overall Picture  

0O#v5T*^ q0 水利图书u j]jij@

   Building the DLL Module  水利图书;`,J't{&u7W `u|.g

U/{} gXHj-s0   Building the Executable Module  水利图书x)cn(EX m@/q)?U

Pz$x4c8L;}lgH.UL0   Running the Executable Module  水利图书q8p%M ?D-]Q?

~la$V#r5` lwM020 DLL Advanced Techniques  

VZ5p-?7_Mxu/i0

/A`1vvI ~1o'v,X0  Explicit DLL Module Loading and Symbol Linking  水利图书Wx{4i {#w

t9H~3b#\)_,}q.S0   Explicitly Loading the DLL Module  

%w@W-xFk0

X3Y^A%Z5n"s8B0   Explicitly Unloading the DLL Module  

8q:q"c7cN^k0

bcY&^l*?0p?8]-CGd0   Explicitly Linking to an Exported Symbol  水利图书[R;Vz(X-xC8MDg

J_PZ {}'a!{f0  The DLL’s Entry-Point Function  水利图书Z4H9[[X0BV:t

水利图书/x-\d+_as#[

   The DLL_PROCESS_ATTACH Notification  水利图书rM}[_n5se

B ].d$}L:j)BJ0   The DLL_PROCESS_DETACH Notification  水利图书{f+Uz.Ah

水利图书e ?mju9Jg)B&L*s

   The DLL_THREAD_ATTACH Notification  

B9Q^X;B?,i?4M0 水利图书#M0y.wwD!e

   The DLL_THREAD_DETACH Notification  

D8J,]^^({0

h%[:\s'~"z0gH0   Serialized Calls to DllMain  水利图书2t8s\ Ng)V9VZ g

fi ~)a%wn3RT0   DllMain and the C/C++ Run-Time Library  

JY#Qj-Nt0 水利图书j;m1? [{Lg*q'D5C#F

  Delay-Loading a DLL  

u"@`#c-WG#o]0 水利图书~%JCCd6h2} ] T0g%gr

   The DelayLoadApp Sample Application  水利图书 ^C^$xa's7f

(L)Y-Ad&S"r0  Function Forwarders  

zPFG5OK3vJ0

M3V:wntq0P0  Known DLLs  

1a?7\sO1Z0

4T2~ o9z)^p0  DLL Redirection  

V?7fy OC5u6s5T0n#f/F0

+l ~` e6x2|5H0  Rebasing Modules  

] @3m$?7O;_kv1g&b,f LH0

+_(I"k B`+m F;k0  Binding Modules  水利图书8G(X)~/@5v w7]

水利图书AL&r&Ct1S;m}

21 Thread-Local Storage  水利图书y]*|i2I*^6\`J

水利图书,b:] O kn"Y Q9}/N}

  Dynamic TLS  

.tS6uF u0 水利图书p)J7~s+W3r$xtx_&x

   Using Dynamic TLS  

!ikZI J0~|5t0

p O&o i]9Xj0  Static TLS  水利图书4^K4@6S \,T-h"r`US'F8h

水利图书@F5p.@/pg-|9qX

22 DLL Injection and API Hooking  

)Q{?l`2g%RT0 水利图书j:JT3{ f)i{

  DLL Injection: An Example  水利图书2ijDE0[

T;x f!c k(o0  Injecting a DLL Using the Registry  水利图书 Y/D1uh2w.rn.[0Z

G6IKfsi0  Injecting a DLL Using Windows Hooks  

|-M)Pd]8J.[P8\ z0

Co"^aK,tzE+P \0   The Desktop Item Position Saver (DIPS) Utility  水利图书/P/b%O:T!e}L

水利图书's#v.p*nQ+I+t

  Injecting a DLL Using Remote Threads  水利图书@&wdb7WUEma;H

水利图书+fsP9Q]1o

   The Inject Library Sample Application  

N1T ~2LT%oH3\$N{0

_-ks ~p n0   The Image Walk DLL  水利图书/Ao5O KpD*~b

水利图书g-qvDU0b

  Injecting a DLL with a Trojan DLL  水利图书#}az#@.l_$_4YxY

@|mF-| N%r0  Injecting a DLL as a Debugger  

O%yu`Y(]0

M:d(G8J$d5ZhmAr T!w0  Injecting Code with CreateProcess  

BZ"W;S|+V0

7M;_FSS [bU0  API Hooking: An Example  

QZ ` kv0

,zi P Y%yb qV"@_1~ z0   API Hooking by Overwriting Code  水利图书'o#z0~T|!W b(J

水利图书 gGr!q&o#tf et$j

   API Hooking by Manipulating a Module’s Import Section  

0mg w+~+ce0

/jbLi9J$c/aoU0   The Last MessageBox Info Sample Application  

u:i[#~vW}0 水利图书 i4A%GW:sNG(^ w2x6h

Part V Structured Exception Handling水利图书P+a0[Vzf

水利图书\l:[aj:Z)V8{.R@C

23  Termination Handlers  水利图书Y ]:C0z,`7U\ J$Z;o*R

N$hm9\-s_:x:c^6Y0  Understanding Termination Handlers by Example  

TS_+^1iqf0 水利图书"EX%Ev b}

   Funcenstein1  

?&e Y.B qmq1k0 水利图书o5V9R i-TO

   Funcenstein2  水利图书AVFY9u

M z4[4o(S'u"zYN`0   Funcenstein3  水利图书3[*qDfA3I

水利图书$DIR!ii

   Funcfurter1  水利图书5QiWyD,s}

pa4Q:TC Gr.}0   Pop Quiz Time: FuncaDoodleDoo  

8z5e4Vq'Q E0

zN8Wv6y dY,S5U0   Funcenstein4  水利图书d;@5Sl.[Z6to4@5E$GRA$}

水利图书;g+CXvc)hB qB`I2}^

   Funcarama1  水利图书[LjBN7A*E9z%g5j7\

7WR J-MJ^R C5A;t0   Funcarama2  水利图书H*?n.f%u)QC0RU

IC+s3L7Ko4K0   Funcarama3  

TA5Shn J A0 水利图书~-p t`w-h5T2j!G9D

   Funcarama4: The Final Frontier  

}@FR w q)V{0

)z^se9y+w,~0H:\0   Notes About the finally Block  

(U:oWO1X(g4m3z0

6^e9kn BY'y0E-h#In0   Funcfurter2  水利图书,\3^%mL1Rc w

水利图书*Y%D-cw&p

   The SEH Termination Sample Application  水利图书.M"o4G a lv2v

水利图书Z Etc*gJyD

24 Exception Handlers and Software Exceptions  

8U0P r.vGuq_0

s:wiEp0  Understanding Exception Filters and Exception Handlers by Example  

,\8k;d toY0 水利图书7W a{ne/f)\a1v

   Funcmeister1  

umE f%b0

(~ L:s.T {a'yJ5B7jw*y0   Funcmeister2  水利图书b&EHz&y/vD{"X1F(`

7l*FS9B2AmE0  EXCEPTION_EXECUTE_HANDLER  

|w8IWW,w0W#V0 水利图书%`:[3i;M,t9i

   Some Useful Examples  水利图书#[/\O-Q-MP(|5JfB

水利图书R ql,T,\

   Global Unwinds  水利图书b&@ p1};KA:tK!KX_

oq'f YQ~"K J0   Halting Global Unwinds  水利图书2XC$DwT/Nw:g C

水利图书dI0{B4p3P3DE6x%n

  EXCEPTION_CONTINUE_EXECUTION  

2n1L C#j2Bw;i P0

.^#qc f.N(Lvr1[LW0   Use EXCEPTION_CONTINUE_EXECUTION with Caution  水利图书(X]d+i%kr Z }!Nk8b

gW+c+e\+jz mbYz0  EXCEPTION_CONTINUE_SEARCH  

'Su7f [ M0

)V0Sv&gQ0  GetExceptionCode  

#S7kn(g!dJ8Z }1M2m.E0 水利图书u pq ]a.qK sO

   Memory-Related Exceptions  水利图书,f"_]v4UY]

:yo!D4@ab4n;},|R0   Exception-Related Exceptions  水利图书i.?iXr*S,C#Qs0V

x+d:}D l `0   Debugging-Related Exceptions  

F)\,Fz V0 水利图书Mz.vY{ r$y["V

   Integer-Related Exceptions  

7W D"c|8i cX.N,rSD&?/IW0

N q;lbi0   Floating Point–Related Exceptions  水利图书VHLZ.I4_5l

水利图书f}k2yGrf9J

  GetExceptionInformation  水利图书;`(`+k\uW9H-c

;p%ZjU?/[H$}0  Software Exceptions  水利图书Up3xm/C }f8a@w |

水利图书@D%wz r6m.M

25 Unhandled Exceptions, Vectored Exception Handling, and C++ Exceptions  水利图书}h*^ k4ASUu

水利图书 Gw3i,_"QwK'~

  Inside the UnhandledExceptionFilter Function  

#Mz;?1\D0

:eI)ge V rU0h0   Action #1: Allowing Write Access to a Resource and Continuing Execution  

PUl3v'I;x\s0

j `]^7J }[Y0   Action #2: Notifying a Debugger of the Unhandled Exception  

K Y? I EL(rFT0

#z8G%f'E(vY _0   Action #3: Notifying Your Globally Set Filter Function  水利图书TC,tg2j1yNZ

水利图书8k(su@1p.F _EoP&c

   Action #4: Notifying a Debugger of the Unhandled Exception (Again)  水利图书 hEo] P

bLhB$Q5[l*\W0   Action #5: Silently Terminating the Process  水利图书/I2K O7gXsRR

`9enU }I#hms0   UnhandledExceptionFilter and WER Interactions  水利图书&K(K5f+p:H z

UYm(L.uT;f%H%C(YJ0  Just-in-Time Debugging  水利图书ZV(sj%v

水利图书9m+W Car*N

  The Spreadsheet Sample Application  

{P8|3]_wa(u0 水利图书0q+T_QO u(q

  Vectored Exception and Continue Handlers  水利图书TC8brnG;n1D9~

水利图书Sd+fl|

  C++ Exceptions vs  Structured Exceptions  

x%Gb7L}0 水利图书 Tw"bZ@y#A2y/Aa

  Exceptions and the Debugger  

L)HM'ij0iV0 水利图书5m$V#U)D|8@-]t0N

26 Error Reporting and Application Recovery  

y;q }a+J z$_+Q.V0 水利图书#if.|O6Q

  The Windows Error Reporting Console  水利图书X*QA;K,YK2@x B

水利图书jU'[O;e2NW~T

  Programmatic Windows Error Reporting  

nj#kPQ1B:~0 水利图书 ~]&sN Of J.Z:Ld

   Disabling Report Generation and Sending  水利图书C0S"Qn3O0N

B Dq0t ^z3Q0@]L0  Customizing All Problem Reports Within a Process  

A_ {-i4A7B3t4V\$S0

#_P{tT#PP0  Creating and Customizing a Problem Report  水利图书!T.JI hf%]

水利图书6M(r kAB }

   Creating a Custom Problem Report: WerReportCreate  水利图书V}#~8t;Z

_3PR&^q/c0   Setting Report Parameters: WerReportSetParameter  

]E#wg"v @&F0

F4\HL$a F\4M(@0   Adding a Minidump File to the Report: WerReportAddDump  

*k g%PNR^-^5Z0

X3_b+S*O?-R(t0   Adding Arbitrary Files to the Report: WerReportAddFile  水利图书7~~V oD"Wq5h0pD

{;LG.i.W-S^0   Modifying Dialog Box Strings: WerReportSetUIOption  

qjM4Y(Q.E_%Z0

A B5WWZ;|!]0   Submitting a Problem Report: WerReportSubmit  水利图书Qr5t j|/T ]!a+d

水利图书;|E0q!Dup+Y

   Closing a Problem Report: WerReportCloseHandle  

WO#J2`/{c4P @0

Pld3T1RC3RS0   The Customized WER Sample Application  水利图书#pQ$|[/pX4lW

水利图书.Y.{Kk(`E:q6l

  Automatic Application Restart and Recovery  

B3w8VF:QQ0

WS p9F~R0   Automatic Application Restart  水利图书lQ+u_R ^#x*s:[

k{:p J |$Z'k0   Support for Application Recovery  

@s!RuTZE;D#A?0 水利图书iha^Z

Part VI Appendixes

6j(U}&[f0 水利图书f(dP|.k%n

A The Build Environment  

&c;XdGKB:{O&E0

_5lM"WO-?0  The CmnHdr.h Header File  

p,z:?NZ Z0 水利图书'RW6H]w!t2i

   Microsoft Windows Version Build Option  

VKdhD [I0Qo0

}Dmm$om0   Unicode Build Option  

tC^$zC&|0 水利图书:R4[w1@[

   Windows Definitions and Warning Level 4  

Cl$U@5C\#P:R#d0 水利图书%}+R?,Hcu }

   The pragma message Helper Macro  

rrTR~T-k-N]0

Uj gn)L_t0   The chINRANGE Macro  

aO&N*p8t,|S_ O tG/Y0

RKE1T;vW0@q;S:y0   The chBEGINTHREADEX Macro  

%K hm}v0 水利图书.pG%F7\.M`(f?E

   DebugBreak Improvement for x86  Platforms  水利图书([I%su(Dq

水利图书,g o)c `F;Q

   Creating Software Exception Codes  

`)r'f K%L)D4[0

%W@+mkcTPK0   The chMB Macro  

`bl*Y*q`?/rXp f0

M({3jLfq N0   The chASSERT and chVERIFY Macros  

w0@{&h*BP0 水利图书q U ?]0m

   The chHANDLE_DLGMSG Macro  

i4K;h bS8j?}D0 水利图书 bo8MJ^F3VN`

   The chSETDLGICONS Macro  水利图书8L2d2g*Z2[%h7m

水利图书,h#z#DII

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

+t'W-z8]A4z"G0

6Ll)LSOg?0   Support XP-Theming of the User Interface with pragma  水利图书r.w s;Ke/X Us,s2q7`

%k0a&x;Y o/X|0B Message Crackers, Child Control Macros, and API Macros  

&Zt:F;\ @9b!w a0 水利图书7X+V7R0f]}g:w+~xg1W:L

  Message Crackers  

/p%o JJ+D"A E\l0 水利图书]@9k'P^ug

  Child Control Macros  

Ql2HFI"?pwP^o0

0TL!J4y r*]0  API Macros  水利图书!zZ:j+zK q~J

`7Ku%k4C7S0Index  

-bf(p!HD S O:fP V0

9qJ9n3_[0书摘与插图水利图书r9y;Qy-Yp)b

V+u ZMiCJR9wi5{0

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

水资讯网广告招租

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

广告投放

广告投放