THotPDF Custom Stream Filter Registry Methods
애플리케이션이 정의한 stream filter를 조사, 제거, 비우기, 측정합니다
선언
function UnregisterCustomStreamFilter(
const FilterName: AnsiString): Boolean;
procedure ClearCustomStreamFilters;
function GetCustomStreamFilterCount: Integer;
function GetCustomStreamFilterName(Index: Integer): AnsiString;
function GetCustomStreamFilterStatistics(
out Statistics: THPDFCustomStreamFilterStatistics): Boolean;
procedure ResetCustomStreamFilterStatistics;
매개변수
FilterName은 선행 슬래시 없이 대소문자 구분 없이 비교하고, Index는 현재 안정적인 레지스트리 순서를 가리키며, Statistics는 일관된 snapshot을 받습니다
반환 값
Unregister는 해당 이름이 있었는지를, count는 현재 등록 수를, name은 정규화된 이름을, statistics는 등록이나 시도가 존재하는지를 반환합니다
사용 참고 사항
- 잘못된 이름 인덱스는
EArgumentOutOfRangeException을 일으킵니다 - 제거된 인터페이스는 레지스트리 잠금이 해제된 뒤에 놓입니다
- 등록을 비워도 telemetry는 초기화되지 않습니다
- telemetry를 초기화해도 등록은 지워지지 않습니다