On Sat, Sep 4, 2010 at 8:43 AM, Chris Sutcliffe <[email protected]> wrote:
> On 4 September 2010 01:34, Ozkan Sezer wrote:
>> On Sat, Sep 4, 2010 at 7:42 AM, Chris Sutcliffe wrote:
>>> Using the latest crt, there a few issues I've run in to:
>>>
>>> powrprof.h:
>>>
>>> 172     DWORD WINAPI DevicePowerSetDeviceState(
>>> 173       LPCWSTR DeviceDescription,
>>> 174       ULONG SetFlags,
>>> 175       PCVOID SetData
>>> 176     );
>>>
>>> should be:
>>>
>>> 175       LPCVOID SetData
>>
>> What is the difference?
>
> PCVOID is undefined, whereas LPCVOID is defined as CONST void*.
>

Yuck! What a mess.. OK, fixed at rev. 3488.

>>> wtsapi32.h:
>>>
>>> 200       WCHAR   ClientName[CLIENTNAME_LENGTH + 1];
>>> 201       WCHAR   Domain[DOMAIN_LENGTH + 1 ];
>>> 202       WCHAR   UserName[USERNAME_LENGTH + 1];
>>> 203       WCHAR   WorkDirectory[MAX_PATH + 1];
>>> 204       WCHAR   InitialProgram[MAX_PATH + 1];
>>> 205       BYTE    EncryptionLevel;
>>> 206       ULONG   ClientAddressFamily;
>>> 207       USHORT  ClientAddress[CLIENTADDRESS_LENGTH + 1];
>>>
>>> CLIENTNAME_LENGTH, DOMAIN_LENGTH, USERNAME_LENGTH and
>>> CLIENTADDRESS_LENGTH are all undefined.
>>
>> This should be fixed at rev. 3487.
>
> Excellent, thank you!
>

You're most welcome

> Chris
>
> --
> Chris Sutcliffe
> http://emergedesktop.org
> http://www.google.com/profiles/ir0nh34d
>

--
Ozkan

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to