HIO2NotifyCallback

C Specification

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 The execution of the HIO2Exit function is completed inside the library.
param    Argument specified by the HIO2Open function

Return Values

When the 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 inside the library when control returns from the callback).
2 Processed HIO2Exit by self (the HIO2Exit function must be called until control returns from the callback).

When the event is HIO_NOTIFY_EXIT_DONE

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

Description

This callback function is called if 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 mistake in event macro name.

2006/05/29 Initial version.


CONFIDENTIAL