KeyView 23.4

# Export Password Protected Files

This section describes how to export password-protected non-container files with the C API.

To export password-protected files

1. Call the fpInit() function.

2. Call the `KVHTMLConfig()` function with the following arguments :

   Argument | Parameter
   --- | ---
   `nType` | `KVCFG_SETPASSWORD`
   `nValue` | `TRUE`
   `pData` | The source file password. The password is a null-terminated string with a maximum length of 255 characters (the final byte is null).

   For example:

       (*fpHTMLConfig)(pKVHTML, KVCFG_SETPASSWORD, TRUE, password);

   where `password` is a null-terminated string of 255 or fewer characters.

3. Call the `fpConvertStream()` or `KVHTMLConvertFile()` function.

Copyright 1997-2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.4

Topic Title: Export Password Protected Files