STOR_GROUP_AFFINITY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-storport-stor_group_affinity)

Description

The STOR_GROUP_AFFINITY structure specifies a group number and the processor affinity within that group.

Members

Mask

A 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.

Group

Specifies the group number.

Reserved

Reserved for future use. Set all three Reserved array elements to zero.

Remarks

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.

See also

StorPortRevertToUserGroupAffinityThread

StorPortSetSystemGroupAffinityThread