HIO2NotifyCallback

Syntax

typedef int (*HIO2NotifyCallback)( HIO2NotifyEvent event, void* param );

Arguments

event
HIO2_NOTIFY_INIT_REQUEST The HIO2Open function was called for a device being used by another process.
HIO2_NOTIFY_EXIT_DONE Execution of the HIO2Exit function was completed internally by the library.
param Argument specified in the HIO2Open function.

Return Values

When event is HIO_NOTIFY_INIT_REQUEST:

0 Request denied (the HIO2Open function originating the request results in an error).)
1 Request approved (the HIOExit2 function is executed internally by the library when control returns from the callback.))
2 Processed HIO2Exit by self (the HIO2Exit function must be called before control returns from the callback).)

When event is HIO_NOTIFY_EXIT_DONE:

Any value (not accessed when the event is HIO_NOTIFY_EXIT_DONE).

Description

This function is called when the HIO2Open function is called for a device being used by another process. It is also called if the call described above is approved.
Only for hosts.

See Also

HIO2Open

Revision History

2006/07/26 Corrected errors in event macro names.
2006/05/29 Initial version.


CONFIDENTIAL