ImageGear Professional DLL v18.1 for Windows
IG_util_MMX_usage_get
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Utility Functions > IG_util_MMX_usage_get

Glossary Item Box

This function returns the current state of MMX optimization.

Declaration:

  Copy Code
AT_ERRCOUNT LACCUAPI IG_util_MMX_usage_get (LPBOOL lpbMMXUsage);

Arguments:

Name Type Description
lpbMMXUsage LPBOOL A far pointer that returns a Boolean value indicating whether or not ImageGear is set to optimize for MMX hardware.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

JPEG

Example:

  Copy Code
AT_ERRCOUNT nErrcount;
BOOL bMMXon;
nErrcount = IG_util_MMX_usage_get(bMMXon);

Remarks:

If lpbMMXUsage returns TRUE it means that ImageGear is set to optimize for MMX technology if the computer contains MMX hardware.

If this parameter is TRUE, but the MMX processor is not detected, then MMX optimization will not be used.

See also IG_util_MMX_usage_set() function.

©2014. Accusoft Corporation. All Rights Reserved.