Error handling  Callback function

Chapter 3: Monitor Client Library Functions

Error handler

Description

An error handler is a user-defined function.

Syntax

SMC_VOID ErrorCallback (
 SMC_CONNECT_ID clientId,
 SMC_COMMAND_ID commandId,
 SMC_VOIDP userDataHandle)

Parameters

clientId

identifies a monitor connection.

commandId

identifies an instance of a command.

userDataHandle

user-supplied pointer.

Usage

NoteC++ member functions cannot be used as callback functions.





Copyright © 2005. Sybase Inc. All rights reserved. Callback function

View this book as PDF