DMUSIC: fix in dmloader's behavior

Jerry Jenkins Jerry_J_Jenkins at hotmail.com
Mon Oct 27 19:30:59 CST 2003


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