winapi_check question...

Greg Turner gmturner007 at ameritech.net
Thu Oct 31 11:00:05 CST 2002


On Thursday 31 October 2002 09:20 am, Patrik Stridvall wrote:
> Greg wrote:
> > winapi_check tells me:
> >
> > ndr_stubless.c:86: rpcrt4: LONG_PTR WINAPIV
> > NdrClientCall2(PMIDL_STUB_DESC,PFORMAT_STRING,...): argument 1
> > documentation: \
> > /* CLIENT_CALL_RETURN */
>
> This is because winapi_check misparser the line:
> LONG_PTR /* CLIENT_CALL_RETURN */
> RPCRT4_NdrClientCall2(PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING
> pFormat, va_list args)
>
> Ignore it.

OK.  You promise it won't screw up the actual documentation bot?

>
> > rpc_epmap.c:56: rpcrt4: RPC_STATUS WINAPI
> > RpcEpRegisterA(RPC_IF_HANDLE,PRPC_BINDING_VECTOR,PUUID_VECTOR,LPSTR
> >): no translation defined: PRPC_BINDING_VECTOR
>
> This is because winapi_check doesn't know the type of
> PRPC_BINDING_VECTOR. One day I will teach it to parse the header
> files properly.
>
> Until then tell it what type it is in the the file
> tools/winapi/win32.api:
>
> %%rpcrt4
> ...
> %ptr
> ...
> PRPC_BINDING_VECTOR
> ...
>
> Since PRPC_BINDING_VECTOR is presumable a pointer it goes under the
> ptr section.
[snip]
> Same as above.
[snip]
> Same as above.

I'll take a look and see if I trust myself to mess with this.

> > how shall I deal with these?
>
> Fix them as above or do as everybody elses do wait for me to fix it.
> :-)

heh.  Well, maybe I can set an example for those deadbeats :)

-- 
gmt

"The purpose of government is to rein in the rights of the people"
 --President Bill Clinton, MTV interview, 1993




More information about the wine-devel mailing list