Re: DirectDrawEnumerateExW calls DirectDrawEnumerateExA

2005-11-08 Thread Saulius Krasuckas
* On Thu, 27 Oct 2005, Lionel Ulmer wrote: > > > You mean, if some day M$ changes ddraw.h so that szDescription type > > becomes WCHAR, right? > > Well, the API is like this: > HRESULT WINAPI DirectDrawEnumerateExW( LPDDENUMCALLBACKEXW lpCallback, LPVOID > lpContext, DWORD dwFlags); > > With:

Re: DirectDrawEnumerateExW calls DirectDrawEnumerateExA

2005-10-27 Thread Vincent Béron
Le jeu 27/10/2005 à 02:32, Saulius Krasuckas a écrit : > * On Thu, 26 Oct 2005, Vincent [ISO-8859-1] Béron wrote: > > * Le mer 26/10/2005 à 16:26, Lionel Ulmer a écrit : > > > * On Wed, Oct 26, 2005 at 10:03:36PM +0300, Saulius Krasuckas wrote: > > > > > > > > As this struct keeps base information

Re: DirectDrawEnumerateExW calls DirectDrawEnumerateExA

2005-10-27 Thread Lionel Ulmer
> You mean, if some day M$ changes ddraw.h so that szDescription type > becomes WCHAR, right? Well, the API is like this: HRESULT WINAPI DirectDrawEnumerateExW( LPDDENUMCALLBACKEXW lpCallback, LPVOID lpContext, DWORD dwFlags); With: typedef BOOL (CALLBACK *LPDDENUMCALLBACKEXW)(GUID *, LPWSTR,

Re: DirectDrawEnumerateExW calls DirectDrawEnumerateExA

2005-10-26 Thread Saulius Krasuckas
* On Thu, 26 Oct 2005, Vincent [ISO-8859-1] B?ron wrote: > * Le mer 26/10/2005 ? 16:26, Lionel Ulmer a ?crit : > > * On Wed, Oct 26, 2005 at 10:03:36PM +0300, Saulius Krasuckas wrote: > > > > > > As this struct keeps base information about a driver and it uses > > > char strings, I guess %Subject

Re: DirectDrawEnumerateExW calls DirectDrawEnumerateExA

2005-10-26 Thread Saulius Krasuckas
* On Wed, 26 Oct 2005, Lionel Ulmer wrote: > * On Wed, Oct 26, 2005 at 10:03:36PM +0300, Saulius Krasuckas wrote: > > > > As this struct keeps base information about a driver and it uses char > > strings, I guess %Subject% cross call should be marked invalid in the > > wiki. Right? > > If one

Re: DirectDrawEnumerateExW calls DirectDrawEnumerateExA

2005-10-26 Thread Vincent Béron
Le mer 26/10/2005 à 16:26, Lionel Ulmer a écrit : > On Wed, Oct 26, 2005 at 10:03:36PM +0300, Saulius Krasuckas wrote: > > As this struct keeps base information about a driver and it uses char > > strings, I guess %Subject% cross call should be marked invalid in the > > wiki. Right? > > Well, w

Re: DirectDrawEnumerateExW calls DirectDrawEnumerateExA

2005-10-26 Thread Lionel Ulmer
On Wed, Oct 26, 2005 at 10:03:36PM +0300, Saulius Krasuckas wrote: > As this struct keeps base information about a driver and it uses char > strings, I guess %Subject% cross call should be marked invalid in the > wiki. Right? Well, we could move the DDraw code to Unicode and do the opposite (ha

DirectDrawEnumerateExW calls DirectDrawEnumerateExA

2005-10-26 Thread Saulius Krasuckas
DirectDrawEnumerateExW (dlls/ddraw/main.c) calls DirectDrawEnumerateExA, which uses ddraw_driver struct (dlls/ddraw/ddraw_private.h), which has a member DDDEVICEIDENTIFIER2 struct (include/ddraw.h), which is defined this way: typedef struct tagDDDEVICEIDENTIFIER2 { charszDriver[MAX_DDDEV