Kernel32QueryMemoryResourceNotification Method
Retrieves the state of the specified memory resource object.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("Kernel32.dll", SetLastError := true>]
Public Shared Function QueryMemoryResourceNotification (
handle As IntPtr,
<OutAttribute> ByRef refResourceState As Boolean
) As Boolean
Dim handle As IntPtr
Dim refResourceState As Boolean
Dim returnValue As Boolean
returnValue = Kernel32.QueryMemoryResourceNotification(handle,
refResourceState)
public:
[DllImportAttribute(L"Kernel32.dll", SetLastError = true)]
static bool QueryMemoryResourceNotification(
[InAttribute] IntPtr handle,
[OutAttribute] bool% refResourceState
)
[<DllImportAttribute("Kernel32.dll", SetLastError = true)>]
static member QueryMemoryResourceNotification :
handle : IntPtr *
refResourceState : bool byref -> bool
No code example is currently available or this language may not be supported.
- 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.
Boolean
If the function succeeds, the return value is
.
If the function fails, the return value is
.