Vitaliy Margolen wrote:
> Dmitry Timoshkov wrote:
>> "Robert Shearman" <[EMAIL PROTECTED]> wrote:
>>
Use LPCVOID instead of PCVOID.
>>>
>>> This is ntdll code and LPCVOID is a Win32 type. Don't use Win32 types
>>> in ntdll code.
>>
>> Then simple 'const void *' should do the trick, sin
Dmitry Timoshkov wrote:
> "Robert Shearman" <[EMAIL PROTECTED]> wrote:
>
>>> Use LPCVOID instead of PCVOID.
>>>
>>
>> This is ntdll code and LPCVOID is a Win32 type. Don't use Win32 types
>> in ntdll code.
>
> Then simple 'const void *' should do the trick, since introducing PCVOID
> is not an op
"Robert Shearman" <[EMAIL PROTECTED]> wrote:
Use LPCVOID instead of PCVOID.
This is ntdll code and LPCVOID is a Win32 type. Don't use Win32 types in
ntdll code.
Then simple 'const void *' should do the trick, since introducing PCVOID
is not an option (a quick search reveals that it doesn't
Dmitry Timoshkov wrote:
"Andrew Talbot" <[EMAIL PROTECTED]> wrote:
In file included from ../../include/thread.h:29,
from relay.c:30:
../../include/winternl.h:1933: error: expected declaration specifiers
or ... before PCVOID
make[2]: *** [relay.o] Error 1
make[1]: *** [winebui
Dmitry Timoshkov wrote:
> Use LPCVOID instead of PCVOID.
Success! Thanks, Dmitry.
-- Andy.
"Andrew Talbot" <[EMAIL PROTECTED]> wrote:
In file included from ../../include/thread.h:29,
from relay.c:30:
../../include/winternl.h:1933: error: expected declaration specifiers or ...
before PCVOID
make[2]: *** [relay.o] Error 1
make[1]: *** [winebuild] Error 2
make: *** [tool
I also note that I need to change the equivalent Zw... function, too, but
doing so, is not enough to solve the problem.
-- Andy.
Hi,
I want to change UnmapViewOfFile() (in kernel) to take a LPCVOID, as per
the SDK. To do that, I first need to constify one of the parameters of
NtUnmapViewOfSection() (in ntdll), but changing it from PVOID to PCVOID in
winternl.h breaks compilation (in the "make depend" stage), thus:
In file