DARemoveUsageRights

文件操作、直接存取功能

描述

移除文件上的所有使用權限

語法

Delphi

Function TPDFlib.DARemoveUsageRights(FileHandle: Integer): Integer;

ActiveX

Function PDFlib::DARemoveUsageRights(FileHandle As Long) As Long

DLL

int DLDARemoveUsageRights(int InstanceID, int FileHandle);

參數

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函式傳回的控制代碼

傳回值

0文件原本沒有任何使用權限
1Success