2013/3/14 Corinna Vinschen <[email protected]>:
> On Mar 14 16:29, Corinna Vinschen wrote:
>> Hi,
>>
>> the below patch defines the missing PIPE_ACCEPT_REMOTE_CLIENTS and
>> PIPE_REJECT_REMOTE_CLIENTS defines available since Vista.
>>
>> Ok to apply?
>>
>> Thx,
>> Corinna
>>
>>
>>       * winbase.h (PIPE_ACCEPT_REMOTE_CLIENTS): Define when building for
>>       Vista or later.
>>       (PIPE_REJECT_REMOTE_CLIENTS): Ditto.
>>
>>
>> Index: winbase.h
>> ===================================================================
>> --- winbase.h (revision 5656)
>> +++ winbase.h (working copy)
>> @@ -140,6 +140,10 @@
>>  #define PIPE_READMODE_MESSAGE 0x2
>>  #define PIPE_TYPE_BYTE 0x0
>>  #define PIPE_TYPE_MESSAGE 0x4
>> +#if (_WIN32_WINNT >= 0x0600)
>> +#define PIPE_ACCEPT_REMOTE_CLIENTS 0x0
>> +#define PIPE_REJECT_REMOTE_CLIENTS 0x8
>> +#endif
>>
>>  #define PIPE_UNLIMITED_INSTANCES 255
>>
>
> ALong the same lines, I just noticed that ddk/ntifs.h defines
> FILE_PIPE_ACCEPT_REMOTE_CLIENTS and FILE_PIPE_REJECT_REMOTE_CLIENTS
> twice in a row.  The below patch removes one set.
>
> Ok?
> Corinna
>
>
>         * ddk/include/ddk/ntifs.h (FILE_PIPE_ACCEPT_REMOTE_CLIENTS): Remove
>         duplicate.
>         (FILE_PIPE_REJECT_REMOTE_CLIENTS): Ditto.
>
>
> Index: ddk/include/ddk/ntifs.h
> ===================================================================
> --- ddk/include/ddk/ntifs.h     (revision 5656)
> +++ ddk/include/ddk/ntifs.h     (working copy)
> @@ -2874,8 +2874,6 @@
>  #define FILE_PIPE_ACCEPT_REMOTE_CLIENTS     0x00000000
>  #define FILE_PIPE_REJECT_REMOTE_CLIENTS     0x00000002
>
> -#define FILE_PIPE_ACCEPT_REMOTE_CLIENTS     0x00000000
> -#define FILE_PIPE_REJECT_REMOTE_CLIENTS     0x00000002
>  #define FILE_PIPE_TYPE_VALID_MASK           0x00000003
>
>  #define FILE_PIPE_BYTE_STREAM_MODE          0x00000000

Sure, thanks,
Kai

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to