dmloader: Constify some variables.

This commit is contained in:
Andrew Talbot 2007-04-24 20:51:37 +01:00 committed by Alexandre Julliard
parent ac43c850a8
commit b19be8870c
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ const char *debugstr_fourcc (DWORD fourcc) {
} }
/* DMUS_VERSION struct to string conversion for debug messages */ /* DMUS_VERSION struct to string conversion for debug messages */
const char *debugstr_dmversion (LPDMUS_VERSION version) { const char *debugstr_dmversion (const DMUS_VERSION *version) {
if (!version) return "'null'"; if (!version) return "'null'";
return wine_dbg_sprintf ("\'%i,%i,%i,%i\'", return wine_dbg_sprintf ("\'%i,%i,%i,%i\'",
HIWORD(version->dwVersionMS),LOWORD(version->dwVersionMS), HIWORD(version->dwVersionMS),LOWORD(version->dwVersionMS),
@ -83,7 +83,7 @@ static const char *debugstr_month (DWORD dwMonth) {
} }
/* FILETIME struct to string conversion for debug messages */ /* FILETIME struct to string conversion for debug messages */
const char *debugstr_filetime (LPFILETIME time) { const char *debugstr_filetime (const FILETIME *time) {
SYSTEMTIME sysTime; SYSTEMTIME sysTime;
if (!time) return "'null'"; if (!time) return "'null'";

View File

@ -50,9 +50,9 @@ extern const char *resolve_STREAM_SEEK (DWORD flag);
/* FOURCC to string conversion for debug messages */ /* FOURCC to string conversion for debug messages */
extern const char *debugstr_fourcc (DWORD fourcc); extern const char *debugstr_fourcc (DWORD fourcc);
/* DMUS_VERSION struct to string conversion for debug messages */ /* DMUS_VERSION struct to string conversion for debug messages */
extern const char *debugstr_dmversion (LPDMUS_VERSION version); extern const char *debugstr_dmversion (const DMUS_VERSION *version);
/* FILETIME struct to string conversion for debug messages */ /* FILETIME struct to string conversion for debug messages */
extern const char *debugstr_filetime (LPFILETIME time); extern const char *debugstr_filetime (const FILETIME *time);
/* returns name of given GUID */ /* returns name of given GUID */
extern const char *debugstr_dmguid (const GUID *id); extern const char *debugstr_dmguid (const GUID *id);
/* returns name of given error code */ /* returns name of given error code */