Skip to content
Permalink
Branch: master
Commits on Aug 12, 2016
  1. add a tool to wait for PnP installations to complete

    rvka committed Aug 9, 2016
    Windows PnP manager may start driver installations asynchronously upon
    receiving notifications from kernel mode PnP system about discovery of
    new devices.
    
    Those installations may interact destructively with other
    installation/uninstallation activities, either initiated by a user or
    started from another service.
    
    Add a tool which can wait until the installations initiated by the PnP
    manager are finished (or the timeout elapses), which allows to serialize
    them with user- or script- initiated ones.
    
    A foreseen user of this tool is libguestfs/v2v.
    
    Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Commits on Jan 19, 2015
  1. fix crash due to access beyond array end

    rvka authored and rwmjones committed Jan 15, 2015
    If rhsrvany is called without non-option arguments, as is the case when
    it's run as a service, compat_tmain(argc, argv) accesses argv[argc]
    which is invalid.  (For me it crashes reliably in 64bit Windows).
    
    Signed-off-by: Roman Kagan <rkagan@parallels.com>
Commits on Jul 8, 2014
Commits on Nov 18, 2013
  1. Use TCHAR consistently throughout

    mdbooth authored and rwmjones committed Nov 18, 2013
  2. Fix compilation under C89

    mdbooth authored and rwmjones committed Nov 18, 2013
    Visual Studio 2010 doesn't support C99(!).
Commits on Sep 2, 2013
  1. Add uninstall command

    mdbooth authored and rwmjones committed Aug 29, 2013
  2. Make install directive use service name explicitly

    mdbooth authored and rwmjones committed Aug 29, 2013
    install now sets ImagePath to be: <BINPATH> -s <SVCNAME>
  3. Declare non-exported functions static

    mdbooth authored and rwmjones committed Aug 29, 2013
  4. Remove problematic swprintf_s

    mdbooth authored and rwmjones committed Aug 29, 2013
    Using swprintf_s results in a link error when executed on Windows 2003. Given
    that its use isn't important here and an alternative is already available, this
    change simply removes it.
  5. Rationalise whitespace to 4 space indentation with no trailing spaces

    mdbooth authored and rwmjones committed Aug 29, 2013
    RHSrvAny.c was using a mixture of 4 space indentation, and tabs with a width of
    4. This commit rationalises the whitespace to use only 4 space indentation, and
    removes trailing whitespace.
Commits on Apr 29, 2010
  1. Set SVCNAME to RHSrvAny (temporarily).

    Richard Jones
    Richard Jones committed Apr 29, 2010
    Really this should be configurable at run time, eg. from the
    command line.
  2. Replace some functions which are missing on 32 bit MinGW.

    Richard Jones
    Richard Jones committed Apr 29, 2010
    Some safe-string functions are missing on 32 bit MinGW (but
    supported by mingw-w64 project).  Detect if these functions
    are missing and replace them as appropriate.
  3. Don't use _tmain since it's not supported by some versions of MinGW.

    Richard Jones
    Richard Jones committed Apr 29, 2010
    The old 32 bit MinGW does not support _tmain and Unicode startup.
    
    Implement a simple workaround based on this page:
    http://demosten-eng.blogspot.com/2008/08/mingw-and-unicode-support.html
  4. GCC doesn't automatically promote DWORD to int.

    Richard Jones
    Richard Jones committed Apr 29, 2010
    Therefore you can't use a function like GetLastError which returns
    DWORD as an argument to %d in a printf-like function.
    
    Add the required casts.
  5. Autoconfiscate.

    rwmjones authored and Richard Jones committed Apr 29, 2010
    Note that you need to compile this on Windows or (better) use the
    Fedora cross-compiler.
    
    Also add the right flags for compiling on Windows:
    
    -D_WIN32_WINNT to specify Windows compatibility level.
    -DUNICODE and -D_UNICODE both needed to enable wide char functions.
  6. Add tab hints for emacs.

    Richard Jones
    Richard Jones committed Apr 29, 2010
    Tabs are indented by 4 characters in this source.  Add a header
    so emacs will indent in the same way.
  7. Import original VC project.

    Yuval Kashtan authored and rwmjones committed Apr 29, 2010
  8. First commit

    rwmjones committed Apr 29, 2010
You can’t perform that action at this time.