《Windows/Win32/Windows NT 程序设计专用API函数参考 第3卷》PDF下载

  • 购买积分:16 如何计算积分?
  • 作  者:(美)Herbert Schildt等著;万 方译
  • 出 版 社:北京:学苑出版社
  • 出版年份:1994
  • ISBN:7507708853
  • 页数:549 页
图书介绍:

第一章 原子 1

AddAtom 1

DeleteAtom 1

FindAtom 2

GetAtomHandle 2

GetAtomName 2

GlobalAddAtom 2

GlobalDeleteAtom 3

GlobalFindAtom 3

GlobalGetAtomName 3

InitAtomTable 4

MAKEINTATOM 4

一个完整的编程实例 4

第二章 通讯函数 7

BuildCommDCB 7

ClearCommBreak 11

ClearCommError 12

CloseComm 13

EnableCommNotification 13

EscapeCommFunction 14

GetCommError 15

GetCommEventMask 16

GetCommMask 16

GetCommModemStatus 17

GetCommProperties 18

GetCommState 20

GetCommTimeouts 20

OpenComm 21

PurgeComm 21

SetCommBreak 22

SetCommEventMask 22

SetCommMask 23

SetCommState 23

SetCommTimeouts 24

SetupComm 24

TransmitCommChar 25

WaitCommEvent 25

一个完整的编程实例 26

第三章 调试支持 29

ContinueDebugEvent 29

DebugActiveProcess 29

DebugBreak 29

FAR DebugOutput 30

FatalAppExit 30

FatalExit 30

GetThreadContext 31

OutputDebugString 31

ReadProcessMemory 31

SetThreadContext 32

WaitForDebugEvent 32

WriteProcessMemory 35

第四章 下拉文件函数 36

DragAcceptFiles 36

DragFinish 36

DragQueryFile 36

DragQueryPoint 37

一个完整的编程实例 37

第五章 动态数据交换(DDE) 40

DdeAbandonTransaction 40

DdeAccessData 40

DdeAddData 41

DdeClientTransaction 41

DdeCmpStringHandles 42

DdeConnect 42

DdeConnectList 43

DdeCreateDataHandle 44

DdeCreateStringHandle 45

DdeDisconnect 45

DdeDisconnectList 46

DdeEnableCallback 46

DdeFreeDataHandle 46

DdeFreeStringHandle 47

DdeGetData 47

DdeGetLastError 47

DdeImpersonateClient 48

DdeInitialize 48

DdeKeepStringHandle 53

DdeNameService 54

DdePostAdvise 55

DdeQueryConvInfo 55

DdeQueryNextServer 56

DdeQueryString 57

DdeReconnect 57

DdeSetQualityOfService 57

DdeSetUserHandle 58

DdeUnaccessData 58

DdeUninitialize 59

一个完整的编程实例 59

第六章 环境存取 66

GetCommandLine 66

GetDOSEnvironment 66

GetEnvironmmentStrings 66

GetEnvironmentVariable 67

GetStartupInfo 67

GetVersion 68

SetEnvironmentVariable 69

一个完整的编程实例 69

第七章 错误相关函数 72

Beep 72

ExitWindows 72

ExitWindowsEx 72

ExitWindowsExec 73

FlashWindow 73

SetLastError 74

SetErrorMode 74

SetLastError 75

SetLastErrorEx 75

一个完整的编程实例 75

第八章 事件登录 79

BackupEventLog 79

ClearEventLog 79

CloseEyentLog 80

DeregisterEventSource 80

GetNumberOfEventLogRecords 80

GetOldestEventLogRecord 80

OpenBackupEventLog 81

OpenEventLog 81

ReadEventLog 82

RegisterEventSource 83

ReportEvent 84

一个完整的编程实例 84

第九章 例外处理 87

AbnormalTermination 87

GetExceptionCode 88

GetExceptionInformation 88

RaiseException 89

SetUnhandledExceptionFilter 89

UnhandledExceptionFilter 90

一个完整的编程实例 90

第十章 句柄复制 93

DuplicateHandle 93

