Skip to main content

MdispInquire

BoardSupported
Host SystemYes
V4L2Yes
Clarity UHDYes
Concord PoENo
GenTLYes
GevIQYes
GigE VisionYes
IndioNo
Iris GTXYes
Radient eV-CLYes
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionYes

Inquire about a display setting.

Syntax

AIL_INT MdispInquire(
AIL_ID DisplayId, //in
AIL_INT64 InquireType, //in
void * UserVarPtr //out
)

Description

This function inquires about a specified display setting.

Parameters

DisplayId (in, AIL_ID)

Specifies the identifier of the display.

InquireType (in, AIL_INT64)

Specifies the type of display setting about which to inquire.

UserVarPtr *(out, void)

Specifies the address in which to write the requested information. Since the MdispInquire function also returns the requested information, you can set this parameter to M_NULL.

Parameter Associations

For all types of displays

Unless otherwise specified, the following InquireType parameter settings are available for all types of displays.


M_ASSOCIATED_GRAPHIC_LIST_ID

Inquires the identifier of the 2D graphics list.

ValueDescription
M_NULL (default)Specifies that no 2D graphics list is associated with the display.
2D graphics list identifierSpecifies the identifier of the 2D graphics list that is associated with the display.

M_BACKGROUND_COLOR

Inquires the background color of the display.

ValueDescription
M_DEFAULT
M_RGB888Specifies the RGB value to which the background color will be set.
M_COLOR_BLACKSpecifies the color black.
M_COLOR_BLUESpecifies the color blue.
M_COLOR_BRIGHT_GRAYSpecifies the color bright gray.
M_COLOR_CYANSpecifies the color cyan.
M_COLOR_DARK_BLUESpecifies the color dark blue.
M_COLOR_DARK_CYANSpecifies the color dark cyan.
M_COLOR_DARK_GREENSpecifies the color dark green.
M_COLOR_DARK_MAGENTASpecifies the color dark magenta.
M_COLOR_DARK_REDSpecifies the color dark red.
M_COLOR_DARK_YELLOWSpecifies the color dark yellow.
M_COLOR_GRAYSpecifies the color gray.
M_COLOR_GREENSpecifies the color green.
M_COLOR_LIGHT_BLUESpecifies the color light blue.
M_COLOR_LIGHT_GRAYSpecifies the color light gray.
M_COLOR_LIGHT_GREENSpecifies the color light green.
M_COLOR_LIGHT_WHITESpecifies the color light white.
M_COLOR_MAGENTASpecifies the color magenta.
M_COLOR_REDSpecifies the color red.
M_COLOR_WHITE (default)Specifies the color white.
M_COLOR_YELLOWSpecifies the color yellow.
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

M_CENTER_DISPLAY

Inquires whether a selected image buffer should be centered in the display.

ValueDescription
M_DEFAULTSpecifies the default value.
M_DISABLESpecifies that the image buffer will not be centered in the display.
M_ENABLESpecifies that the image buffer will always be centered in the display, both in X and Y.

M_DISPLAY_TYPE

Inquires the display type.

ValueDescription
M_EXCLUSIVESpecifies that the display is an exclusive display. > Note: This display type requires MdispSelect to display images.
M_WEBSpecifies that the display is an Aurora Imaging Web Library display. > Note: This display type requires MdispSelect to display images.
M_WINDOWEDSpecifies that the display is a windowed display. > Note: This display type can be used with MdispSelect and MdispSelectWindow. A remote display requiresMdispSelect to display images. To inquire if a display is remote, use M_EXTENDED_INIT_FLAG.
M_WPFSpecifies that the display is a WPF display. > Note: This display type requires MdispSelect to display images.

M_EXTENDED_INIT_FLAG

Inquires the initialization flag specified upon allocating the display.

ValueDescription
M_DEFAULTSpecifies the default display type, which can be set using the Aurora Imaging Configurator utility.
M_EXCLUSIVESpecifies to present the image buffer selected for display full-screen, without a windowed border, in one of Windows desktop screens.
M_WEBSpecifies to present the image buffer selected for display in one or more instances of an Aurora Imaging Web Library client application (for example, running in a compatible web browser).
M_WINDOWEDSpecifies to present the image buffer selected for display in its own window on the Windows desktop screen(s).
M_WPFSpecifies to present the image buffer selected for display using an AILWPFDisplay control.
M_REMOTE_DISPLAYSpecifies that the display is displayed on the remote computer in a Distributed Aurora Imaging Library application.

