IopGetNumaNodeInformation
INT64 __stdcall IopGetNumaNodeInformation(
FILE_OBJECT *FileObject,
_FILE_PROCESS_IDS_USING_FILE_INFORMATION *PidBuffer,
UINT64 PidBufferLength,
UINT64 *OutputSize){
_DEVICE_OBJECT *DeviceObject;
_DEVICE_OBJECT *DevicePDO;
struct _DMA_ADAPTER *v7;
NTSTATUS DeviceNumaNode;
USHORT NodeNumber;
DeviceObject = FileObject->DeviceObject;
NodeNumber = 0;
DevicePDO = IopGetDevicePDO(DeviceObject);
v7 = (struct _DMA_ADAPTER *)DevicePDO;
if( !DevicePDO )
return 3221225486i64;
DeviceNumaNode = IoGetDeviceNumaNode(DevicePDO, &NodeNumber);
HalPutDmaAdapter(v7);
if( DeviceNumaNode >= 0 )
LOWORD(PidBuffer->NumberOfProcessIdsInList) = NodeNumber;
return(unsigned int)DeviceNumaNode;
}Referenced by:
NtQueryInformationFile