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.