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 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.)j

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

07/26/2006 Corrected mistake in event macro name.

05/29/2006 Initial version.


CONFIDENTIAL