M_FORMAT

Inquires the display's data format.

ValueDescription
"M_DEFAULT"Specifies the default display format.
M_CURRENT_RESOLUTIONSpecifies to use the current resolution of the screen.
"vcf-file-name.vcf"Specifies the name of the video configuration format (VCF) that defines the resolution and refresh rate to use.

M_GRAPHIC_LIST_INTERACTIVE

Inquires whether a user can interactively modify the graphics in the 2D graphics list associated with the display.

ValueDescription
M_DEFAULT
M_DISABLE (default)Specifies that the 2D graphics list associated with the display cannot be affected by user interaction.
M_ENABLESpecifies that the 2D graphics list associated with the display can be affected by user interaction.

M_GRAPHIC_LIST_OPACITY

Inquires the opacity of annotations generated from the 2D graphics list associated with the display.

ValueDescription
(see M_GRAPHIC_LIST_OPACITY)

M_INTERPOLATION_MODE

Inquires the type of interpolation used to display a zoomed image.

ValueDescription
M_DEFAULT
M_AVERAGESpecifies averaging interpolation.
M_INTERPOLATESpecifies interpolated resizing.
M_MAXSpecifies an interpolation based on the maximum pixel value in the specified source image.
M_MINSpecifies an interpolation based on the minimum pixel value in the specified source image.
M_NEAREST_NEIGHBOR (default)Specifies nearest neighbor interpolation.

M_KEYBOARD_USE

Inquires whether the user can interactively pan and zoom the display using the keyboard.

ValueDescription
M_DEFAULTFor user-defined windowed displays, this value is the same as M_DISABLE; for Aurora Imaging Library windowed and exclusive displays, this value is the same as M_ENABLE.
M_DISABLESpecifies that using the keyboard to perform panning and zooming is disabled.
M_ENABLESpecifies that using the keyboard to perform panning and zooming is enabled.

M_LUT_ID

Inquires the identifier of the LUT buffer associated with the display.

ValueDescription
M_DEFAULTSpecifies that any association to a LUT buffer is removed from the specified display.
M_COLORMAP_DISTINCT_256Specifies the LUT buffer with a distinct colormap as the LUT buffer that is associated with the display.
M_COLORMAP_GRAYSCALESpecifies the LUT buffer with a grayscale colormap as the LUT buffer that is associated with the display.
M_COLORMAP_HOTSpecifies the LUT buffer with a hot colormap as the LUT buffer that is associated with the display.
M_COLORMAP_HUESpecifies the LUT buffer with a hue colormap as the LUT buffer that is associated with the display.
M_COLORMAP_JETSpecifies the LUT buffer with a jet colormap as the LUT buffer that is associated with the display.
M_COLORMAP_SPECTRUMSpecifies the LUT buffer with a spectrum colormap as the LUT buffer that is associated with the display.
M_COLORMAP_TURBOSpecifies the LUT buffer with a turbo colormap as the LUT buffer that is associated with the display.
M_COLORMAP_WHEELSpecifies the LUT buffer with a colorwheel colormap as the LUT buffer that is associated with the display.
M_PSEUDOSpecifies the default pseudo-color LUT buffer as the LUT buffer that is associated with the display.
LUT buffer identifierSpecifies the identifier of the custom LUT buffer (allocated with MbufAlloc1d or MbufAllocColor with M_LUT) that is associated with the display.

M_LUT_SUPPORTED

Inquires whether LUTs are supported by the display.

ValueDescription
M_NOSpecifies that LUTs are not supported.
M_YESSpecifies that LUTs are supported.

M_MOUSE_CURSOR_CHANGE

Inquires whether the mouse cursor changes shape in a display with mouse-interaction enabled.

ValueDescription
M_DEFAULTFor user-defined windowed displays, this value is the same as M_DISABLE; for Aurora Imaging Library windowed and exclusive displays, this value is the same as M_ENABLE.
M_DISABLESpecifies that mouse cursor change is disabled.
M_ENABLESpecifies that mouse cursor change is enabled.

M_MOUSE_USE

Inquires whether the user can interactively pan and zoom the display using the mouse.

ValueDescription
M_DEFAULTFor user-defined windowed displays, this value is the same as M_DISABLE; for Aurora Imaging Library windowed and exclusive displays, this value is the same as M_ENABLE.
M_DISABLESpecifies that mouse-interaction will not work inside a display.
M_ENABLESpecifies that mouse-interaction will work inside a display.

M_NUMBER

Inquires the display device's rank in the system. Note that the returned value can also be a combination of M_TOP, M_BOTTOM, or M_CENTER+ M_LEFT or M_RIGHT, specifying the position of the display device in screen arrangements of up to 3x3 screens.

ValueDescription
M_DEFAULTSpecifies that Aurora Imaging Library will use the most appropriate device for display purposes.
M_BOTTOMSpecifies to use the bottom-most device for an exclusive display.
M_CENTERSpecifies to use the center device for an exclusive display.
M_LEFTSpecifies to use the left-most device for an exclusive display.
M_RIGHTSpecifies to use the right-most device for an exclusive display.
M_TOPSpecifies to use the top-most device for an exclusive display.
M_BOTTOM + M_LEFTSpecifies to use the bottom left device for an exclusive display.
M_BOTTOM + M_RIGHTSpecifies to use the bottom right device for an exclusive display.
M_CENTER + M_LEFTSpecifies to use the center left device for an exclusive display.
M_CENTER + M_RIGHTSpecifies to use the center right device for an exclusive display.
M_TOP + M_LEFTSpecifies to use the top left device for an exclusive display.
M_TOP + M_RIGHTSpecifies to use the top right device for an exclusive display.

M_OVERLAY

Inquires whether or not the overlay mechanism is enabled for the display.

ValueDescription
M_DISABLE (default)Specifies to disable the overlay mechanism.
M_ENABLESpecifies to enable the overlay mechanism.

M_OVERLAY_ID

Inquires the identifier of the overlay buffer associated with the display. Note that the overlay buffer is a normal buffer and, knowing its Aurora Imaging Library identifier, you can perform operations on it as you would on a normal buffer (except for grabbing).

ValueDescription
M_NULLSpecifies that there is no overlay buffer associated with the display.
Buffer identifierSpecifies the Aurora Imaging Library identifier of the overlay buffer.

M_OVERLAY_OPACITY

Inquires the opacity of the display's overlay buffer. > Note: Any pixels in the overlay image which have the keying color (M_TRANSPARENT_COLOR) are always transparent, regardless of this setting.

ValueDescription
M_DISABLE (default)Specifies not to use partial opacity.
0 <= Value <= 100Specifies the opacity (as a percentage), where 0 is completely transparent and 100 is completely opaque.

M_OVERLAY_SHOW

Inquires the visible state of the overlay.

ValueDescription
M_DISABLESpecifies that the overlay buffer is not visible.
M_ENABLE (default)Specifies that the overlay buffer is visible.
M_OPAQUESpecifies that only the overlay buffer is visible.

M_OWNER_SYSTEM

Inquires the identifier of the system on which the display has been allocated.

ValueDescription
M_DEFAULT_HOSTSpecifies the default Host system of the current Aurora Imaging Library application.
System identifierSpecifies a valid system identifier, previously allocated using MsysAlloc.

M_PAN_OFFSET_X

Inquires the number of pixels in X by which the image buffer is panned. Note that when you interactively pan the image with the mouse or keyboard, M_PAN_OFFSET_X will reflect the offset of the image.

ValueDescription
ValueSpecifies the number of pixels by which the image is panned horizontally.

M_PAN_OFFSET_Y

Inquires the number of pixels in Y by which to the image buffer is panned. Note that when you interactively pan the image with the mouse or keyboard, M_PAN_OFFSET_Y will reflect the offset of the image.

ValueDescription
ValueSpecifies the number of pixels by which the image is panned vertically.

M_PIXEL_FORMAT

Inquires the pixel format of the current display resolution set by your graphics controller. Allocating a displayable image buffer with the same format will ensure maximum performance with regards to display updates.

ValueDescription
M_BGR24Specifies 24-bit BGR format.
M_BGR32Specifies 32-bit BGR format.
M_MONO8Specifies 8-bit monochrome format.
M_RGB15Specifies 15-bit RGB format.
M_RGB16Specifies 16-bit RGB format.
M_YUV16_UYVYSpecifies YUV16 format, stored in the UYVY order.
M_YUV16_YUYVSpecifies YUV16 format, stored in the YUYV order.

M_REGION_INSIDE_COLOR

Inquires the color that will be used to clear the pixels that are part of a region of interest associated with the selected buffer.

ValueDescription
M_DEFAULT
M_RGB888Specifies the RGB value to which the pixels that are part of a region will be cleared for a non 8-bit display mode.
M_COLOR_BLACKSpecifies the color black.
M_COLOR_BLUESpecifies the color blue.
M_COLOR_BRIGHT_GRAYSpecifies the color bright gray.
M_COLOR_CYANSpecifies the color cyan.
M_COLOR_DARK_BLUESpecifies the color dark blue.
M_COLOR_DARK_CYANSpecifies the color dark cyan.
M_COLOR_DARK_GREENSpecifies the color dark green.
M_COLOR_DARK_MAGENTASpecifies the color dark magenta.
M_COLOR_DARK_REDSpecifies the color dark red.
M_COLOR_DARK_YELLOWSpecifies the color dark yellow.
M_COLOR_GRAYSpecifies the color gray.
M_COLOR_GREEN (default)Specifies the color green.
M_COLOR_LIGHT_BLUESpecifies the color light blue.
M_COLOR_LIGHT_GRAYSpecifies the color light gray.
M_COLOR_LIGHT_GREENSpecifies the color light green.
M_COLOR_LIGHT_WHITESpecifies the color light white.
M_COLOR_MAGENTASpecifies the color magenta.
M_COLOR_REDSpecifies the color red.
M_COLOR_WHITESpecifies the color white.
M_COLOR_YELLOWSpecifies the color yellow.
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

M_REGION_INSIDE_SHOW

Inquires how to display the pixels that are part of a region of interest associated with the selected buffer, if such a region exist.

ValueDescription
M_DEFAULT
M_GRAPHIC_LIST_OPACITYSpecifies that pixels in the region are displayed with a color overlay using the opacity specified with M_GRAPHIC_LIST_OPACITY.
M_OPAQUESpecifies that pixels in the region are cleared to the color specified using M_REGION_INSIDE_COLOR.
M_TRANSPARENT (default)Specifies that pixels in the region are displayed as is.

M_REGION_OUTSIDE_COLOR

Inquires the color that will be used to clear the pixels that are not part of a region of interest associated with the selected buffer.

ValueDescription
M_DEFAULT
M_RGB888Specifies the RGB value to which the pixels that are part of a region will be cleared for a non 8-bit display mode.
M_COLOR_BLACKSpecifies the color black.
M_COLOR_BLUESpecifies the color blue.
M_COLOR_BRIGHT_GRAYSpecifies the color bright gray.
M_COLOR_CYANSpecifies the color cyan.
M_COLOR_DARK_BLUESpecifies the color dark blue.
M_COLOR_DARK_CYANSpecifies the color dark cyan.
M_COLOR_DARK_GREENSpecifies the color dark green.
M_COLOR_DARK_MAGENTASpecifies the color dark magenta.
M_COLOR_DARK_REDSpecifies the color dark red.
M_COLOR_DARK_YELLOWSpecifies the color dark yellow.
M_COLOR_GRAYSpecifies the color gray.
M_COLOR_GREENSpecifies the color green.
M_COLOR_LIGHT_BLUESpecifies the color light blue.
M_COLOR_LIGHT_GRAYSpecifies the color light gray.
M_COLOR_LIGHT_GREENSpecifies the color light green.
M_COLOR_LIGHT_WHITESpecifies the color light white.
M_COLOR_MAGENTASpecifies the color magenta.
M_COLOR_RED (default)Specifies the color red.
M_COLOR_WHITESpecifies the color white.
M_COLOR_YELLOWSpecifies the color yellow.
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

