http://bugs.winehq.org/show_bug.cgi?id=36231
Bug ID: 36231 Summary: SfcIsFileProtected function unimplented Product: Wine Version: 1.7.18 Hardware: x86 URL: http://www.gamershell.com/download_36990.shtml OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jarkko_korpi@hotmail.com
sha1sum Drakensang_DEMO_setup_ENGLISH.exe 2e47a2fbc7307e736394bf1d2b1a2f09c497c7a1
Size 500,7Mb.
I installed the demo into clean prefix and noticed at command line:
fixme:sfc:SfcIsFileProtected ((nil), L"C:\Program Files\Drakensang - DEMO\unins000.exe") stub
Which lead me here
http://msdn.microsoft.com/en-us/library/windows/desktop/aa382536%28v=vs.85%2...
SfcIsFileProtected function
Determines whether the specified file is protected. Applications should avoid replacing protected system files. Syntax C++
BOOL SfcIsFileProtected( _In_ HANDLE RpcHandle, _In_ LPCWSTR ProtFileName );
Parameters
RpcHandle [in]
This parameter must be NULL. ProtFileName [in]
The name of the file.
Return value
If the file is protected, the return value is a nonzero value.
If the file is not protected, the return value is zero.
http://bugs.winehq.org/show_bug.cgi?id=36231
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Severity|normal |enhancement
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Jarkko,
a FIXME message in terminal doesn't automatically mean it's a bug.
That stub is fine and serves its purpose. Wine doesn't implement the concept of 'Windows File Protection' because there is no need for it (builtins vs. builtin placeholders vs. overrides).
Please don't create bugs just because you see a FIXME message unless you can prove the application misbehaves because of the stub.
Regards
http://bugs.winehq.org/show_bug.cgi?id=36231
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Invalid.
http://bugs.winehq.org/show_bug.cgi?id=36231
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=36231
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |srclient Keywords| |download, Installer