// poll.h
void NdisSetPollAffinity(
[_In_] NDIS_POLL_HANDLE PollHandle,
[_In_] PROCESSOR_NUMBER const *PollAffinity
);
View the official Windows Driver Kit DDI referenceNo description available.
A miniport driver calls the NdisSetPollAffinity function to lock an NdisPoll callback to a processor.
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.
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.