Compartir a través de


CeGetProcessAffinity (Compact 2013)

3/28/2014

This function obtains the process affinity for the specified process.

Syntax

BOOL WINAPI CeGetProcessAffinity (
    HANDLE hProcess,
    LPDWORD lpProcessAffinity
);

Parameters

  • hProcess
    [in] Handle to the desired process.

    This handle must have the PROCESS_QUERY_INFORMATION access right. For more information, see Process Security and Access Rights.

  • lpProcessAffinity
    [out] Pointer to a variable that receives the affinity for the specified process.

Return Value

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

Requirements

Header

kfuncs.h,
windbase.h

Library

coredll.lib

See Also

Reference

SMP Functions
CeGetThreadAffinity
CeSetProcessAffinity
CeGetThreadAffinity