DMUSIC: fix in dmloader's behavior
Marcelo Duarte
wine-devel at bol.com.br
Tue Oct 28 06:37:44 CST 2003
DWORD SearchPath(
LPCTSTR lpszPath, // address of search path
LPCTSTR lpszFile, // address of filename
LPCTSTR lpszExtension, // address of extension
DWORD cchReturnBuffer, // size, in characters, of buffer
LPTSTR lpszReturnBuffer, // address of buffer for found filename
LPTSTR *plpszFilePart // address of pointer to file component
);
----- Original Message -----
From: "Jerry Jenkins" <Jerry_J_Jenkins at hotmail.com>
To: <wine-devel at winehq.org>
Sent: Monday, October 27, 2003 11:30 PM
Subject: Re: DMUSIC: fix in dmloader's behavior
> Rok Mandeljc wrote:
> > + /* OK, MSDN says that search order is the following:
> > + - current directory (DONE)
> > + - windows search path (FIXME: how do I get that?)
> Try this :
> DWORD GetEnvironmentVariable(
> LPCTSTR lpName, // environment variable name
> LPTSTR lpBuffer, // buffer for variable value
> DWORD nSize // size of buffer
> );
> or
> NTSTATUS WINAPI RtlQueryEnvironmentVariable_U(
> PWSTR env,
> PUNICODE_STRING name,
> PUNICODE_STRING value
> );
>
> > + - loader's search path (DONE)
> > + */
>
>
More information about the wine-devel
mailing list