第十一章 钩子函数 94

CallMsgFilter 94

CallNextHookEx 95

SetWindowsHook 95

SetWindowsHookEx 95

UnhookWindowsHook 98

UnhookWindowsHookEx 99

一个完整的编程实例 99

第十二章 初始化文件函数 103

CloseProfileUserMapping 103

GetPrivateProfileInt 103

GetPrivateProfileSection 104

GetPrivateProfileString 104

GetProfileInt 105

GetProfileSection 105

GetProfileString 106

OpenProfileUserMapping 106

WritePrivateProfileSection 106

WritePrivateProfileString 107

WriteProfileSection 107

WriteProfileString 108

一个完整的编程实例 108

第十三章 安装和压缩函数 113

CopyLZFile 113

GetExpandedName 113

GetFileResource 114

GetFileResourceSize 114

GetFileVersionInfo 115

GetFileVersionInfoSize 115

LZClose 116

LZCopy 116

LZDone 116

LZDInit 116

LZOpenFile 117

LZRead 117

LZSeek 118

LZStart 118

VerFindFile 119

VerInstallFile 119

VerLanguageName 121

VerQueryValue 121

一个完整的编程实例 121

第十四章 映像文件 125

CreateFileMapping 125

FlushViewOfFile 126

MapViewOfFile 126

MapViewOfFileEx 127

OpenFileMapping 127

UnmapViewOfFile 128

一个完整的编程实例 128

第十五章 MDI(多重文档界面)函数 132

CreateMDIWindow 132

DefMDIChildProc 133

TranslateMDISysAccel 133

第十六章 存储器的分配和管理 134

GetProeessHeap 134

GlobalAlloc 134

GlobalCompact 135

GlobalDiscard 135

GlobadDosAlloc 135

GlobalDosFree 136

GlobalFlags 136

GlobalFree 136

FAR★GlobalLock 136

GlobalMemoryStatus 137

GlobalNotify 138

GlobalReAlloc 138

GlobalSize 139

GlobalUnlock 139

HeapAlloc 139

HeapCreate 140

HeapDestroy 140

HeapFree 141

HeapReAlloc 141

HeapSize 142

IsBadCodePtr 142

IsBadHugeReadPtr 142

IsBadHugeWritePtr 143

IsBadReadPtr 143

IsBadStringPtr 143

IsBadWritePtr 143

LocalAlloc 143

LocalCompact 144

LocalDiscard 144

LocalFlags 145

LocalFree 145

LocalHandle 145

LocalLock 145

LocalReAlloc 146

LocalSize 146

LocalUnlock 147

VirtualAlloc 147

VirtualFree 148

VirtualLock 148

VirtualProtect 149

VirtualProtectEx 149

VirtualQuery 150

VirtualQueryEx 150

VirtualUnlock 151

一个完整的编程实例 152

第十七章 图元文件 155

CloseEnhMetaFile 155

CloseMetaFile 156

CopyEnhMetaFile 157

CopyMetaFile 158

CreateEnhMetaFile 159

CreateMetaFile 161

DeleteEnhMetaFile 162

DeleteMetaFile 163

EnumEnhMetaFile 164

EnumMetaFile 165

GdiComment 166

GetEnhMetaFile 167

GetEnhMetaFileBits 167

GetEnhMetaFileDescription 168

GetEnhMetaFileHeader 168

GetEnhMetaFilePalettaEntries 168

GetMetaFile 169

GetMetaFileBits 170

GetEnhMetaFileBitsEx 170

GetWinMetaFileBits 171

PlayEnhMetaFile 171

PlayEnhMetaFileRecord 172

PlayMetaFile 173

PlayMetaFileRecord 174

SetEnhMetaFileBits 174

SetMetaFileBits 174

SetMetaFileBitsEx 175

SetWinMetaFileBits 175

一个完整的编程实例 176

第十八章 MCI函数 179

mciGetCreatorTask 179

mciGetDeviceID 179

mciGetErrorString 179

mciGetYieldProc 180

mciSendCommand 180

