The DELTAMAX_ENCODE_OPTIONS structure allows you to configure the DeltaMAX engine for a decode operation. It contains all of the user-configurable engine settings which affect the decoding process (applying patches).
typedef struct {
LPCTSTR lpszLicensedTo;
LPCTSTR lpszLicenseKey;
int nMemoryMax;
int nMemoryMaxPercent;
int nFreeMemoryMin;
PFNONPROGRESS pProgressCallback;
PFNONMESSAGE pMessageCallback;
LPVOID lpUserData;
} DELTAMAX_DECODE_OPTIONS;
The user name that DeltaMAX is licensed to, exactly as it appears in the license information.
A valid license key.
The maximum virtual memory to allocate, in megabytes.
default: 0 MB
The maximum virtual memory to allocate, as a percentage of total physical memory. (1-100)
default: 80%
The minimum physical memory to leave free, in megabytes.
default: 8 MB
Pointer to an OnProgress callback function to receive progress updates during the decode operation.
default: NULL
Pointer to an OnMessage callback function to receive notification messages during the decode operation.
default: NULL
Pointer to your own user data.
default: NULL
You can use the DeltaMaxInitDecodeOptions function to initialize the structure with default values.
See Also: DeltaMAXInitDecodeOptions, DELTAMAX_ENCODE_OPTIONS