[Com0com-cvs] com0com/setup msg.cpp,1.13,1.14
The virtual serial port driver for Windows.
                
                Brought to you by:
                
                    vfrolov
                    
                
            
            
        
        
        
    | 
     
      
      
      From: Vyacheslav F. <vf...@us...> - 2012-06-04 06:02:16
      
     
   | 
Update of /cvsroot/com0com/com0com/setup
In directory vz-cvs-4.sog:/tmp/cvs-serv29914
Modified Files:
	msg.cpp 
Log Message:
Added commented code /* ... SetupSetNonInteractiveMode ...*/
Index: msg.cpp
===================================================================
RCS file: /cvsroot/com0com/com0com/setup/msg.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** msg.cpp	15 Dec 2011 15:51:48 -0000	1.13
--- msg.cpp	4 Jun 2012 06:02:14 -0000	1.14
***************
*** 2,6 ****
   * $Id$
   *
!  * Copyright (c) 2006-2011 Vyacheslav Frolov
   *
   * This program is free software; you can redistribute it and/or modify
--- 2,6 ----
   * $Id$
   *
!  * Copyright (c) 2006-2012 Vyacheslav Frolov
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 20,23 ****
--- 20,26 ----
   *
   * $Log$
+  * Revision 1.14  2012/06/04 06:02:14  vfrolov
+  * Added commented code /* ... SetupSetNonInteractiveMode ...*/
+  *
   * Revision 1.13  2011/12/15 15:51:48  vfrolov
   * Fixed types
***************
*** 356,359 ****
--- 359,379 ----
  {
    silent = val;
+ 
+   /*
+   typedef BOOL (WINAPI *PSETUPSETNONINTERACTIVEMODE)(IN BOOL);
+   static PSETUPSETNONINTERACTIVEMODE pSetupSetNonInteractiveMode = NULL;
+ 
+   if(!pSetupSetNonInteractiveMode) {
+     HMODULE hModule = GetModuleHandle("setupapi.dll");
+ 
+     if (hModule) {
+       pSetupSetNonInteractiveMode =
+           (PSETUPSETNONINTERACTIVEMODE)GetProcAddress(hModule, "SetupSetNonInteractiveMode");
+     }
+   }
+ 
+   if (pSetupSetNonInteractiveMode)
+     pSetupSetNonInteractiveMode(silent);
+   */
  }
  ///////////////////////////////////////////////////////////////
 |