You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
1.5 KiB
85 lines
1.5 KiB
//
|
|
// Interface Attributes
|
|
//
|
|
|
|
[
|
|
uuid(83da7c00-e84f-11d2-9807-00c04f8ec850),
|
|
version(2.0),
|
|
#ifdef __midl
|
|
ms_union,
|
|
#endif // __midl
|
|
pointer_default(unique)
|
|
]
|
|
|
|
//
|
|
// Interface Keyword
|
|
//
|
|
|
|
interface sfcapi
|
|
|
|
//
|
|
// Interface Body
|
|
//
|
|
|
|
{
|
|
|
|
import "imports.idl";
|
|
|
|
error_status_t
|
|
GetNextProtectedFile(
|
|
[in] handle_t hBinding,
|
|
[in] DWORD FileNumber,
|
|
[in, out, unique, size_is(,*FileNameSize)] LPBYTE *FileName,
|
|
[in,out] LPDWORD FileNameSize
|
|
);
|
|
|
|
error_status_t
|
|
IsFileProtected(
|
|
[in] handle_t hBinding,
|
|
[in,string,unique] PCWSTR ProtFileName
|
|
);
|
|
|
|
error_status_t
|
|
FileException(
|
|
[in] handle_t hBinding,
|
|
[in,string,unique] PCWSTR FileName,
|
|
[in] DWORD ExpectedChangeType
|
|
);
|
|
|
|
error_status_t
|
|
InitiateScan(
|
|
[in] handle_t hBinding,
|
|
[in] DWORD ScanWhen
|
|
);
|
|
|
|
error_status_t
|
|
PurgeCache(
|
|
[in] handle_t hBinding
|
|
);
|
|
|
|
error_status_t
|
|
SetCacheSize(
|
|
[in] handle_t hBinding,
|
|
[in] DWORD NewSize
|
|
);
|
|
|
|
error_status_t
|
|
SetDisable(
|
|
[in] handle_t hBinding,
|
|
[in] DWORD NewValue
|
|
);
|
|
|
|
error_status_t
|
|
InstallProtectedFiles(
|
|
[in] handle_t hBinding,
|
|
[in, unique, size_is(FileNamesSize)] const LPBYTE FileNames,
|
|
[in] DWORD FileNamesSize,
|
|
[in, out, unique, size_is(,*BufferSize)] LPBYTE *InstallStatus,
|
|
[in,out] LPDWORD BufferSize,
|
|
[out] LPDWORD Count,
|
|
[in] BOOL AllowUI,
|
|
[in, string, unique] PCWSTR ClassName,
|
|
[in, string, unique] PCWSTR WindowName
|
|
);
|
|
|
|
}
|