mciSendString 182

mciSetYieldProc 183

第十九章 多媒体计时器 184

timeBeginPeriod 184

timeEndPeriod 184

timeGetDevCaps 185

timeGetSystemTime 186

timeGetTime 187

timeKillEvent 187

timeSetEvent 188

一个完整的编程实例 189

第二十章 MIDI多媒体函数 192

auxGetDevCaps 192

auxGetNumDevs 193

auxGetVolume 193

auxOutMessage 193

auxSetVolumev 194

MessageBeep 194

midiInAddBuffer 195

midiInClose 196

midiInFunc 196

midiInGetDevCaps 197

midiInGetErrorText 198

midiInGetID 198

midiInGetNumDevs 199

midiInMessage 199

midiInOpen 200

midiInPrepareHeader 201

midiInReset 202

midiInStart 202

midiInStop 203

midiInUnprepareHeader 203

MidiOutCacheDrumPatches 204

midiOutCachePatches 205

midiOutClose 206

midiOutFunc 207

midiOutGetDevCaps 207

midiOutGetErrorText 209

midiOutGetNumDevs 209

midiOutGetVolume 210

midiOutLongMsg 210

midiOutOpen 211

midiOutPrepareHeadder 212

midiOutRest 213

midiOutSetVolume 214

midiOutShortMsg 214

midiOutUnprepareHeader 215

一个完整的编程实例 216

第二十一章 多媒体声波函数 219

waveInAddBuffer 219

WaveInClose 220

waveInGetDevCaps 221

waveInGetErrorText 222

waveInGetID 222

waveInGetNumDevs 222

waveInGetPosition 223

waveInMessage 223

waveInOpen 223

waveInPrepareHeader 225

waveInReset 226

waveInStart 226

waveInStop 227

waveInUnprepaerHeader 227

waveOutBreakLoop 228

waveOutClose 228

waveOutGetDevCaps 229

waveOutGetErrorText 230

waveOutGetID 230

waveOutGetNumDevs 230

waveOutGetPitch 231

waveOutGetPlaybackRate 231

waveOutGetPosition 232

waveOutGetVolume 232

waveOutMessage 233

waveOutOpen 233

waveOutPause 234

waveOutPrepareHeader 235

waveOutReset 235

waveOutRestart 236

waveOutSetPitch 236

waveOutSetPlaybackRate 236

waveOutSetVolume 237

waveOutUnprepareHeader 237

waveOutWrite 238

第二十二章 多媒体文件的输入/输出 240

IOProc 240

mmioAdvance 241

mmioAscend 242

mmioClose 243

mmioCreateChunk 244

mmioDescend 245

mmioFlush 245

mmioFOURCC 246

mmioGetInfo 246

mmioInstallIOProc 246

mmioOpen 247

mmioRead 249

mmioRename 250

mmioSeek 250

mmioSendMessage 250

mmioSetBuffer 251

mmioSetInfo 251

mmioStringToFOURCC 252

mmioWrite 252

第二十三章 对象的链接和封装(OLE) 254

OleActivate 254

OleBlockServer 255

OleClone 255

OleClose 256

OleCopyFromLink 256

OleCopyToClipboard 257

OleCreate 257

OleCreateFromClip 258

OleCreateFromFile 259

OleCreateFromTemplate 260

OleCreateInvisible 260

OleCreateLinkFromClip 261

OleCreateLinkFromFile 262

OleDelete 263

OleDraw 263

OleEnumFormats 263

OleEnumObjects 264

OleEqual 264

OleExecute 264

OleGetData 265

OleGetLinkUpdateOptions 265

OleIsDcMeta 266

OleLoadFromStream 266

OleLockServer 267

OleObjectConvert 267

OleQueryBounds 268

OleQueryClientVersion 268

OleQueryCreateFromClip 268

OleQueryLinkFromClip 269

OleQueryName 269

OleQueryOpen 270

OleQueryOutOfDate 270

OleQueryProtocol 270

OleQueryReleaseError 270

OleQueryReleaseMethod 271

OleQueryReleaseStatus 271

