msvfw32: Trace only what matters in MCIWNDM_GETDEVICE.
This commit is contained in:
parent
e19a8fd706
commit
19d73d2847
|
@ -1070,27 +1070,33 @@ end_of_mci_open:
|
|||
|
||||
case MCIWNDM_GETDEVICEA:
|
||||
{
|
||||
int len = 0;
|
||||
char *str = (char *)lParam;
|
||||
MCI_SYSINFO_PARMSA mci_sysinfo;
|
||||
|
||||
mci_sysinfo.lpstrReturn = (LPSTR)lParam;
|
||||
mci_sysinfo.lpstrReturn = str;
|
||||
mci_sysinfo.dwRetSize = wParam;
|
||||
mwi->lasterror = mciSendCommandA(mwi->mci, MCI_SYSINFO,
|
||||
MCI_SYSINFO_INSTALLNAME,
|
||||
(DWORD_PTR)&mci_sysinfo);
|
||||
TRACE("MCIWNDM_GETDEVICEA: %s\n", debugstr_an((LPSTR)lParam, wParam));
|
||||
while(len < wParam && str[len]) len++;
|
||||
TRACE("MCIWNDM_GETDEVICEA: %s\n", debugstr_an(str, len));
|
||||
return 0;
|
||||
}
|
||||
|
||||
case MCIWNDM_GETDEVICEW:
|
||||
{
|
||||
int len = 0;
|
||||
WCHAR *str = (WCHAR *)lParam;
|
||||
MCI_SYSINFO_PARMSW mci_sysinfo;
|
||||
|
||||
mci_sysinfo.lpstrReturn = (LPWSTR)lParam;
|
||||
mci_sysinfo.lpstrReturn = str;
|
||||
mci_sysinfo.dwRetSize = wParam;
|
||||
mwi->lasterror = mciSendCommandW(mwi->mci, MCI_SYSINFO,
|
||||
MCI_SYSINFO_INSTALLNAME,
|
||||
(DWORD_PTR)&mci_sysinfo);
|
||||
TRACE("MCIWNDM_GETDEVICEW: %s\n", debugstr_wn((LPWSTR)lParam, wParam));
|
||||
while(len < wParam && str[len]) len++;
|
||||
TRACE("MCIWNDM_GETDEVICEW: %s\n", debugstr_wn(str, len));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue