 |
SystemInfoHelperGetPerformanceInfo Method |
Namespace: Xcalibur.NativeMethods.V2.SystemInfoAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[DllImportAttribute("psapi.dll", SetLastError = true)]
public static bool GetPerformanceInfo(
out PerformanceInformation performanceInformation,
uint size
)<DllImportAttribute("psapi.dll", SetLastError := true>]
Public Shared Function GetPerformanceInfo (
<OutAttribute> ByRef performanceInformation As PerformanceInformation,
size As UInteger
) As Booleanpublic:
[DllImportAttribute(L"psapi.dll", SetLastError = true)]
static bool GetPerformanceInfo(
[OutAttribute] PerformanceInformation% performanceInformation,
unsigned int size
)
[<DllImportAttribute("psapi.dll", SetLastError = true)>]
static member GetPerformanceInfo :
performanceInformation : PerformanceInformation byref *
size : uint32 -> bool Parameters
- performanceInformation PerformanceInformation
- A pointer to a
structure that receives the performance information.
- size UInt32
- The size of the structure, in
bytes.
Return Value
BooleanIf the function succeeds, the return value is nonzero. To determine whether the
function adjusted all of the specified privileges, call
.
See Also