Kernel32Wow64EnableWow64FsRedirection Method

Enables or disables file system redirection for the calling thread.

This function may not work reliably when there are nested calls. Therefore, this function has been replaced by the Wow64DisableWow64FsRedirection(IntPtr) and Wow64RevertWow64FsRedirection(IntPtr) functions.

Note: These two methods of controlling file system redirection cannot be combined in any way. Do not use the Wow64EnableWow64FsRedirection(Boolean) function with either the Wow64DisableWow64FsRedirection(IntPtr) or the Wow64RevertWow64FsRedirection(IntPtr) function.

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", ExactSpelling = true)]
public static bool Wow64EnableWow64FsRedirection(
	bool enable
)

Parameters

enable  Boolean
Indicates the type of request for WOW64 system folder redirection.

If , requests redirection be enabled; if , requests redirection be disabled.

Return Value

Boolean
if the function succeeded; otherwise.

Remarks

See Also