OleQueryServerVersion 272

OleQuerySize 272

OleQueryType 272

OleReconnect 273

OleRegisterClientDoc 273

OleRegisterServer 274

OleRegisterServerDoc 274

OleRelease 275

OleRename 275

OleRenameClientDoc 275

OleRenameServerDoc 276

OleRequestData 276

OleRevertClientDoc 276

OleRevertServerDoc 277

OleRevokeClientDoc 277

OleRevokeOjbect 277

OleRevokeServer 278

OleRevokeServerDoc 278

OleSavedClientDoc 278

OleSavedServerDoc 279

OleSaveToStream 279

OleSetBounds 280

OleSetColorScheme 280

OleSetData 281

OleSetHostNames 282

OleSetLinkUpdateOptions 282

OleSetTargetDevice 283

OleUnblockServer 284

OleUnlockServer 284

OleUpdate 285

第二十四章 路径 286

AbortPath 286

BeginPath 286

CloseFigure 287

EndPath 287

FillPath 287

FlattenPath 287

GetMiterLimit 288

GetPath 288

PathToRegion 289

SelectClipPath 289

SetMiterLimit 289

StrokeAndFillPath 290

StrokePath 290

WidenPath 290

一个完整的编程实例 291

第二十五章 管道 293

CallNamedPipe 293

ConnectNamedPipe 294

CreateNamedPipe 295

DisconnectNamedPipe 298

GetNamedPipeHandleState 299

GetNamedPipeInfo 299

ImpersonateNamedPipeClient 300

PeekNamedPipe 301

RevertToSelf 301

SetNamedPipeHandleState 302

TransactNamedPipe 303

WaitNamedPipe 304

第二十六章 打印 305

AbortDoc 305

AbortPrinter 305

AddForm 306

AddJob 306

AddPrinter 307

AddPrinterDriver 308

AddPrintProcessor 309

AdvancedDocumentProperties 310

ClosePrinter 313

DeleteForm 314

DeletePrinter 314

DeletePrinterDriver 314

DeletePrintProcessor 314

DocumentProperties 315

EndDoc 316

EndDocPrinter 316

EndPage 316

EndPagePrinter 316

EnumForms 317

EnumJobs 317

EnumPorts 320

EnumPrinterDrivers 320

EnumPrinters 321

EnumPrintProcessors 323

GetForm 323

GetJob 324

GetPrinter 324

GetPrinterData 326

GetPrinterDriver 326

GetPrinterDriverDirectory 327

GetPrinterProcessorDirectory 328

OpenPrinter 328

PrinterProperties 329

ReadPrinter 329

ScheduleJob 329

SetAbortProc 329

SetForm 330

SetJob 330

SetPrinter 331

SetPrinterData 331

StartDoc 332

StartDocPrinter 333

StartPage 333

StartPagePrinter 333

WritePrinter 334

第二十七章 进程与线程 335

CreateProcess 335

CreateRemoteThread 339

CreateThread 340

ExitProcess 341

ExitThread 342

GetCurrentProcess 342

GetCurrentProcessId 343

GetCurrentThread 343

GetCurrentThreadId 343

GetCurrentTime 344

GetExitCodeProcess 344

GetExitCodeThread 345

GetPriorityClass 345

GetProcessShutdownParameters 346

GetThreadPriority 346

GetThreadSelectorEntry 347

OpenProcess 347

ResumeThread 348

SetPriorityClass 348

SetProcessShutdownParameters 351

SetThreadPriority 351

ShellExecute 351

Sleep 352

SleepEx 353

SuspendThread 353

TerminateProcess 354

TerminateThread 354

WaitForInputIdle 355

WinExec 355

一个完整的编程实例 355

第二十八章 区域 362

CombineRgn 362

CreateEllipticRgn 363

CreateEllipticRgnIndirect 363

CreatePolygonRgn 364

CreatePolyPolygonRgn 364

CreateRectRgn 365

CreateRectRgnIndirect 365

CreateRoundRectRgn 366

EqualRgn 366

ExtCreateRegion 366

