Compartilhar via


CeGetThreadAffinity (Compact 2013)

3/28/2014

This function obtains the thread affinity of the specified thread.

Syntax

BOOL WINAPI CeGetThreadAffinity (
    HANDLE hThread,
    PDWORD pdwThreadAffinity,
);

Parameters

  • hThread
    [in] Handle to the desired thread.
  • lpThreadAffinity
    [out] Pointer to a variable that receives the affinity for the specified thread.

Return Value

A non-zero value indicates success, and this function sets the variables pointed to by lpThreadAffinity to the affinity of the tread. Zero indicates that no affinity is set.

Requirements

Header

kfuncs.h,
winbase.h

Library

coredll.lib

See Also

Reference

SMP Functions
CeGetProcessAffinity
CeSetThreadAffinity
CeSetProcessAffinity