M_REGION_OUTSIDE_SHOW

Inquires how to display the pixels that are not part of a region of interest associated with the selected buffer, if such a region exist.

ValueDescription
M_DEFAULT
M_GRAPHIC_LIST_OPACITYSpecifies that pixels outside of the region are displayed with a color overlay using the opacity specified with M_GRAPHIC_LIST_OPACITY.
M_OPAQUESpecifies that pixels outside of the region are cleared to the color specified using M_REGION_OUTSIDE_COLOR.
M_TRANSPARENT (default)Specifies that pixels outside of the region are displayed as is.

M_RESTRICT_CURSOR

Inquires whether the mouse cursor is restricted so that it cannot move over the exclusive display. This inquire type is only applicable to exclusive displays.

ValueDescription
M_DISABLESpecifies to permit the mouse cursor to move over the display.
M_ENABLE (default)Specifies to restrict the mouse cursor so that it cannot move over the display.

M_SCALE_DISPLAY

Inquires whether a selected buffer will fill the display, maintaining its aspect ratio.

ValueDescription
M_DISABLE (default)Specifies that the image will not be scaled to fit the display.
M_ENABLESpecifies to always scale the selected image buffer to fit the display, while keeping the same aspect ratio.
M_ONCESpecifies to compute the scale factors corresponding to M_ENABLE and call MdispZoom with these factors.

M_SELECTED

Inquires the identifier of the image buffer currently displayed.

ValueDescription
M_NULLSpecifies that no buffer is currently being displayed.
Buffer identifierSpecifies the Aurora Imaging Library identifier of the image buffer selected to the display.

M_SIZE_BAND

Inquires the number of color bands that the display is capable of displaying.

ValueDescription
ValueSpecifies the number of color bands.

M_SIZE_BAND_LUT

Inquires the number of color bands of the LUT (if any) associated with the display.

ValueDescription
ValueSpecifies the number of color bands.

M_SIZE_BIT

Inquires the number of bits (depth) of the display per band.

ValueDescription
ValueSpecifies the depth per band, in bits.

M_SIZE_X

Inquires the display's width. For windowed displays, the returned value is equal to the width of the client area of the window. For exclusive displays, the returned width is the width specified in the VCF file. For Aurora Imaging Web Library displays, the returned value is equal to the width (M_SIZE_X) of the image buffer currently selected to the display.

ValueDescription
ValueSpecifies the display's width, in pixels.

M_SIZE_Y

Inquires the display's height. For windowed displays, the returned value is equal to the height of the client area of the window. For exclusive displays, the returned height is the height specified in the VCF file. For Aurora Imaging Web Library displays, the returned value is equal to the height (M_SIZE_Y) of the image buffer currently selected to the display.

ValueDescription
ValueSpecifies the display's height, in pixels.

M_TITLE

Inquires the display's title.

ValueDescription
"Title"Specifies the title of the display.

M_TRANSPARENT_COLOR

Inquires the transparency (keying) color.

ValueDescription
M_DEFAULT (default)Specifies the optimal transparency color.
M_RGB888Specifies the RGB value to which to set the transparency color for a non 8-bit display mode.
M_COLOR_BLACKSpecifies the color black.
M_COLOR_BLUESpecifies the color blue.
M_COLOR_BRIGHT_GRAYSpecifies the color bright gray.
M_COLOR_CYANSpecifies the color cyan.
M_COLOR_DARK_BLUESpecifies the color dark blue.
M_COLOR_DARK_CYANSpecifies the color dark cyan.
M_COLOR_DARK_GREENSpecifies the color dark green.
M_COLOR_DARK_MAGENTASpecifies the color dark magenta.
M_COLOR_DARK_REDSpecifies the color dark red.
M_COLOR_DARK_YELLOWSpecifies the color dark yellow.
M_COLOR_GRAYSpecifies the color gray.
M_COLOR_GREENSpecifies the color green.
M_COLOR_LIGHT_BLUESpecifies the color light blue.
M_COLOR_LIGHT_GRAYSpecifies the color light gray.
M_COLOR_LIGHT_GREENSpecifies the color light green.
M_COLOR_LIGHT_WHITESpecifies the color light white.
M_COLOR_MAGENTASpecifies the color magenta.
M_COLOR_REDSpecifies the color red.
M_COLOR_WHITESpecifies the color white.
M_COLOR_YELLOWSpecifies the color yellow.
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

M_UPDATE

Inquires whether Aurora Imaging Library should update the display.

ValueDescription
M_DISABLESpecifies not to update the display.
M_ENABLE (default)Specifies to update the display.

M_UPDATE_GRAPHIC_LIST

Inquires whether Aurora Imaging Library should update the display when modifications are made to the display's associated 2D graphics list.

ValueDescription
M_DISABLESpecifies that the display is not updated when the associated 2D graphics list is modified.
M_ENABLE (default)Specifies that the display is immediately updated when the associated 2D graphics list is modified (refresh not required).

M_UPDATE_RATE

Inquires the display update rate. This is the number of display updates that occurred during the last second.

ValueDescription
0Specifies that the buffer selected to the display was not modified.
Value > 0Specifies the display update rate.

M_UPDATE_RATE_DIVIDER

Inquires how often the display should be updated with buffer modifications.

ValueDescription
M_DEFAULT
Value (default)Specifies the frequency of the update.

M_UPDATE_RATE_MAX

Inquires the maximum rate at which to perform updates.

ValueDescription
M_DEFAULT
M_INFINITE (default)Specifies to perform updates as fast as possible (limited by the available bandwidth and transmission delay).
Value > 0Specifies the maximum number of updates per second.

M_UPDATE_SYNCHRONIZATION

Inquires the update mode currently used by the display for Windows paint messages.

ValueDescription
M_DEFAULTSpecifies the default update mode.
M_ASYNCHRONOUSSpecifies that the display is updated when possible.
M_SYNCHRONOUSSpecifies that the display is updated immediately.

M_VIEW_BIT_SHIFT

Inquires the number of bits by which the buffer data gets shifted when M_VIEW_MODE is set to M_BIT_SHIFT.

ValueDescription
Value (default)Specifies the number of bits.

M_VIEW_MODE

Inquires how a buffer gets remapped to the display (view mode).

ValueDescription
M_DEFAULTSpecifies the default value.
M_AUTO_SCALESpecifies to remap the pixel values to the display so that the minimum and maximum values in the image (not the full range of the image buffer) are set to 0 and 255, respectively.
M_BIT_SHIFTSpecifies to bit-shift the pixel values of the image buffer by the specified number of bits upon updating the display.
M_MULTI_BYTESSpecifies to display each byte of the image buffer in separate display pixels.
M_TRANSPARENTSpecifies that no pixel remapping will be performed.

M_ZOOM_FACTOR_X

Inquires the zoom factor in the X-direction. Note that when you interactively zoom the image with the mouse or keyboard, M_ZOOM_FACTOR_X will reflect the zoom of the image.

ValueDescription
Value > 0.0Specifies the zoom factor for the X-direction of the display.

M_ZOOM_FACTOR_Y

Inquires the zoom factor in the Y-direction. Note that when you interactively zoom the image with the mouse or keyboard, M_ZOOM_FACTOR_Y will reflect the zoom of the image.

ValueDescription
Value > 0.0Specifies the zoom factor for the Y-direction of the display.

Combination Constants — Returns whether the display was allocated on a remote computer

Optional.

Usage: You can add one of the following values to the above-mentioned values to determine whether the display was allocated on a remote computer.

ValueDescription
M_REMOTE_DISPLAYSpecifies that the display is displayed on the remote computer in a Distributed Aurora Imaging Library application.

Combination Constants — For getting the string size

Optional.

Usage: You can add one of the following values to the above-mentioned values to get the string's length.

Board availability: Clarity UHD, GenTL, GevIQ, GigE Vision, Host System, Iris GTX, Radient eV-CL, Rapixo CL, Rapixo CXP, Rapixo CoF, USB3 Vision, V4L2

M_STRING_SIZE

Retrieves the length of the string, including the terminating null character ("\0").

Combination Constants — Returns whether the display is an Aurora Imaging Library window or a user-defined window

Optional.

Usage: You can add one of the following values to the above-mentioned values to specify whether the display is an Aurora Imaging Library window or a user-defined window.