FillRgn 367

FrameRgn 368

GetPolyFillMode 368

GetRegionData 368

GetRgnBox 368

InvertRgn 369

OffsetRgn 369

PaintRgn 369

PtInRegion 369

RectInRegion 369

SelectClipRgn 370

SetPolyFillMode 370

一个完整的编程实例 370

第二十九章 登录 373

RegCloseKey 373

RegCreateKey 373

RegCreateKeyEx 374

RegDeleteKey 376

RegDeleteValue 376

RegEnumKey 377

RegEnumKeyEx 378

RegEnumValue 379

RegFlushKey 381

RegNotifyChangeKeyValue 381

RegOpenKey 382

RegOpenKeyEx 382

RegQueryInfoKey 384

RegQueryValue 386

RegQueryValueEx 387

RegReplaceKey 388

RegRestoreKey 389

RegSaveKey 389

RegSetKeySecurity 390

RegSetValue 391

RegSetValueEx 391

一个完整的编程实例 392

第三十章 资源管理 395

EnumResourecLanguages 395

EnumResourceNames 396

EnumResourceTypes 397

FindResource 398

FindResourceEx 399

FreeResource 399

LoadResource 400

LockResource 401

SizeofResource 401

UnlockResource 402

一个完整的编程实例 402

第三十一章 安全性 405

AccessCheck 405

AccessCheckAndAuditAlarm 406

AddAccessAllowedAce 406

AddAce 407

AdjustTokenGroups 408

AdjustToKenPrivileges 409

AreAllAccessesGranted 410

AreAnyAccessesGranted 410

CopySid 410

DeleteAce 411

EqualSid 411

GetAce 412

GetAclInformation 412

GetFileSecurity 413

GetLengthSid 414

GetProcessWindowStation 415

GetSecurityDescriptorControl 415

GetSecurityDescriptorDacL 416

GetSecurityDescriptorGroup 417

GetSecurityDescriptorLength 418

GetSecurityDescriptorOwner 419

GetSecurityDescriptorSacl 419

GetSidIdentifierAuthority(PSID pSID) 420

GetSidLengthRequired 421

GetSidSubAuthority 421

GetSidSubAuthorityCount 422

GetTokenInformation 422

GetUserObjectSecurity 424

ImpersonateNamedPipeClient 425

InitializeAcl 425

InitializeSecurityDescriptor 425

InitializeSid 426

IsValidAcl 427

IsValidSecurityDescriptor 427

IsValidSid 428

MapGenericMask 429

ObjectCloseAuditAlarm 429

ObjectOpenAuditAlarm 430

ObjectPrivilegeAuditAlarm 431

OpenProcessToken 431

OpenThreadToken 432

PrivilegeCheck 432

PrivilegedServiceAuditAlarm 433

SetAclInformation 433

SetFileSecurity 434

SetPrivateObjectSecurity 434

SetSecurityDescriptorDacl 435

SetSecurityDescriptorGroup 435

SetSecurityDescriptorOwner 436

SetSecurityDescriptorSacl 436

SetTokenInformation 437

SetUserObjectSecurity 438

第三十二章 同步 439

CreateEvent 439

CreateMutex 440

CreateSemaphore 441

DeleteCriticalSection 442

EnterCriticalSection 443

InitializeCriticalSection 443

InterlockedDecrement 444

InterlockedIncrement 444

LeaveCriticalSection 444

MsgWaitForMultipleObjects 445

OpenEvent 446

OpenMutex 447

OpenSemaphore 448

PulseEvent 449

ReleaseMutex 450

ReleaseSemaphore 450

ResetEvent 451

SetEvent 451

WaitForMultipleObjects 452

WaitForMultipleObjectsEx 453

WaitForSingleObject 454

WaitForSingleObjectEx 455

一个完整的编程实例 456

第三十三章 线程局部存储器 462

TlsAlloc 462

TlsFree 462

TlsGetValue 463

TlsSetValue 463

如何使用线程局部存储器函数 463

附录A WINDOWS窗口消息快速参照表 465