Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
 KeSetSystemAffinityThread

  Switch on low bandwidth view
Windows Driver Kit: Kernel-Mode Driver Architecture
KeSetSystemAffinityThread

The KeSetSystemAffinityThread routine sets the system affinity for the current thread.

VOID
  KeSetSystemAffinityThread(
    IN KAFFINITY  Affinity
    );

Parameters

Affinity
A KAFFINITY-typed variable that receives a bitmap that represents the set of currently active processors. Note that in a hot-add environment, the set of active processors might change during run time.

Return Value

None

Requirements

Versions: Available on Microsoft Windows 2000 and later versions of the Windows operating system. Use KeSetSystemAffinityThread only on systems before Windows Vista. On Windows Vista and later versions of the Windows operating system, use KeSetSystemAffinityThreadEx instead.

IRQL: <=DISPATCH_LEVEL

Headers: Declared in Wdm.h. Include Wdm.h.

See Also

KAFFINITY, KeSetSystemAffinityThreadEx


Send feedback on this topic
Built on May 20, 2009
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker