ImageGear for C and C++ on Windows v19.2 - Updated
AT_IGGUI_IP_CRYPT
API Reference Guide > GUI Component API Reference > GUI Component Structures Reference > AT_IGGUI_IP_CRYPT

This structure is used by the IG_gui_ip_crypt_dlg function to encrypt/decrypt an image area.

Declaration:

 
Copy Code
typedef struct tag AT_IGGUI_IP_CRYPT
{
        DWORD cbSize;
        UINT uFlags;
        HIGEAR hIGear;
        HWND hWnd;
        LPCHAR lpszTitle;
        BOOL bDecrypt;
        AT_RECT rc;
        AT_MODE nAlgorithm;
        LPSTR lpszPassword;
        DWORD dwPasswordSize;
        AT_ERRCOUNT nErrCount;
        LPFNIGGUI_IP_UPDATE lpfnUpdateProc;
}AT_IGGUI_IP_CRYPT;

Members:

Name Type Description
cbSize DWORD Specifies the length, in bytes, of the structure.
uFlags UINT A set of bit flags you can use to initialize the dialog box.
hIGear HIGEAR A handle of an image.
hWnd HWND A handle of the window to update.
lpszTitle LPCHAR A dialog title.
bDecrypt BOOL TRUE to decrypt a portion of the image.
rc AT_RECT An AT_RECT struct specifying the rectangular portion of the image to encode or decode.
nAlgorithm AT_MODE An IG_ENCRYPT_METHOD_ constant specifying how the image was encoded.
lpszPassword LPSTR A pointer to a zero-terminated password string.
dwPasswordSize DWORD A length of the password.
nErrCount AT_ERRCOUNT The number of ImageGear errors that occurred during this function call.
lpfnUpdateProc LPFNIGGUI_IP_UPDATE A pointer to the function that is called when the 'Apply' button is clicked.