DLL Interface

DELTAMAX_DECODE_OPTIONS

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;

Data Members

lpszLicensedTo

The user name that DeltaMAX is licensed to, exactly as it appears in the license information.

lpszLicenseKey

A valid license key.

nMemoryMax

The maximum virtual memory to allocate, in megabytes.

default: 0 MB

nMemoryMaxPercent

The maximum virtual memory to allocate, as a percentage of total physical memory. (1-100)

default: 80%

nFreeMemoryMin

The minimum physical memory to leave free, in megabytes.

default: 8 MB

pProgressCallback

Pointer to an OnProgress callback function to receive progress updates during the decode operation.

default: NULL

pMessageCallback

Pointer to an OnMessage callback function to receive notification messages during the decode operation.

default: NULL

lpUserData

Pointer to your own user data.

default: NULL

Remarks

You can use the DeltaMaxInitDecodeOptions function to initialize the structure with default values.

See Also: DeltaMAXInitDecodeOptions, DELTAMAX_ENCODE_OPTIONS