System affinity mask from kernel mode.

Hi Guys,
Is there a handy way to retrieve the system affinity mask from kernel
mode (nt 32 bit)? I can set it (the affinity mask for the current running
thread) ok with ZwSetInformationThread but there is no documented
ZwGetInformationThread function. Any thoughts?

Thanks!

Hi Guys,
Is there a handy way to retrieve the system affinity mask from kernel
mode (ntos 32 bit)? I can set it (the affinity mask for the current running
thread) ok with ZwSetInformationThread but there is no documented
ZwGetInformationThread function. Any thoughts?

Thanks!