Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

管理者としてコマンドプロンプトを開くメニュー項目を追加 #618

Merged
3 changes: 2 additions & 1 deletion sakura_core/util/os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,9 @@ CCurrentDirectoryBackupPoint::~CCurrentDirectoryBackupPoint()


CDisableWow64FsRedirect::CDisableWow64FsRedirect(BOOL isOn)
berryzplus marked this conversation as resolved.
Show resolved Hide resolved
: m_OldValue(NULL)
, m_isSuccess(FALSE)
berryzplus marked this conversation as resolved.
Show resolved Hide resolved
{
m_OldValue = NULL;
if (isOn && IsWow64()) {
m_isSuccess = Wow64DisableWow64FsRedirection(&m_OldValue);
}
Expand Down