[Bug 36231] New: SfcIsFileProtected function unimplented

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 2 16:28:20 CDT 2014


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 at winehq.org
          Reporter: jarkko_korpi at 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%29.aspx

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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list