// storport.h
typedef struct _STOR_GROUP_AFFINITY {
STOR_AFFINITY Mask;
USHORT Group;
USHORT Reserved[3];
} STOR_GROUP_AFFINITY, *PSTOR_GROUP_AFFINITY;
View the official Windows Driver Kit DDI referenceNo description available.
The STOR_GROUP_AFFINITY structure specifies a group number and the processor affinity within that group.
MaskA STOR_AFFINITY value that specifies the affinity mask. The bits in the affinity mask identify a set of processors within the group identified by Group.
GroupSpecifies the group number.
ReservedReserved for future use. Set all three Reserved array elements to zero.
A STOR_GROUP_AFFINITY structure describes a thread affinity, which is a set of processors on which a thread is allowed to run. Mask contains an affinity mask that identifies the processors in the set. All of the processors in this set belong to the group that is identified by the Group member of the structure.
The StorPortSetSystemGroupAffinityThread and StorPortRevertToUserGroupAffinityThread routines use STOR_GROUP_AFFINITY structures to specify thread affinities.
StorPortRevertToUserGroupAffinityThread
StorPortSetSystemGroupAffinityThread