is_EnableMessage

uEye Camera Manual Version 4.92


is_EnableMessage

Windows_Logo
Linux_Logo

USB 2.0

USB 3.0

GigE

-

Syntax

INT is_EnableMessage (HIDS hCam, INT which, HWND hWnd)

Description

Using is_EnableMessage(), you can enable Windows messages. If a particular event occurs, the messages are sent to the application.

Each message is structured as follows:

•Message: IS_UEYE_MESSAGE

•wParam: Event (see table)

•lParam: uEye camera handle associated with the message

hint_attention

You have to deactivate Windows messages with hWnd == NULL before you free the uEye API library. Otherwise the application may not close properly.

Input parameters

hCam

Camera handle

hmtoggle_plus1which: ID of the message to be enabled/disabled

hWnd

Application window for receiving the message.

NULL disables the message designated by the which parameter.

Return values

IS_INVALID_CAMERA_HANDLE

Invalid camera handle

IS_INVALID_PARAMETER

One of the submitted parameters is outside the valid range or is not supported for this sensor or is not available in this mode.

IS_NO_SUCCESS

General error message

IS_SUCCESS

Function executed successfully

Related functions

•is_InitEvent()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!
For technical questions please contact your local distributor or use the support form on our website.


© 2019 IDS Imaging Development Systems GmbH
https://en.ids-imaging.com