ValueDescription
M_AIL_WINDOWSpecifies that the display is an Aurora Imaging Library display, selected using MdispSelect.
M_USER_WINDOWSpecifies that the display is a user-defined display, selected using MdispSelectWindow.

For all windowed displays

The following InquireType parameter settings are available for all windowed displays.


M_WINDOW_ANNOTATIONS

Inquires whether annotations will be drawn directly to the window's device context (DC) using GDI functions.

ValueDescription
M_DEFAULT
M_NULLSpecifies to advise Aurora Imaging Library that the X display connection has not been set.
M_DISABLESpecifies not to draw directly to the window's device context using GDI functions.
M_ENABLE (default)Specifies to draw directly to the window's device context using GDI functions.
ValueSpecifies the pointer to the X display connection.

M_WINDOW_UPDATE_ON_PAINT

Inquires when the display will be updated.

ValueDescription
M_DEFAULT (default)Allows Aurora Imaging Library to decide which message to receive before updating the display.
M_DISABLEUpdates the display on reception of a WM_ERASEBKGND message in Windows.
M_ENABLEUpdates the display on reception of a WM_PAINT message in Windows.

For Aurora Imaging Library windowed displays

The following are only available for Aurora Imaging Library windowed displays (selected using MdispSelect) and are not available for user windowed displays (selected using MdispSelectWindow):


M_FULL_SCREEN

Inquires whether the window should be maximized and shown without the title bar or menu (full screen mode).

ValueDescription
M_DEFAULT
M_DISABLE (default)Specifies that the window will not be maximized and shown with the title bar and menu.
M_ENABLESpecifies that the window will be maximized and shown without the title bar or menu.

M_WINDOW_HANDLE

Inquires the Windows handle (HWND) of the display's window.

ValueDescription
ValueSpecifies the Windows handle of the display's window.

M_WINDOW_INITIAL_POSITION_X

Inquires the initial, left-most, X-coordinate specified for the window.

ValueDescription
ValueSpecifies the X-coordinate, in pixels.

M_WINDOW_INITIAL_POSITION_Y

Inquires the initial, left-most, Y-coordinate specified for the window.

ValueDescription
ValueSpecifies the Y-coordinate, in pixels.

M_WINDOW_INITIAL_SIZE_X

Inquires the initial width of the window.

ValueDescription
M_DEFAULTSpecifies that Aurora Imaging Library will calculate the optimal width.
Value > 0Specifies the width, in pixels.

M_WINDOW_INITIAL_SIZE_Y

Inquires the initial height of the window.

ValueDescription
M_DEFAULTSpecifies that Aurora Imaging Library will calculate the optimal height.
Value > 0Specifies the height, in pixels.

M_WINDOW_MAXBUTTON

Inquires whether the window's maximize button should be visible.

ValueDescription
M_DEFAULT
M_DISABLESpecifies that the button is not visible.
M_ENABLE (default)Specifies that the button is visible.

M_WINDOW_MINBUTTON

Inquires whether the window's minimize button should be visible.

ValueDescription
M_DEFAULT
M_DISABLESpecifies that the button is not visible.
M_ENABLE (default)Specifies that the button is visible.

M_WINDOW_MOVE

Inquires whether window movement is allowed.

ValueDescription
M_DISABLESpecifies not to allow window movement.
M_ENABLE (default)Specifies to allow window movement.

M_WINDOW_OVERLAP

Inquires whether the window can be overlapped by another.

ValueDescription
M_DISABLESpecifies not to allow the window to be overlapped by another (keep window on top).
M_ENABLE (default)Specifies to allow the window to be overlapped by another.

M_WINDOW_RESIZE

Inquires whether window resizing is allowed.

ValueDescription
M_DISABLESpecifies not to allow window resizing.
M_ENABLE (default)Specifies to allow window resizing.

M_WINDOW_SHOW

Inquires whether to show or hide the window.

ValueDescription
M_DISABLESpecifies that the window should be hidden.
M_ENABLE (default)Specifies that the window should be shown.

M_WINDOW_SIZE_AUTO_RESET

Inquires whether the window should be resized when using MdispSelect. By default, MdispSelect automatically resizes the Aurora Imaging Library display window to be the same size of the selected buffer.

