ProtectFileToEnterpriseIdentity 函式 (edpwin32.h)
備註 Windows 資訊保護 (WIP) 原則可以套用至 Windows 10 (版本 1607)。
語法
HRESULT ProtectFileToEnterpriseIdentity(
[in] PCWSTR fileOrFolderPath,
[in] PCWSTR identity
);
參數
[in] fileOrFolderPath
您要保護之檔案或資料夾的路徑。
[in] identity
數據受到保護的企業身分識別。 此身分識別是受控的電子郵件位址或網域。
傳回值
如果此函式成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 10 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2016 [僅限傳統型應用程式] |
目標平台 | Windows |
標頭 | edpwin32.h |
程式庫 | Efswrt.h |
Dll | Efswrt.dll |