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) + */
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(a)hotmail.com> To: <wine-devel(a)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) + */
participants (2)
-
Jerry Jenkins -
Marcelo Duarte