From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13893 invoked by alias); 19 Aug 2014 14:58:30 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13874 invoked by uid 89); 19 Aug 2014 14:58:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: s87.webhostingserver.nl Received: from s87.webhostingserver.nl (HELO s87.webhostingserver.nl) (195.211.73.4) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 19 Aug 2014 14:58:28 +0000 Received: from loadbalance01.mail.antagonist.nl ([141.138.168.72] helo=proxy03.mail.antagonist.nl) by s87.webhostingserver.nl with esmtp (Exim 4.73) (envelope-from ) id 1XJkrg-003SG3-G3 for cygwin@cygwin.com; Tue, 19 Aug 2014 16:58:24 +0200 Received: by mail-la0-f44.google.com with SMTP id el20so6148451lab.3 for ; Tue, 19 Aug 2014 07:58:23 -0700 (PDT) X-Received: by 10.152.198.195 with SMTP id je3mr37514655lac.59.1408460303674; Tue, 19 Aug 2014 07:58:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.235.36 with HTTP; Tue, 19 Aug 2014 07:57:53 -0700 (PDT) From: Frank Fesevur Date: Tue, 19 Aug 2014 14:58:00 -0000 Message-ID: Subject: InitiateShutdown() misses in winreg.h To: "cygwin@cygwin.com" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00373.txt.bz2 Hi, I want to add support for the hybrid shutdown of Win8 to the shutdown package. I need to use the InitiateShutdown() function and its defines for this: http://msdn.microsoft.com/en-us/library/windows/desktop/aa376872%28v=vs.85%29.aspx But /usr/include/w32api/winreg.h doesn't not have these declarations yet. I see this file is from the mingw-w64 project. What is the best way to get these declarations added to this file? Does our mingw-w64 maintainer has direct access to their git? If so, could he add them? Or should I supply an upstream patch myself? And yes, I am aware that Vista is a minimum requirement for InitiateShutdown(). Regards, Frank -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple