Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

USB 2.0

USB 3.x

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_info

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_plus0which: 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_Event()

© 2022 IDS Imaging Development Systems GmbH