mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[WIDL]
- use -Oif flag to produce modern (!) NT4 stubs, with Microsoft extensions to IDL language. [ADVAPI32] - Initialize *pcbBytesNeeded, as it's marked as [in], it needs to be in the 0-8k range before being passed to RPC. Now 2nd stage got his mouse and keyboard again. svn path=/trunk/; revision=53171
This commit is contained in:
@@ -22,8 +22,8 @@ else()
|
||||
set(IDL_HEADER_ARG -h -o) #.h
|
||||
set(IDL_HEADER_ARG2 -h -H) #.h
|
||||
set(IDL_TYPELIB_ARG -t -o) #.tlb
|
||||
set(IDL_SERVER_ARG -s -o) #.c for server library
|
||||
set(IDL_CLIENT_ARG -c -o) #.c for stub client library
|
||||
set(IDL_SERVER_ARG -Oif -s -o) #.c for server library
|
||||
set(IDL_CLIENT_ARG -Oif -c -o) #.c for stub client library
|
||||
set(IDL_PROXY_ARG -p -o)
|
||||
set(IDL_INTERFACE_ARG -u -o)
|
||||
if(ARCH MATCHES i386)
|
||||
|
||||
@@ -1870,7 +1870,10 @@ QueryServiceConfigW(SC_HANDLE hService,
|
||||
|
||||
TRACE("QueryServiceConfigW(%p, %p, %lu, %p)\n",
|
||||
hService, lpServiceConfig, cbBufSize, pcbBytesNeeded);
|
||||
|
||||
|
||||
if(pcbBytesNeeded)
|
||||
*pcbBytesNeeded = 0;
|
||||
|
||||
RpcTryExcept
|
||||
{
|
||||
/* Call to services.exe using RPC */
|
||||
|
||||
@@ -264,7 +264,7 @@ ${call RBUILD_intermediate_path_noext,$(2)}_c.c ${call RBUILD_intermediate_path_
|
||||
|
||||
${call RBUILD_intermediate_path_noext,$(2)}_c: $(2) $(3) $$(widl_TARGET) | ${call RBUILD_intermediate_dir,$(2)}
|
||||
$$(ECHO_WIDL)
|
||||
$$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_c.h -c -C ${call RBUILD_intermediate_path_noext,$(2)}_c.c $(2)
|
||||
$$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -Oif -h -H ${call RBUILD_intermediate_path_noext,$(2)}_c.h -c -C ${call RBUILD_intermediate_path_noext,$(2)}_c.c $(2)
|
||||
$${checkpoint} $$@>$(NUL)
|
||||
|
||||
${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_c.c,,,${call RBUILD_intermediate_path_noext,$(2)}_c.o}
|
||||
@@ -280,7 +280,7 @@ ${call RBUILD_intermediate_path_noext,$(2)}_s.c ${call RBUILD_intermediate_path_
|
||||
|
||||
${call RBUILD_intermediate_path_noext,$(2)}_s: $(2) $(3) $$(widl_TARGET) | ${call RBUILD_intermediate_dir,$(2)}
|
||||
$$(ECHO_WIDL)
|
||||
$$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_s.h -s -S ${call RBUILD_intermediate_path_noext,$(2)}_s.c $(2)
|
||||
$$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -Oif -h -H ${call RBUILD_intermediate_path_noext,$(2)}_s.h -s -S ${call RBUILD_intermediate_path_noext,$(2)}_s.c $(2)
|
||||
$${checkpoint} $$@>$(NUL)
|
||||
|
||||
${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_s.c,,,${call RBUILD_intermediate_path_noext,$(2)}_s.o}
|
||||
|
||||
Reference in New Issue
Block a user