Click or drag to resize
Xcalibur Systems LLC Logo

SystemInfoHelperGetLogicalProcessorInformation Method

Retrieves information about logical processors and related hardware.

GetLogicalProcessorInformation function


Namespace: Xcalibur.NativeMethods.V2.SystemInfo
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("kernel32.dll", SetLastError = true)]
public static bool GetLogicalProcessorInformation(
	IntPtr buffer,
	ref uint returnLength
)

Parameters

buffer  IntPtr
A pointer to a buffer that receives an array of structures. If the function fails, the contents of this buffer are undefined.
returnLength  UInt32
On input, specifies the length of the buffer pointed to by Buffer, in bytes. If the buffer is large enough to contain all of the data, this function succeeds and ReturnLength is set to the number of bytes returned. If the buffer is not large enough to contain all of the data, the function fails, returns , and ReturnLength is set to the buffer length required to contain all of the data. If the function fails with an error other than , the value of ReturnLength is undefined.

Return Value

Boolean
If the function succeeds, the return value is nonzero. To determine whether the function adjusted all of the specified privileges, call .
See Also