SearchModelDisp

References a search model

int SearchModelDisp(
        const BYTE              *model,
        const int               displayX,
        const int               displayY,
        IMAGE                   *displayImage
)

Parameters
*model
Model data
displayX
Model display area X size
displayY
Model display area Y size
*displayImage
Model image data for display

Return Value
NORMAL(0): Successful completion
ERROR(-1): Unsuccessful completion

Description
Used to display a reduced model in the model registration screen.
When passed a model data, it returns the model image reduced to an arbitrary size.
You need to allocate the space for storing the model image data for display in advance.

Notes