- Fix warnings

svn path=/trunk/; revision=16773
This commit is contained in:
Alex Ionescu 2005-07-27 01:22:46 +00:00
parent 2596f83747
commit ffcb5d176a
2 changed files with 5 additions and 3 deletions

View file

@ -456,15 +456,15 @@ static DWORD MCI_UnmapMsgAtoW(UINT msg, DWORD_PTR dwParam1, DWORD_PTR dwParam2,
if (dwParam1 & MCI_OPEN_TYPE)
{
if (!(dwParam1 & MCI_OPEN_TYPE_ID))
HeapFree(GetProcessHeap(), 0, mci_openW->lpstrDeviceType);
HeapFree(GetProcessHeap(), 0, (PVOID)mci_openW->lpstrDeviceType);
}
if (dwParam1 & MCI_OPEN_ELEMENT)
{
if (!(dwParam1 & MCI_OPEN_ELEMENT_ID))
HeapFree(GetProcessHeap(), 0, mci_openW->lpstrElementName);
HeapFree(GetProcessHeap(), 0, (PVOID)mci_openW->lpstrElementName);
}
if (dwParam1 & MCI_OPEN_ALIAS)
HeapFree(GetProcessHeap(), 0, mci_openW->lpstrAlias);
HeapFree(GetProcessHeap(), 0, (PVOID)mci_openW->lpstrAlias);
HeapFree(GetProcessHeap(), 0, ptr);
}
break;

View file

@ -103,8 +103,10 @@ static void WINMM_DeleteIData(void)
* WINMM_LoadMMSystem
*
*/
#ifndef __REACTOS__
static HANDLE (WINAPI *pGetModuleHandle16)(LPCSTR);
static DWORD (WINAPI *pLoadLibrary16)(LPCSTR);
#endif
BOOL WINMM_CheckForMMSystem(void)
{