NtDllNtFreezeRegistry Method
Pauses registry data flushes for the specified time period.
The function uses a timer to automaticaly unblock the flushes,
so there's no need to manually call
NtThawRegistry,
unless you want to end the pause during the timeout period.
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("NtDll.dll", SetLastError = true)]
public static NTStatus NtFreezeRegistry(
ulong timeOutInSeconds
)
<DllImportAttribute("NtDll.dll", SetLastError := true>]
Public Shared Function NtFreezeRegistry (
timeOutInSeconds As ULong
) As NTStatus
Dim timeOutInSeconds As ULong
Dim returnValue As NTStatus
returnValue = NtDll.NtFreezeRegistry(timeOutInSeconds)
public:
[DllImportAttribute(L"NtDll.dll", SetLastError = true)]
static NTStatus NtFreezeRegistry(
unsigned long long timeOutInSeconds
)
[<DllImportAttribute("NtDll.dll", SetLastError = true)>]
static member NtFreezeRegistry :
timeOutInSeconds : uint64 -> NTStatus
No code example is currently available or this language may not be supported.
- timeOutInSeconds UInt64
-
Length of time, in seconds, to pause registry flushes. If set to 0, a default of 60 is used.
NTStatus
Returns
SUCCESS on success.