L_SetDecryptOptions

Summary

Sets the file options used by LEADTOOLS when loading encrypted files.

Syntax

#include "l_bitmap.h"

L_LTFIL_API L_INT EXT_FUNCTION L_SetDecryptOptions(pOptions)

Parameters

pFILEDECRYPTOPTIONS pOptions

Pointer to a structure that contains the options used when loading encrypted files.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

The values set by this function are valid only for the current thread. To change the values used by the current thread, this function must be called again from that thread.

These settings are used for loading all encrypted files (DOC, DOCX, PDF, PPT, PPTX, XLS, XLSX, etc). An additional password can be provided for loading encrypted PDF files using L_SetPDFOptions.

The following scenarios are possible when loading encrypted files:

To get the current options used when loading encrypted files, call L_GetDecryptOptions.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to FILEDECRYPTCALLBACK.

Help Version 22.0.2022.9.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.