Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> nfyobjnxtintget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NfyObjNxtIntGet()
------------------------------------------------------------------------------
 Purpose:
 Get notify object next interval.

 Syntax:
 dwInterval = NfyObjNxtIntGet()

 Parameters:
 None.

 Returns:
 A numeric value (unsigned long int).

 Description:
 NfyObjNxtIntGet() works in conjunction with PrnNfyObjLst()
 to return the next notify interval of the latest object returned by
 PrnNfyObjLst(). PrnNfyObjLst() is used to obtain a list of
 objects that will be notified by a network message if a printer on the
 currently logged into print server requires attention, e.g. out of paper.

 NfyObjNxtIntGet() returns the amount of time in seconds between
 each time that the object is notified of the problem until it is resolved.
 NfyObjNxtIntGet() must be called after PrnNfyObjLst().

 Example:
 // To log in to print server PRINTERS, list all objects that
 // will be notified if printer 0 has a problem and display the first and
 // subsequent notify periods:
 if( PSWSLogin( "PRINTERS" ) > 0 )
    lpszName = PrnNfyObjLst( 0, TRUE )
    do while !empty( lpszName )
       ? "Object ",lpszName," will be notified of a problem "
       ?? "after ", NfyObjFstIntGet(),;
        " seconds, and subsequently "
       ?? "every ", NfyObjNxtIntGet(),;
        " seconds until problem resolved"
       lpszName = PrnNfyObjLst( 0, FALSE )
    enddo
 endif

 Notes:
 It is only possible to be logged in to one print server at a time.

See Also: PrnNfyObjLst() PSWSLogin() NfyObjSrvGet() NfyObjTypGet() NfyObjFstIntGet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson