Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.71 KB

nf-poll-ndissetpollaffinity.md

File metadata and controls

64 lines (52 loc) · 1.71 KB
UID tech.root title ms.date targetos description req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:poll.NdisSetPollAffinity
netvista
NdisSetPollAffinity
05/13/2021
Windows
The NdisSetPollAffinity function to locks an NdisPoll callback to a set of processors in a group.
function
poll.h
ndis.h
<= DISPATCH_LEVEL
Windows 11
Windows Server 2022
apiref
HeaderDef
poll.h
NdisSetPollAffinity
NdisSetPollAffinity
poll/NdisSetPollAffinity
c++

-description

A miniport driver calls the NdisSetPollAffinity function to lock an NdisPoll callback to a processor.

-parameters

-param PollHandle [In]

A handle to the Poll object returned by a successful call to NdisRegisterPoll.

-param PollAffinity [In]

A pointer to a driver-initialized PROCESSOR_NUMBER structure that describes the core on which the driver wants the NdisPoll callback for this object to be called.

-remarks

After NdisSetPollAffinity returns one poll iteration can still occur with the old affinity. The affinity works when polling both at PASSIVE_LEVEL and DISPATCH_LEVEL IRQL.

-see-also

NdisPoll

NdisRegisterPoll