Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> blidemmin()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 BLIDEMMIN()
------------------------------------------------------------------------------
 Purpose:
 Get / set demonstration minutes.

 Syntax:
 nuDemoMins = BLIDEMMIN(nuDemoMins);

 Parameters:
 nuDemoMins  Demonstration time limit in minutes.

 Returns:
 Demonstration time limit in minutes.

 Description:
 When passed a parameter of 0 this function returns the demonstration time
 limit of the program if it was set at link time as an integer number of
 minutes between 0 (not set) and 65535.

 It may also be used to extend the limit to allow the current task to finish
 by passing the new limit as a parameter to the function. Since this is the
 new limit it will always be greater than the value returned.
 This function is currently only supported for DOS and DOS extended programs,
 not for Windows programs.

 Example:
 #include <stdio.h>                                                          
 #include <blinker.h>                                                        
                                                                             
 void main(void)                                                             
 {                                                                           
 int demominutes;                                                            
 demominutes = BLIDEMMIN(0);                                                 
 if (demominutes > 0)                                                        
    {                                                                        
    printf (This program will expire in %d minutes\n",                       
       demominutes);                                                         
    printf ("It will be extended by 2 minutes\n");                           
    BLIDEMMIN(demominutes+2);                                                
    }                                                                        
 }                                                                           

See Also: BLIDEMDTE() / BLIDEMDTEBAS() BLINKER DEMONSTRATION MINUTES

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