mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Fix warnings
svn path=/trunk/; revision=16773
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user