W

WaitAll() method

WaitHandle class, 360

WaitAny() method

WaitHandle class, 360

WaitCallback delegate

System.Threading, 341

WaitHandle class

Handle property, 360

System.Threading, 360

thread synchronization, 360

WaitAll() method, 360

WaitAny() method, 360

WaitOne() method, 360

WaitOne() method

AutoResetEvent class, 361

ManualResetEvent class, 369

Mutex class, 359

WaitHandle class, 360

WaitOrTimerCallback delegate

System.Threading, 372

Watch window

debugging IL, 53

WBEM, 388

see also WMI.

.NET namespaces, compared to WBEM namespaces, 391

_namespace class

finding child namespace of a namespace, 403

CIM class schema

CIM_LogicalDisk class, 390

WMI, compared to, 388

weak references, 230

.NET weak references different to COM, 231

compared to strong references, 231

example of using, 232

viewing using Task Manager, 235

garbage collector, 230

handling cyclic references, 209

implementing, 231

improving performance using, 231

reasons for using, 231

WeakReference class, 231

Target property, 234

Web-Based Enterprise Management, see WBEM.

Win32 extended schema

CIM class schema, compared to, 390

Win32_DiskPartition class, 393

Win32_Processor class, 386

Win32_DiskPartition class

Win32 extended schema, 393

Win32_LogicalDiskToPartltion, associating using, 393

Win32_LogicalDisk class

Class Details, information about using, 401

comparison with ManagementObject class, 385

Win32 extended schema, 390

Win32_LogicalDiskToPartition, associating using, 393

WMI classes, 384

Win32_Processor class

Win32 extended schema, 386

WMI classes, 386

Windows API

accessing from .NET, 239

DispatchMessage() API call, 419

EmptyWorkingSet() API call, 285

GetMessage() API call, 419

handles, 424

TranslateMessage() API call, 419

VirtualAlloc() API call, 277

VirtualFree() API call, 277

Windows cryptography model, 518

creating certificate, 519

CryptoAPI, 518

CSPs, 518

System.Security.Cryptography, 518

Windows events

event architecture, 416

Windows message, 416

Paint event, 416

Windows Forms, 415

drawing Windows Form controls as XP controls, 434

graphics, 448

handles, 424

message queue, 420

non-Rectangular windows, 437

owner-draw controls, 443

Paint event, 420

programming using message loop, 425

abort dialog, 430

accessing message loop, 425

directly handling messages, 426

execution order, 421

idle processing, 425

initializing application, 428

multithreading, 423

System.Windows.Forms, 420

Windows Management Instrumentation, see WMI.

Windows message, 416

C-style struct, 417

event architecture, 416

processing message, 417

examples, 425

message loop, 417

message queue, 417

registering window class, 419

windows procedure, 417

Windows operating system

accessing API from .NET, 239

API functions, support for resources through, 169

GetMessage() API call, 419

handles, 424

memory allocations, 275

non-Rectangular windows, 437

security

.NET security, compared to, 461

architecture, 457

CAS security, compared to, 457

CLR security, compared to, 475

table of WMI providers, 383

unmanaged resources, 222

lack of support for localization of, 170

windows procedure

Control class, implementing in, 420

Windows message, processing, 417

Windows XP

drawing Windows Form controls as XP controls, 434

loading version 6 of comct132.dll, 435

non-Rectangular windows, 437

SVHOST process, WMI object manager in, 387

WMI, 382

see also WBEM.

API functions, advantages over, 382

architecture, 386

asociation classes

purpose of, 393

asynchronous processing, 407

callback mechanism, 382

history, 383

notifications, 409

security, 388

synchronous operations, 398

System.Management, use of in writing code, 382

WBEM, compared to, 388

Windows XP, use in management for, 382

WMI classes, 384

inheritance, 391

system classes, 392

system properties, 392

Win32_Processor class, 386

WMI class provider, 387

WMI events, 394

WMI instance, 384

WMI methods, 391

WMI object manager, 382

role of, 387

WMI providers, 382

Windows OSs, list for, 382

WMI Query Language, see WQL.

WMI repository, 387

WMIBrowser, 399

WMI association classes

purpose of, 393

Win32_LogicalDiskToPartition class, 393

WMI classes

comparison with .NET classes, 389

error handling, 402

inheritance, 391

Management class, use with, 386

MOF language, 390

problems with identical instances, 389

system classes, 397

system properties, 392

System.Management classes, compared to, 389

Win32_LogicalDisk, 384

Win32_Processor, 386

WMI class provider, 387

WMI events

.NET events, compared to, 394

Extrisic events, 394

Intrinsic events, 394

monitoring display settings, 410

System.Management classes, effective mapping to .NET events using, 394

Timer events, 394

WQL, passing requests using, 397

WMI Instances

MOF language, use of, 390

WMI classes, problems with using identical instances in, 389

WMI object manager

COM interfaces, communication using, 387

ManagementEventWatcher class, notification request using, 409

role of, 387

Windows XP, SVHOST process in, 387

WMI, use in, 382

WMI providers

lack of relationship with namespaces, 392

Windows OSs, list for, 382

WMI, use in, 382

WMI Query Language, see WQL.

WMI repository

WMI, use of in, 387

WMI system classes

__ClassCreationEvent class, 397

__ClassDeletionEvent class, 397

__ClassModificationEvent class, 397

__InstanceCreationEvent class, 397

__InstanceDeletionEvent class, 397

__InstanceModificationEvent class, 397

__NamespaceCreationEvent class, 397

__NamespaceDeletionEvent class, 397

__NamespaceModification Event class, 397

WMIBrowser, 399

Class Details, 400

properties listview, 401

WndProc() method

Control class, 425

directly handling messages, 426

worker threads, 342

wparam

Windows message, 417

WQL, 394

advantages of using, 395

queries, examples of, 397

syntax, 395

WMI events, passing requests for, 397



Advanced  .NET Programming
Advanced .NET Programming
ISBN: 1861006292
EAN: 2147483647
Year: 2002
Pages: 124

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net