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.

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("NtDll.dll", SetLastError = true)]
public static NTStatus NtFreezeRegistry(
	ulong timeOutInSeconds
)

Parameters

timeOutInSeconds  UInt64
Length of time, in seconds, to pause registry flushes. If set to 0, a default of 60 is used.

Return Value

NTStatus
Returns SUCCESS on success.

Remarks

See Also