Kernel32QueryMemoryResourceNotification Method

Retrieves the state of the specified memory resource object.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", SetLastError = true)]
public static bool QueryMemoryResourceNotification(
	IntPtr handle,
	out bool refResourceState
)

Parameters

handle  IntPtr
A handle to a memory resource notification object. The CreateMemoryResourceNotification(MemoryResourceNotificationType) function returns this handle.
refResourceState  Boolean
The memory pointed to by this parameter receives the state of the memory resource notification object.

The value of this parameter is set to if the specified memory condition exists, and if the specified memory condition does not exist.

Return Value

Boolean
If the function succeeds, the return value is .

If the function fails, the return value is .

Remarks

See Also