SfcGetFiles function

[This function is available for use in the operating systems specified in the Requirements section. Support for this function was removed in Windows Vista and Windows Server 2008. Use the supported functions listed in WRP Functions instead.]

Lists protected files.

Syntax

NTSTATUS WINAPI SfcGetFiles(
  _Out_ PPROTECT_FILE_ENTRY ProtFileData,
  _Out_ PULONG              FileCount
);

Parameters

ProtFileData [out]

A pointer to a PPROTECT_FILE_ENTRY structure that contains the protected files list.

FileCount [out]

A pointer to a location containing a ULONG value that is the number of protected files.

Return value

If the function succeeds, the return value is STATUS_SUCCESS. If the function fails, it returns the appropriate NTSTATUS error code.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
End of client support
Windows XP
End of server support
Windows Server 2003
Header
Sfcfiles.h
DLL
Sfcfiles.dll

See also

PPROTECT_FILE_ENTRY