mw::qre::QREncoder::InitMemory Member Function

Syntax

bool InitMemory(
    void* ptr,
    u32 size
);

Arguments

Name Description
in ptr Memory region to be used by the library.
in size The size of the memory region.

Return Values

Returns the result of setting the memory information. Returns true if successful, false otherwise.

Description

Sets the memory information for use by the library.
Each time the library is going to be used, you must call this function up front a single time.
If this function is executed multiple times for the same instance, the library will not be able to reference the memory region that was specified the previous time.

Revision History

2010/06/17
Corrected the text.
2010/05/31
Initial version.

CONFIDENTIAL