API Guide
2-360 API Functions 601355 Rev A
98 printf(“Timeout value
reached\n” );
99 done = VSE_TRUE;
100 }
101 }
102
103 /* destroy the notify handle */
104 VS_Notify_Destroy ( h );
105 }
106 else
107 {
108 rc = VSE_FALSE;
109 }
110
111 return ( rc );
112}
Notes Client uses VS_Notify_GetFields to access the MediaClass
callback information in a notify handle.
If a VSE_ERR_SIGNAL is returned, any client error handling
routines that have been installed for that signal have been
called.
VS_Notify_Listen returns error codes instead of the normal
VST_BOOLEAN values (VSE_TRUE, VSE_FALSE). This
simplifies client code when performing asynchronous
processing. Client can use the “switch” statement on the return
code directly from the routine without having to retrieve error
codes.