public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* InitiateShutdown() misses in winreg.h
@ 2014-08-19 14:58 Frank Fesevur
  2014-08-19 16:30 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Fesevur @ 2014-08-19 14:58 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: InitiateShutdown() misses in winreg.h
  2014-08-19 14:58 InitiateShutdown() misses in winreg.h Frank Fesevur
@ 2014-08-19 16:30 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2014-08-19 16:30 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

On Aug 19 16:57, Frank Fesevur wrote:
> 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.

The files under w32api are maintained by the Mingw-w64 project.
You might have more chance to discuss this issue on the project
mailing list mingw-w64-public AT lists DOT sourceforge DOT net.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-19 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-19 14:58 InitiateShutdown() misses in winreg.h Frank Fesevur
2014-08-19 16:30 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).