* 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:
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
> 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,
* 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
* 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
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
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 (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