winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
June 2009
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
5 participants
1115 discussions
Start a n
N
ew thread
Alexandre Julliard : rpcrt4: Return the stack size from the ObjectStubless function so that the thunks are independent from the number of arguments .
by Alexandre Julliard
02 Jun '09
02 Jun '09
Module: wine Branch: master Commit: ce3c45934baf09d7d2d917322ba2ca88fdfcaa68 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ce3c45934baf09d7d2d917322…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 1 20:52:40 2009 +0200 rpcrt4: Return the stack size from the ObjectStubless function so that the thunks are independent from the number of arguments. --- dlls/rpcrt4/cproxy.c | 60 +++++++++++++++++++++++++------------------------- 1 files changed, 30 insertions(+), 30 deletions(-) diff --git a/dlls/rpcrt4/cproxy.c b/dlls/rpcrt4/cproxy.c index f5fb6f3..22af343 100644 --- a/dlls/rpcrt4/cproxy.c +++ b/dlls/rpcrt4/cproxy.c @@ -20,6 +20,9 @@ * TODO: Handle non-i386 architectures */ +#include "config.h" +#include "wine/port.h" + #include <stdarg.h> #define COBJMACROS @@ -65,50 +68,50 @@ static const IRpcProxyBufferVtbl StdProxy_Vtbl; struct StublessThunk { BYTE push; DWORD index; - BYTE call; + BYTE jmp; LONG handler; - BYTE ret; - WORD bytes; - BYTE pad[3]; }; #include "poppack.h" -/* adjust the stack size since we don't use Windows's method */ -#define STACK_ADJUST sizeof(DWORD) - -#define FILL_STUBLESS(x,idx,stk) \ +#define FILL_STUBLESS(x,idx) \ x->push = 0x68; /* pushl [immediate] */ \ x->index = (idx); \ - x->call = 0xe8; /* call [near] */ \ - x->handler = (char*)ObjectStubless - (char*)&x->ret; \ - x->ret = 0xc2; /* ret [immediate] */ \ - x->bytes = stk; \ - x->pad[0] = 0x8d; /* leal (%esi),%esi */ \ - x->pad[1] = 0x76; \ - x->pad[2] = 0x00; - -static HRESULT WINAPI ObjectStubless(DWORD index) + x->jmp = 0xe9; /* jmp */ \ + x->handler = (char*)call_stubless_func - (char*)(&x->handler + 1); + +extern void call_stubless_func(void); +__ASM_GLOBAL_FUNC(call_stubless_func, + "pushl %esp\n\t" /* pointer to index */ + "call " __ASM_NAME("ObjectStubless") "\n\t" + "popl %edx\n\t" /* args size */ + "movl (%esp),%ecx\n\t" /* return address */ + "addl %edx,%esp\n\t" + "jmp *%ecx" ); + +HRESULT WINAPI ObjectStubless(DWORD *args) { - char *args = (char*)(&index + 2); - LPVOID iface = *(LPVOID*)args; + DWORD index = args[0]; + LPVOID iface = (LPVOID)args[2]; - ICOM_THIS_MULTI(StdProxyImpl,PVtbl,iface); + ICOM_THIS_MULTI(StdProxyImpl,PVtbl,iface); + + const MIDL_STUBLESS_PROXY_INFO *stubless = This->stubless; + const PFORMAT_STRING fs = stubless->ProcFormatString + stubless->FormatStringOffset[index]; - PFORMAT_STRING fs = This->stubless->ProcFormatString + This->stubless->FormatStringOffset[index]; - unsigned bytes = *(const WORD*)(fs+8) - STACK_ADJUST; - TRACE("(%p)->(%d)([%d bytes]) ret=%08x\n", iface, index, bytes, *(DWORD*)(args+bytes)); + /* store bytes to remove from stack */ + args[0] = *(const WORD*)(fs + 8); + TRACE("(%p)->(%d)([%d bytes]) ret=%08x\n", iface, index, args[0], args[1]); - return NdrClientCall2(This->stubless->pStubDesc, fs, args); + return NdrClientCall2(stubless->pStubDesc, fs, args + 2); } #else /* __i386__ */ /* can't do that on this arch */ struct StublessThunk { int dummy; }; -#define FILL_STUBLESS(x,idx,stk) \ +#define FILL_STUBLESS(x,idx) \ ERR("stubless proxies are not supported on this architecture\n"); -#define STACK_ADJUST 0 #endif /* __i386__ */ @@ -157,10 +160,7 @@ HRESULT StdProxy_Construct(REFIID riid, for (i=0; i<count; i++) { struct StublessThunk *thunk = &This->thunks[i]; if (vtbl->Vtbl[i] == (LPVOID)-1) { - PFORMAT_STRING fs = stubless->ProcFormatString + stubless->FormatStringOffset[i]; - unsigned bytes = *(const WORD*)(fs+8) - STACK_ADJUST; - TRACE("method %d: stacksize=%d\n", i, bytes); - FILL_STUBLESS(thunk, i, bytes) + FILL_STUBLESS(thunk, i) This->PVtbl[i] = thunk; } else {
1
0
0
0
Alexandre Julliard : rpcrt4: Allocate the delegated stubs vtbl only once it is really needed.
by Alexandre Julliard
02 Jun '09
02 Jun '09
Module: wine Branch: master Commit: 6f4902380278fbcdedc8d78228cf3b41fc5429e1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6f4902380278fbcdedc8d7822…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 1 16:55:14 2009 +0200 rpcrt4: Allocate the delegated stubs vtbl only once it is really needed. --- dlls/rpcrt4/cpsf.c | 8 +------ dlls/rpcrt4/cpsf.h | 2 - dlls/rpcrt4/cstub.c | 55 ++++++++++++++++++++++++-------------------------- 3 files changed, 27 insertions(+), 38 deletions(-) diff --git a/dlls/rpcrt4/cpsf.c b/dlls/rpcrt4/cpsf.c index 9b91466..5d7ffe7 100644 --- a/dlls/rpcrt4/cpsf.c +++ b/dlls/rpcrt4/cpsf.c @@ -160,7 +160,6 @@ HRESULT WINAPI NdrDllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv, *ppv = NULL; if (!pPSFactoryBuffer->lpVtbl) { const ProxyFileInfo **pProxyFileList2; - DWORD max_delegating_vtbl_size = 0; pPSFactoryBuffer->lpVtbl = &CStdPSFactory_Vtbl; pPSFactoryBuffer->RefCount = 0; pPSFactoryBuffer->pProxyFileList = pProxyFileList; @@ -173,19 +172,14 @@ HRESULT WINAPI NdrDllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv, void **pRpcStubVtbl = (void **)&(*pProxyFileList2)->pStubVtblList[i]->Vtbl; unsigned int j; - if ((*pProxyFileList2)->pDelegatedIIDs && (*pProxyFileList2)->pDelegatedIIDs[i]) { + if ((*pProxyFileList2)->pDelegatedIIDs && (*pProxyFileList2)->pDelegatedIIDs[i]) pSrcRpcStubVtbl = (void * const *)&CStdStubBuffer_Delegating_Vtbl; - if ((*pProxyFileList2)->pStubVtblList[i]->header.DispatchTableCount > max_delegating_vtbl_size) - max_delegating_vtbl_size = (*pProxyFileList2)->pStubVtblList[i]->header.DispatchTableCount; - } for (j = 0; j < sizeof(IRpcStubBufferVtbl)/sizeof(void *); j++) if (!pRpcStubVtbl[j]) pRpcStubVtbl[j] = pSrcRpcStubVtbl[j]; } } - if(max_delegating_vtbl_size > 0) - create_delegating_vtbl(max_delegating_vtbl_size); } if (pclsid && IsEqualGUID(rclsid, pclsid)) return IPSFactoryBuffer_QueryInterface((LPPSFACTORYBUFFER)pPSFactoryBuffer, iid, ppv); diff --git a/dlls/rpcrt4/cpsf.h b/dlls/rpcrt4/cpsf.h index 9b401b8..58645fb 100644 --- a/dlls/rpcrt4/cpsf.h +++ b/dlls/rpcrt4/cpsf.h @@ -38,8 +38,6 @@ const MIDL_SERVER_INFO *CStdStubBuffer_GetServerInfo(IRpcStubBuffer *iface); const IRpcStubBufferVtbl CStdStubBuffer_Vtbl; const IRpcStubBufferVtbl CStdStubBuffer_Delegating_Vtbl; -void create_delegating_vtbl(DWORD num_methods); - HRESULT create_stub(REFIID iid, IUnknown *pUnk, IRpcStubBuffer **ppstub); #endif /* __WINE_CPSF_H */ diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c index b9ff153..8e947f2 100644 --- a/dlls/rpcrt4/cstub.c +++ b/dlls/rpcrt4/cstub.c @@ -117,10 +117,7 @@ typedef struct /* remaining entries in vtbl */ } ref_counted_vtbl; -static struct -{ - ref_counted_vtbl *table; -} current_vtbl; +static ref_counted_vtbl *current_vtbl; static HRESULT WINAPI delegating_QueryInterface(IUnknown *pUnk, REFIID iid, void **ppv) @@ -225,38 +222,38 @@ static BOOL fill_delegated_stub_table(IUnknownVtbl *vtbl, DWORD num) #endif /* __i386__ */ -void create_delegating_vtbl(DWORD num_methods) +static IUnknownVtbl *get_delegating_vtbl(DWORD num_methods) { - TRACE("%d\n", num_methods); - if(num_methods <= 3) - { - ERR("should have more than %d methods\n", num_methods); - return; - } + IUnknownVtbl *ret; + + if (num_methods < 256) num_methods = 256; /* avoid frequent reallocations */ EnterCriticalSection(&delegating_vtbl_section); - if(!current_vtbl.table || num_methods > current_vtbl.table->size) + + if(!current_vtbl || num_methods > current_vtbl->size) { - if(current_vtbl.table && current_vtbl.table->ref == 0) + ref_counted_vtbl *table = HeapAlloc(GetProcessHeap(), 0, + FIELD_OFFSET(ref_counted_vtbl, vtbl) + num_methods * sizeof(void*)); + if (!table) + { + LeaveCriticalSection(&delegating_vtbl_section); + return NULL; + } + + table->ref = 0; + table->size = num_methods; + fill_delegated_stub_table(&table->vtbl, num_methods); + + if (current_vtbl && current_vtbl->ref == 0) { TRACE("freeing old table\n"); - HeapFree(GetProcessHeap(), 0, current_vtbl.table); + HeapFree(GetProcessHeap(), 0, current_vtbl); } - current_vtbl.table = HeapAlloc(GetProcessHeap(), 0, FIELD_OFFSET(ref_counted_vtbl, vtbl) + num_methods * sizeof(void*)); - current_vtbl.table->ref = 0; - current_vtbl.table->size = num_methods; - fill_delegated_stub_table(¤t_vtbl.table->vtbl, num_methods); + current_vtbl = table; } - LeaveCriticalSection(&delegating_vtbl_section); -} -static IUnknownVtbl *get_delegating_vtbl(void) -{ - IUnknownVtbl *ret; - - EnterCriticalSection(&delegating_vtbl_section); - current_vtbl.table->ref++; - ret = ¤t_vtbl.table->vtbl; + current_vtbl->ref++; + ret = ¤t_vtbl->vtbl; LeaveCriticalSection(&delegating_vtbl_section); return ret; } @@ -268,7 +265,7 @@ static void release_delegating_vtbl(IUnknownVtbl *vtbl) EnterCriticalSection(&delegating_vtbl_section); table->ref--; TRACE("ref now %d\n", table->ref); - if(table->ref == 0 && table != current_vtbl.table) + if(table->ref == 0 && table != current_vtbl) { TRACE("... and we're not current so free'ing\n"); HeapFree(GetProcessHeap(), 0, table); @@ -308,7 +305,7 @@ HRESULT CStdStubBuffer_Delegating_Construct(REFIID riid, return E_OUTOFMEMORY; } - This->base_obj = get_delegating_vtbl(); + This->base_obj = get_delegating_vtbl( vtbl->header.DispatchTableCount ); r = create_stub(delegating_iid, (IUnknown*)&This->base_obj, &This->base_stub); if(FAILED(r)) {
1
0
0
0
Alexandre Julliard : rpcrt4: Change the allocation of delegated stub methods so that we never need to free them .
by Alexandre Julliard
02 Jun '09
02 Jun '09
Module: wine Branch: master Commit: 0357ad0894a61071d3304d8976b766fdc9cec892 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0357ad0894a61071d3304d897…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 1 16:40:44 2009 +0200 rpcrt4: Change the allocation of delegated stub methods so that we never need to free them. --- dlls/rpcrt4/cstub.c | 84 +++++++++++++++++++++++++++++--------------------- 1 files changed, 49 insertions(+), 35 deletions(-) diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c index aed1432..b9ff153 100644 --- a/dlls/rpcrt4/cstub.c +++ b/dlls/rpcrt4/cstub.c @@ -113,7 +113,6 @@ typedef struct { DWORD ref; DWORD size; - void **methods; IUnknownVtbl vtbl; /* remaining entries in vtbl */ } ref_counted_vtbl; @@ -161,45 +160,67 @@ typedef struct { } vtbl_method_t; #include "poppack.h" -static void fill_table(IUnknownVtbl *vtbl, void **methods, DWORD num) +#define BLOCK_SIZE 1024 +#define MAX_BLOCKS 64 /* 64k methods should be enough for anybody */ + +static const vtbl_method_t *method_blocks[MAX_BLOCKS]; + +static const vtbl_method_t *allocate_block( unsigned int num ) { - vtbl_method_t *method; - void **entry; - DWORD i; + unsigned int i; + vtbl_method_t *prev, *block; + + block = VirtualAlloc( NULL, BLOCK_SIZE * sizeof(*block), + MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE ); + if (!block) return NULL; + + for (i = 0; i < BLOCK_SIZE; i++) + { + block[i].mov1 = 0x0424448b; + block[i].mov2 = 0x408b; + block[i].sixteen = 0x10; + block[i].mov3 = 0x04244489; + block[i].mov4 = 0x008b; + block[i].mov5 = 0x808b; + block[i].offset = (BLOCK_SIZE * num + i + 3) << 2; + block[i].jmp = 0xe0ff; + block[i].pad[0] = 0x8d; + block[i].pad[1] = 0x76; + block[i].pad[2] = 0x00; + } + VirtualProtect( block, BLOCK_SIZE * sizeof(*block), PAGE_EXECUTE_READ, NULL ); + prev = InterlockedCompareExchangePointer( (void **)&method_blocks[num], block, NULL ); + if (prev) /* someone beat us to it */ + { + VirtualFree( block, 0, MEM_RELEASE ); + block = prev; + } + return block; +} + +static BOOL fill_delegated_stub_table(IUnknownVtbl *vtbl, DWORD num) +{ + const void **entry = (const void **)(vtbl + 1); + DWORD i, j; vtbl->QueryInterface = delegating_QueryInterface; vtbl->AddRef = delegating_AddRef; vtbl->Release = delegating_Release; - - method = (vtbl_method_t*)methods; - entry = (void**)(vtbl + 1); - - for(i = 3; i < num; i++) + for (i = 0; i < (num - 3 + BLOCK_SIZE - 1) / BLOCK_SIZE; i++) { - *entry = method; - method->mov1 = 0x0424448b; - method->mov2 = 0x408b; - method->sixteen = 0x10; - method->mov3 = 0x04244489; - method->mov4 = 0x008b; - method->mov5 = 0x808b; - method->offset = i << 2; - method->jmp = 0xe0ff; - method->pad[0] = 0x8d; - method->pad[1] = 0x76; - method->pad[2] = 0x00; - - method++; - entry++; + const vtbl_method_t *block = method_blocks[i]; + if (!block && !(block = allocate_block( i ))) return FALSE; + for (j = 0; j < BLOCK_SIZE && j < num - 3 - i * BLOCK_SIZE; j++) *entry++ = &block[j]; } + return TRUE; } #else /* __i386__ */ -typedef struct {int dummy;} vtbl_method_t; -static void fill_table(IUnknownVtbl *vtbl, void **methods, DWORD num) +static BOOL fill_delegated_stub_table(IUnknownVtbl *vtbl, DWORD num) { ERR("delegated stubs are not supported on this architecture\n"); + return FALSE; } #endif /* __i386__ */ @@ -216,21 +237,15 @@ void create_delegating_vtbl(DWORD num_methods) EnterCriticalSection(&delegating_vtbl_section); if(!current_vtbl.table || num_methods > current_vtbl.table->size) { - DWORD size; - DWORD old_protect; if(current_vtbl.table && current_vtbl.table->ref == 0) { TRACE("freeing old table\n"); - VirtualFree(current_vtbl.table->methods, 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, current_vtbl.table); } - size = (num_methods - 3) * sizeof(vtbl_method_t); current_vtbl.table = HeapAlloc(GetProcessHeap(), 0, FIELD_OFFSET(ref_counted_vtbl, vtbl) + num_methods * sizeof(void*)); current_vtbl.table->ref = 0; current_vtbl.table->size = num_methods; - current_vtbl.table->methods = VirtualAlloc(NULL, size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE); - fill_table(¤t_vtbl.table->vtbl, current_vtbl.table->methods, num_methods); - VirtualProtect(current_vtbl.table->methods, size, PAGE_EXECUTE_READ, &old_protect); + fill_delegated_stub_table(¤t_vtbl.table->vtbl, num_methods); } LeaveCriticalSection(&delegating_vtbl_section); } @@ -256,7 +271,6 @@ static void release_delegating_vtbl(IUnknownVtbl *vtbl) if(table->ref == 0 && table != current_vtbl.table) { TRACE("... and we're not current so free'ing\n"); - VirtualFree(current_vtbl.table->methods, 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, table); } LeaveCriticalSection(&delegating_vtbl_section);
1
0
0
0
Rico Schüller : d3d10: Replace a few more unknown in parse_fx10.
by Alexandre Julliard
01 Jun '09
01 Jun '09
Module: wine Branch: master Commit: 3838f4b21a044884282c4e3129b1873b3d2f3656 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3838f4b21a044884282c4e312…
Author: Rico Schüller <kgbricola(a)web.de> Date: Sat May 30 14:13:19 2009 +0200 d3d10: Replace a few more unknown in parse_fx10. --- dlls/d3d10/d3d10_private.h | 2 ++ dlls/d3d10/effect.c | 23 +++++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h index fc8e932..c5a74aa 100644 --- a/dlls/d3d10/d3d10_private.h +++ b/dlls/d3d10/d3d10_private.h @@ -93,6 +93,8 @@ struct d3d10_effect DWORD version; DWORD localbuffers_count; DWORD localobjects_count; + DWORD sharedbuffers_count; + DWORD sharedobjects_count; DWORD technique_count; DWORD index_offset; DWORD dephstencilstate_count; diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index eff753f..8316db8 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -462,12 +462,15 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s read_dword(&ptr, &e->localobjects_count); TRACE("Localobjects count: %u\n", e->localobjects_count); + read_dword(&ptr, &e->sharedbuffers_count); + TRACE("Sharedbuffers count: %u\n", e->sharedbuffers_count); + + /* Number of variables in shared buffers? */ read_dword(&ptr, &unknown); FIXME("Unknown 1: %u\n", unknown); - read_dword(&ptr, &unknown); - FIXME("Unknown 2: %u\n", unknown); - read_dword(&ptr, &unknown); - FIXME("Unknown 3: %u\n", unknown); + + read_dword(&ptr, &e->sharedobjects_count); + TRACE("Sharedobjects count: %u\n", e->sharedobjects_count); read_dword(&ptr, &e->technique_count); TRACE("Technique count: %u\n", e->technique_count); @@ -476,9 +479,9 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s TRACE("Index offset: %#x\n", e->index_offset); read_dword(&ptr, &unknown); - FIXME("Unknown 4: %u\n", unknown); + FIXME("Unknown 2: %u\n", unknown); read_dword(&ptr, &unknown); - FIXME("Unknown 5: %u\n", unknown); + FIXME("Unknown 3: %u\n", unknown); read_dword(&ptr, &e->dephstencilstate_count); TRACE("Depthstencilstate count: %u\n", e->dephstencilstate_count); @@ -493,15 +496,15 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s TRACE("Samplerstate count: %u\n", e->samplerstate_count); read_dword(&ptr, &unknown); - FIXME("Unknown 6: %u\n", unknown); + FIXME("Unknown 4: %u\n", unknown); read_dword(&ptr, &unknown); - FIXME("Unknown 7: %u\n", unknown); + FIXME("Unknown 5: %u\n", unknown); /* Number of function calls in all passes? */ read_dword(&ptr, &unknown); - FIXME("Unknown 8: %u\n", unknown); + FIXME("Unknown 6: %u\n", unknown); read_dword(&ptr, &unknown); - FIXME("Unknown 9: %u\n", unknown); + FIXME("Unknown 7: %u\n", unknown); return parse_fx10_body(e, ptr, data_size - (ptr - data)); }
1
0
0
0
Rico Schüller : d3d10: Improve parse_fx10.
by Alexandre Julliard
01 Jun '09
01 Jun '09
Module: wine Branch: master Commit: 99a4287f5daefc54a1c179d033575585408fbbcc URL:
http://source.winehq.org/git/wine.git/?a=commit;h=99a4287f5daefc54a1c179d03…
Author: Rico Schüller <kgbricola(a)web.de> Date: Fri May 29 23:35:07 2009 +0200 d3d10: Improve parse_fx10. --- dlls/d3d10/d3d10_private.h | 6 ++++++ dlls/d3d10/effect.c | 42 +++++++++++++++++++++++++++--------------- 2 files changed, 33 insertions(+), 15 deletions(-) diff --git a/dlls/d3d10/d3d10_private.h b/dlls/d3d10/d3d10_private.h index 1488b99..fc8e932 100644 --- a/dlls/d3d10/d3d10_private.h +++ b/dlls/d3d10/d3d10_private.h @@ -90,9 +90,15 @@ struct d3d10_effect LONG refcount; ID3D10Device *device; + DWORD version; + DWORD localbuffers_count; + DWORD localobjects_count; DWORD technique_count; DWORD index_offset; + DWORD dephstencilstate_count; DWORD blendstate_count; + DWORD rasterizerstate_count; + DWORD samplerstate_count; struct d3d10_effect_technique *techniques; }; diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index eecf511..eff753f 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -448,19 +448,26 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s const char *ptr = data; DWORD unknown; - /* version info? */ - skip_dword_unknown(&ptr, 2); + /* Compiled target version (e.g. fx_4_0=0xfeff1001, fx_4_1=0xfeff1011). */ + read_dword(&ptr, &e->version); + TRACE("Target: %#x\n", e->version); + read_dword(&ptr, &e->localbuffers_count); + TRACE("Localbuffers count: %u\n", e->localbuffers_count); + + /* Number of variables in local buffers? */ read_dword(&ptr, &unknown); FIXME("Unknown 0: %u\n", unknown); + + read_dword(&ptr, &e->localobjects_count); + TRACE("Localobjects count: %u\n", e->localobjects_count); + read_dword(&ptr, &unknown); FIXME("Unknown 1: %u\n", unknown); read_dword(&ptr, &unknown); FIXME("Unknown 2: %u\n", unknown); read_dword(&ptr, &unknown); FIXME("Unknown 3: %u\n", unknown); - read_dword(&ptr, &unknown); - FIXME("Unknown 4: %u\n", unknown); read_dword(&ptr, &e->technique_count); TRACE("Technique count: %u\n", e->technique_count); @@ -469,27 +476,32 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s TRACE("Index offset: %#x\n", e->index_offset); read_dword(&ptr, &unknown); + FIXME("Unknown 4: %u\n", unknown); + read_dword(&ptr, &unknown); FIXME("Unknown 5: %u\n", unknown); + + read_dword(&ptr, &e->dephstencilstate_count); + TRACE("Depthstencilstate count: %u\n", e->dephstencilstate_count); + + read_dword(&ptr, &e->blendstate_count); + TRACE("Blendstate count: %u\n", e->blendstate_count); + + read_dword(&ptr, &e->rasterizerstate_count); + TRACE("Rasterizerstate count: %u\n", e->rasterizerstate_count); + + read_dword(&ptr, &e->samplerstate_count); + TRACE("Samplerstate count: %u\n", e->samplerstate_count); + read_dword(&ptr, &unknown); FIXME("Unknown 6: %u\n", unknown); read_dword(&ptr, &unknown); FIXME("Unknown 7: %u\n", unknown); - read_dword(&ptr, &e->blendstate_count); - TRACE("Blendstate count: %u\n", e->blendstate_count); - + /* Number of function calls in all passes? */ read_dword(&ptr, &unknown); FIXME("Unknown 8: %u\n", unknown); read_dword(&ptr, &unknown); FIXME("Unknown 9: %u\n", unknown); - read_dword(&ptr, &unknown); - FIXME("Unknown 10: %u\n", unknown); - read_dword(&ptr, &unknown); - FIXME("Unknown 11: %u\n", unknown); - read_dword(&ptr, &unknown); - FIXME("Unknown 12: %u\n", unknown); - read_dword(&ptr, &unknown); - FIXME("Unknown 13: %u\n", unknown); return parse_fx10_body(e, ptr, data_size - (ptr - data)); }
1
0
0
0
Nicolas Le Cam : winetest: Add option -d to specify tests output directory.
by Alexandre Julliard
01 Jun '09
01 Jun '09
Module: wine Branch: master Commit: 55b51f3b1e39e962beb513464cfcb4721922a0a0 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=55b51f3b1e39e962beb513464…
Author: Nicolas Le Cam <niko.lecam(a)gmail.com> Date: Sun May 31 13:43:52 2009 +0200 winetest: Add option -d to specify tests output directory. --- programs/winetest/main.c | 37 ++++++++++++++++++++++++------------- 1 files changed, 24 insertions(+), 13 deletions(-) diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 381328c..7009ce8 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -612,7 +612,7 @@ extract_test_proc (HMODULE hModule, LPCTSTR lpszType, } static char * -run_tests (char *logname) +run_tests (char *logname, char *outdir) { int i; char *strres, *eol, *nextline; @@ -659,16 +659,22 @@ run_tests (char *logname) report (R_FATAL, "Could not open logfile: %u", GetLastError()); /* try stable path for ZoneAlarm */ - strcpy( tempdir, tmppath ); - strcat( tempdir, "wct" ); - if (!CreateDirectoryA( tempdir, NULL )) - { - if (!GetTempFileNameA( tmppath, "wct", 0, tempdir )) - report (R_FATAL, "Can't name temporary dir (check %%TEMP%%)."); - DeleteFileA( tempdir ); + if (!outdir) { + strcpy( tempdir, tmppath ); + strcat( tempdir, "wct" ); + if (!CreateDirectoryA( tempdir, NULL )) - report (R_FATAL, "Could not create directory: %s", tempdir); + { + if (!GetTempFileNameA( tmppath, "wct", 0, tempdir )) + report (R_FATAL, "Can't name temporary dir (check %%TEMP%%)."); + DeleteFileA( tempdir ); + if (!CreateDirectoryA( tempdir, NULL )) + report (R_FATAL, "Could not create directory: %s", tempdir); + } } + else + strcpy( tempdir, outdir); + report (R_DIR, tempdir); xprintf ("Version 4\n"); @@ -749,7 +755,8 @@ run_tests (char *logname) report (R_STATUS, "Cleaning up"); CloseHandle( logfile ); logfile = 0; - remove_dir (tempdir); + if (!outdir) + remove_dir (tempdir); heap_free(wine_tests); heap_free(curpath); @@ -816,6 +823,7 @@ usage (void) " --help print this message and exit\n" " --version print the build version and exit\n" " -c console mode, no GUI\n" +" -d DIR Use DIR as temp directory (default: %%TEMP%%\\wct)" " -e preserve the environment\n" " -h print this message and exit\n" " -p shutdown when the tests are done\n" @@ -828,7 +836,7 @@ usage (void) int main( int argc, char *argv[] ) { - char *logname = NULL; + char *logname = NULL, *outdir = NULL; const char *extract = NULL; const char *cp, *submit = NULL; int reset_env = 1; @@ -915,6 +923,9 @@ int main( int argc, char *argv[] ) extract_only (extract); break; + case 'd': + outdir = argv[++i]; + break; default: report (R_ERROR, "invalid option: -%c", argv[i][1]); usage (); @@ -953,12 +964,12 @@ int main( int argc, char *argv[] ) } if (!logname) { - logname = run_tests (NULL); + logname = run_tests (NULL, outdir); if (build_id[0] && !nb_filters && report (R_ASK, MB_YESNO, "Do you want to submit the test results?") == IDYES) if (!send_file (logname) && !DeleteFileA(logname)) report (R_WARNING, "Can't remove logfile: %u", GetLastError()); - } else run_tests (logname); + } else run_tests (logname, outdir); report (R_STATUS, "Finished"); } if (poweroff)
1
0
0
0
Nicolas Le Cam : winetest: Only call GetTempPath once.
by Alexandre Julliard
01 Jun '09
01 Jun '09
Module: wine Branch: master Commit: 62ab6ab1c5847ac0f8765fa66c51d7df24bc82f9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=62ab6ab1c5847ac0f8765fa66…
Author: Nicolas Le Cam <niko.lecam(a)gmail.com> Date: Sun May 31 13:33:17 2009 +0200 winetest: Only call GetTempPath once. --- programs/winetest/main.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 69496bd..381328c 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -658,9 +658,6 @@ run_tests (char *logname) if (logfile == INVALID_HANDLE_VALUE) report (R_FATAL, "Could not open logfile: %u", GetLastError()); - if (!GetTempPathA( MAX_PATH, tmppath )) - report (R_FATAL, "Can't name temporary dir (check %%TEMP%%)."); - /* try stable path for ZoneAlarm */ strcpy( tempdir, tmppath ); strcat( tempdir, "wct" );
1
0
0
0
Andrew Eikum : gdiplus: Stubs for GdipBeginContainer and GdipBeginContainerI.
by Alexandre Julliard
01 Jun '09
01 Jun '09
Module: wine Branch: master Commit: 309150660965735cdab1f03354764119509a714a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=309150660965735cdab1f0335…
Author: Andrew Eikum <andrew(a)brightnightgames.com> Date: Sun May 31 15:00:03 2009 -0500 gdiplus: Stubs for GdipBeginContainer and GdipBeginContainerI. --- dlls/gdiplus/gdiplus.spec | 4 ++-- dlls/gdiplus/graphics.c | 12 ++++++++++++ include/gdiplusflat.h | 3 +++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index b6d9377..e156db4 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -33,8 +33,8 @@ @ stdcall GdipAddPathStringI(ptr wstr long ptr long long ptr ptr) @ stdcall GdipAlloc(long) @ stdcall GdipBeginContainer2(ptr ptr) -@ stub GdipBeginContainer -@ stub GdipBeginContainerI +@ stdcall GdipBeginContainer(ptr ptr ptr long ptr) +@ stdcall GdipBeginContainerI(ptr ptr ptr long ptr) @ stub GdipBitmapApplyEffect @ stub GdipBitmapConvertFormat @ stub GdipBitmapCreateApplyEffect diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 1c128d4..adeea3c 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -3152,6 +3152,18 @@ GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics *graphics, GraphicsContainer return Ok; } +GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics *graphics, GDIPCONST GpRectF *dstrect, GDIPCONST GpRectF *srcrect, GpUnit unit, GraphicsContainer *state) +{ + FIXME("(%p, %p, %p, %d, %p): stub\n", graphics, dstrect, srcrect, unit, state); + return NotImplemented; +} + +GpStatus WINGDIPAPI GdipBeginContainerI(GpGraphics *graphics, GDIPCONST GpRect *dstrect, GDIPCONST GpRect *srcrect, GpUnit unit, GraphicsContainer *state) +{ + FIXME("(%p, %p, %p, %d, %p): stub\n", graphics, dstrect, srcrect, unit, state); + return NotImplemented; +} + GpStatus WINGDIPAPI GdipEndContainer(GpGraphics *graphics, GraphicsState state) { FIXME("(%p, 0x%x)\n", graphics, state); diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index c2c96c5..28cea41 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -118,6 +118,9 @@ GpStatus WINGDIPAPI GdipIsStyleAvailable(GDIPCONST GpFontFamily *, INT, BOOL*); /* Graphics */ GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention); +GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics*,GDIPCONST GpRectF*,GDIPCONST GpRectF*,GpUnit,GraphicsContainer*); +GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics*,GraphicsContainer*); +GpStatus WINGDIPAPI GdipBeginContainerI(GpGraphics*,GDIPCONST GpRect*,GDIPCONST GpRect*,GpUnit,GraphicsContainer*); GpStatus WINGDIPAPI GdipCreateFromHDC(HDC,GpGraphics**); GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC,HANDLE,GpGraphics**); GpStatus WINGDIPAPI GdipCreateFromHWND(HWND,GpGraphics**);
1
0
0
0
Andrew Eikum : gdiplus: Stubs for GdipAddPathString and GdipAddPathStringI.
by Alexandre Julliard
01 Jun '09
01 Jun '09
Module: wine Branch: master Commit: 8d6ee56119d79529530532c070577d1d4de8f2de URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8d6ee56119d79529530532c07…
Author: Andrew Eikum <andrew(a)brightnightgames.com> Date: Sun May 31 14:59:23 2009 -0500 gdiplus: Stubs for GdipAddPathString and GdipAddPathStringI. --- dlls/gdiplus/gdiplus.spec | 4 ++-- dlls/gdiplus/graphicspath.c | 12 ++++++++++++ include/gdiplusflat.h | 2 ++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index dff3cf3..b6d9377 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -29,8 +29,8 @@ @ stdcall GdipAddPathRectangleI(ptr long long long long) @ stdcall GdipAddPathRectangles(ptr ptr long) @ stdcall GdipAddPathRectanglesI(ptr ptr long) -@ stub GdipAddPathString -@ stub GdipAddPathStringI +@ stdcall GdipAddPathString(ptr wstr long ptr long long ptr ptr) +@ stdcall GdipAddPathStringI(ptr wstr long ptr long long ptr ptr) @ stdcall GdipAlloc(long) @ stdcall GdipBeginContainer2(ptr ptr) @ stub GdipBeginContainer diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 8ffe531..1375cc3 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -831,6 +831,18 @@ GpStatus WINGDIPAPI GdipAddPathPolygonI(GpPath *path, GDIPCONST GpPoint *points, return status; } +GpStatus WINGDIPAPI GdipAddPathString(GpPath* path, GDIPCONST WCHAR* string, INT length, GDIPCONST GpFontFamily* family, INT style, REAL emSize, GDIPCONST RectF* layoutRect, GDIPCONST GpStringFormat* format) +{ + FIXME("(%p, %p, %d, %p, %d, %f, %p, %p): stub\n", path, string, length, family, style, emSize, layoutRect, format); + return NotImplemented; +} + +GpStatus WINGDIPAPI GdipAddPathStringI(GpPath* path, GDIPCONST WCHAR* string, INT length, GDIPCONST GpFontFamily* family, INT style, REAL emSize, GDIPCONST Rect* layoutRect, GDIPCONST GpStringFormat* format) +{ + FIXME("(%p, %p, %d, %p, %d, %f, %p, %p): stub\n", path, string, length, family, style, emSize, layoutRect, format); + return NotImplemented; +} + GpStatus WINGDIPAPI GdipClonePath(GpPath* path, GpPath **clone) { TRACE("(%p, %p)\n", path, clone); diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index a7ee536..c2c96c5 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -281,6 +281,8 @@ GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath*,REAL,REAL,REAL,REAL); GpStatus WINGDIPAPI GdipAddPathRectangleI(GpPath*,INT,INT,INT,INT); GpStatus WINGDIPAPI GdipAddPathRectangles(GpPath*,GDIPCONST GpRectF*,INT); GpStatus WINGDIPAPI GdipAddPathRectanglesI(GpPath*,GDIPCONST GpRect*,INT); +GpStatus WINGDIPAPI GdipAddPathString(GpPath*,GDIPCONST WCHAR*,INT,GDIPCONST GpFontFamily*,INT,REAL,GDIPCONST RectF*,GDIPCONST GpStringFormat*); +GpStatus WINGDIPAPI GdipAddPathStringI(GpPath*,GDIPCONST WCHAR*,INT,GDIPCONST GpFontFamily*,INT,REAL,GDIPCONST Rect*,GDIPCONST GpStringFormat*); GpStatus WINGDIPAPI GdipClearPathMarkers(GpPath*); GpStatus WINGDIPAPI GdipClonePath(GpPath*,GpPath**); GpStatus WINGDIPAPI GdipClosePathFigure(GpPath*);
1
0
0
0
André Hentschel : appwiz.cpl: Add German translation.
by Alexandre Julliard
01 Jun '09
01 Jun '09
Module: wine Branch: master Commit: c170567e04f6e9ee68cb34d4cc038cf156f3c768 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c170567e04f6e9ee68cb34d4c…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Sun May 31 16:56:03 2009 +0200 appwiz.cpl: Add German translation. --- dlls/appwiz.cpl/De.rc | 81 +++++++++++++++++++++++++++++++++++++++++++++ dlls/appwiz.cpl/appwiz.rc | 1 + 2 files changed, 82 insertions(+), 0 deletions(-) diff --git a/dlls/appwiz.cpl/De.rc b/dlls/appwiz.cpl/De.rc new file mode 100644 index 0000000..3030cd1 --- /dev/null +++ b/dlls/appwiz.cpl/De.rc @@ -0,0 +1,81 @@ +/* +* Add/Remove Programs German resources +* +* Copyright 2009 André Hentschel +* +* This library is free software; you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public +* License as published by the Free Software Foundation; either +* version 2.1 of the License, or (at your option) any later version. +* +* This library is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Lesser General Public License for more details. +* +* You should have received a copy of the GNU Lesser General Public +* License along with this library; if not, write to the Free Software +* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA +* +*/ + +#pragma code_page(65001) + +LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT + +STRINGTABLE +{ + IDS_CPL_TITLE, "Software" + IDS_CPL_DESC, "Erlaubt ihnen neue Software hinzuzufügen, oder vorhandene zu entfernen." + IDS_TAB1_TITLE, "Anwendungen" + + IDS_UNINSTALL_FAILED, "Der Uninstaller konnte nicht gestartet werden, '%s'. Möchten Sie den Uninstall-Eintrag für dieses Programm aus der Registrierung entfernen?" + IDS_NOT_SPECIFIED, "Nicht angegeben" + + IDS_COLUMN_NAME, "Name" + IDS_COLUMN_PUBLISHER, "Herausgeber" + IDS_COLUMN_VERSION, "Version" +} + +IDD_MAIN DIALOG 0, 0, 320, 220 +STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Software" +FONT 8, "MS Shell Dlg" +{ + CONTROL "Um ein Programm von Diskette, CD-ROM oder Festplatte zu installieren, klicken Sie Installieren.", 1000, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 40, 7, 270, 20 + CONTROL "&Installieren...", IDC_INSTALL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 246, 26, 64, 14 + CONTROL "", -1, "STATIC", SS_LEFT | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 7, 46, 303, 1 + CONTROL 2, 1001, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 21, 20 + CONTROL "Folgende Programme können automatisch entfernt werden. Um ein Programm zu entfernen oder um installierte Komponenten zu ändern, wählen Sie es aus der Liste aus und klicken Sie auf Ändern/Entfernen.", 1002, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 40, 57, 270, 30 + CONTROL "", IDL_PROGRAMS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SORTASCENDING | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 90, 303, 100 + CONTROL "Än&dern/Entfernen...", IDC_ADDREMOVE, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 230, 198, 80, 14 + CONTROL "&Informationen...", IDC_SUPPORT_INFO, "button", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 198, 64, 14 + CONTROL 3, 1003, "STATIC", SS_ICON | WS_CHILD | WS_VISIBLE, 7, 57, 21, 20 +} + +IDD_INFO DIALOG 0, 0, 256, 138 +STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Support Information" +FONT 8, "MS Shell Dlg" +{ + CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 103, 116, 50, 14 + CONTROL "Verwenden Sie folgende Informationen um technischen Support für %s zu erhalten:", IDC_INFO_LABEL, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 12, 9, 228, 19 + CONTROL "Herausgeber:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 30, 60, 8 + CONTROL "Version:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 40, 60, 8 + CONTROL "Kontakt:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 50, 60, 8 + CONTROL "Supportinformationen:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 60, 94, 8 + CONTROL "Supportrufnummer:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 70, 68, 8 + CONTROL "Readme:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 80, 60, 8 + CONTROL "Produkt Updates:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 90, 60, 8 + CONTROL "Kommentare:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 16, 100, 60, 8 + CONTROL "", IDC_INFO_PUBLISHER, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 30, 136, 8 + CONTROL "", IDC_INFO_VERSION, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 40, 136, 8 + CONTROL "", IDC_INFO_CONTACT, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 50, 136, 8 + CONTROL "", IDC_INFO_SUPPORT, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 60, 136, 8 + CONTROL "", IDC_INFO_PHONE, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 70, 136, 8 + CONTROL "", IDC_INFO_README, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 80, 136, 8 + CONTROL "", IDC_INFO_UPDATES, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 90, 136, 8 + CONTROL "", IDC_INFO_COMMENTS, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 100, 136, 8 +} + +#pragma code_page(default) diff --git a/dlls/appwiz.cpl/appwiz.rc b/dlls/appwiz.cpl/appwiz.rc index 7764463..f59cb97 100644 --- a/dlls/appwiz.cpl/appwiz.rc +++ b/dlls/appwiz.cpl/appwiz.rc @@ -25,6 +25,7 @@ #include "res.h" +#include "De.rc" #include "En.rc" #include "Fr.rc" #include "Ja.rc"
1
0
0
0
← Newer
1
...
103
104
105
106
107
108
109
...
112
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Results per page:
10
25
50
100
200