L_AnnGetEncryptOptions

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnGetEncryptOptions(hObject, pEncryptOptions)

HANNOBJECT hObject;

/* handle to the annotation object */

pANNENCRYPTOPTIONS pEncryptOptions;

/* pointer to a structure that specifies various encryption options */

Gets the options for the specified Encrypt annotation object. This annotation object may be in the encryptor or decryptor state.

This function is available in the Document and Medical Imaging toolkits.

Parameter

Description

hObject

Handle to the annotation object.

pEncryptOptions

Pointer to an ANNENCRYPTOPTIONS structure to be updated with the encryption options for the specified encrypt object.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Use this function to get the encrypt options of an encrypt object. To use this function, declare a variable a type ANNENCRYPTOPTIONS, and pass the address of this variable as the second argument.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Windows 2000 / XP/Vista.

See Also

Functions:

L_AnnGetMetafile, L_AnnSetMetafile, L_AnnGetPredefinedMetafile, L_ScrambleBitmap, L_AnnEncryptApply, L_AnnSetEncryptOptions, L_AnnGetPredefinedBitmap

Topics:

Annotation Functions: Object Properties

 

Annotation Objects - Default Values

 

Annotation Objects - Automated Features

 

Implementing an Automated Annotation Program

 

Implementing a Non-automated Annotation Program

 

Encryption and Decrytion Annotation Objects

 

Annotation Functions (Document/Medical only): Getting and Setting Encrypt Properties

Example

For an example, refer to L_AnnEncryptApply.