ValueDescription
M_DEFAULT
M_DISABLESpecifies that Aurora Imaging Library will not resize the window.
M_ENABLE (default)Specifies that Aurora Imaging Library will resize the window to be the same size of the selected buffer.

M_WINDOW_SYSBUTTON

Inquires whether the window system buttons (minimize, maximize, and close buttons) should be visible.

ValueDescription
M_DEFAULT
M_DISABLESpecifies that the button is not visible.
M_ENABLE (default)Specifies that the button is visible.

M_WINDOW_TITLE_BAR

Inquires whether the title bar should be visible.

ValueDescription
M_DISABLESpecifies that the title bar is not visible.
M_ENABLE (default)Specifies that the title bar is visible.

M_WINDOW_TITLE_BAR_CHANGE

Inquires whether the presence of the window's title bar can be toggled with the M_WINDOW_TITLE_BAR control type.

ValueDescription
M_DISABLESpecifies not to allow toggling.
M_ENABLE (default)Specifies to allow toggling.

For user windowed displays

The following are only available for user windowed displays (selected using MdispSelectWindow) and are not available for Aurora Imaging Library windowed displays (selected using MdispSelect):


M_GTK_MODE

Inquires whether the display is configured for use in a window created using the third-party GTK framework.

ValueDescription
M_DISABLE (default)Specifies not to configure the display for use in a window created using the GTK framework.
M_ENABLESpecifies not to configure the display for use in a window created using the GTK framework.

M_QT_MODE

Inquires whether the display is configured for use in a window created using the third-party Qt framework.

ValueDescription
M_DISABLE (default)Specifies not to configure the display for use in a window created using the Qt framework.
M_ENABLESpecifies to configure the display for use in a window created using the Qt framework.

M_TK_MODE

Inquires whether the display is configured for use in a window created using the third-party Tk framework.

ValueDescription
M_DISABLE (default)Specifies not to configure the display for use in a window created using the Tk framework.
M_ENABLESpecifies to configure the display for use in a window created using the Tk framework.

For displays allocated on a Distributed Aurora Imaging Library remote system but displayed on the local computer

The following inquire types are only available with windowed displays allocated on a remote system but displayed on the local computer.


M_ASYNC_UPDATE

Inquires whether the data from the remote computer is transmitted to the local computer asynchronously or synchronously for display.

ValueDescription
M_DEFAULT (default)Specifies to use the default mode, which can be selected using the Aurora Imaging Configurator utility.
M_DISABLESpecifies to send display updates in synchronous mode.
M_ENABLESpecifies that data will be sent asynchronously.

M_COMPRESSION_TYPE

Inquires the way in which data is compressed when transmitted from the remote computer to the local computer for display.

ValueDescription
M_DEFAULT (default)Specifies to use the default compression type, which can be selected using the Aurora Imaging Configurator utility.
M_NULLSpecifies that compression is disabled.
M_JPEG2000_LOSSLESSSpecifies that JPEG2000 lossless compression will be used.
M_JPEG2000_LOSSYSpecifies JPEG2000 lossy compression will be used.
M_JPEG_LOSSLESSSpecifies JPEG lossless compression will be used.
M_JPEG_LOSSLESS_INTERLACEDSpecifies that JPEG lossless compression will be used in separate fields.
M_JPEG_LOSSYSpecifies that JPEG lossy compression will be used.
M_JPEG_LOSSY_INTERLACEDSpecifies that JPEG lossy compression will be used in separate fields.

M_Q_FACTOR

Inquires the quantization factor used when compressing data transmitted from the remote computer to the local computer using a lossy compression.

ValueDescription
M_DEFAULT
1 <= Value <= 99 (default)Specifies the quantization factor.

Return Value

Type: AIL_INT

The returned value is the requested information, cast to an AIL_INT. If the requested information does not fit into an AIL_INT, this function will return M_NULLor truncate the information.

Remarks

Note that during development and at runtime, compression support requires the presence of an Aurora Imaging Library license that grants access to the compression/decompression package. This access is only granted by default with the development license dongle for the full version of Aurora Imaging Library. In other cases, you must purchase access to this package separately.

Copyright © 2026 Zebra Technologies.