NdisSetPollAffinity - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// poll.h

void NdisSetPollAffinity(
  [_In_] NDIS_POLL_HANDLE       PollHandle,
  [_In_] PROCESSOR_NUMBER const *PollAffinity
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-poll-ndissetpollaffinity)

Description

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

Parameters

PollHandle [_In_]

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

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