1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<TITLE>HIO2NotifyCallback</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">HIO2NotifyCallback</H1> 12<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>typedef int (*HIO2NotifyCallback)( HIO2NotifyEvent <em>event</em>, void* <em>param</em> );</CODE></PRE> 16</DL> 17<H2>Arguments</H2> 18<TABLE border="1" cellpadding="3" cellspacing="0.1"> 19 <TBODY> 20 <TR> 21<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>event</CODE></STRONG></EM> </TD> 22 <TD width="520"> 23 <table border="1" cellspacing="0.1" width="500"> 24 <tr> 25<td width="150"><code>HIO2_NOTIFY_INIT_REQUEST</code></td> 26<td width="350">The <CODE>HIO2Open</CODE> function was called for a device being used by another process.</td> 27 </tr> 28 <tr> 29<td width="150"><code>HIO2_NOTIFY_EXIT_DONE</code></td> 30<td width="350">The execution of the <CODE>HIO2Exit</CODE> function is completed inside the library.</td> 31 </tr> 32 </table> 33 </TD> 34 </TR> 35 <TR> 36<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>param</CODE></STRONG></EM> </TD> 37<TD width="520">Argument specified by the <CODE>HIO2Open</CODE> function</TD> 38 </TR> 39 </TBODY> 40</TABLE> 41<H2>Return Values</H2> 42<P> 43When the event is <CODE>HIO_NOTIFY_INIT_REQUEST</CODE> 44</p> 45<blockquote> 46 <table border="1" cellspacing="0.1"> 47<tr> 48<td>0</td> 49<td>Request denied (the HIO2Open originating the request results in an error) </td> 50</tr> 51<tr> 52<td>1</td> 53<td>Request approved (The HIOExit2 function is executed inside the library when control returns from the callback.) </td> 54</tr> 55<tr> 56<td>2</td> 57<td>Processed HIO2Exit by self (The HIO2Exit function must be called until control returns from the callback.)�j</td> 58</tr> 59</table> 60</blockquote> 61<P> 62When the event is HIO_NOTIFY_EXIT_DONE 63</P> 64<blockquote> 65Any value (Not accessed when the event is HIO_NOTIFY_EXIT_DONE.) 66</blockquote> 67</P> 68<H2>Description</H2> 69<P> 70This 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.<br>Only for hosts. 71</P> 72<H2>See Also</H2> 73<P> 74<CODE><A href="HIO2Open.html">HIO2Open</A></CODE><BR> 75</P> 76<H2>Revision History</H2> 77<P>07/26/2006 Corrected mistake in event macro name.</P> 78<P>05/29/2006 Initial version.</P> 79<hr> 80<P>CONFIDENTIAL</p> 81</BODY> 82</HTML>