mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[WINMM] Sync mci.c with wine
Date: 2022-02-22 Author: Eric Pouech Commit: "winmm: Enable compilation with long types." Hash 71189f62604c2cb8208c85372a0e027dd2b79055
This commit is contained in:
parent
7d4de5f8ea
commit
01f2426dcf
2 changed files with 508 additions and 353 deletions
File diff suppressed because it is too large
Load diff
|
@ -170,9 +170,7 @@ LPWINE_MLD MMDRV_GetRelated(HANDLE hndl, UINT srcType, BOOL bSrcCanBeID, UINT ds
|
|||
DWORD MMDRV_Message(LPWINE_MLD mld, UINT wMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2);
|
||||
UINT MMDRV_PhysicalFeatures(LPWINE_MLD mld, UINT uMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2);
|
||||
|
||||
const char* MCI_MessageToString(UINT wMsg);
|
||||
DWORD MCI_SendCommand(UINT wDevID, UINT16 wMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2);
|
||||
LPWSTR MCI_strdupAtoW(LPCSTR str);
|
||||
LPSTR MCI_strdupWtoA(LPCWSTR str);
|
||||
|
||||
const char* WINMM_ErrorToString(MMRESULT error);
|
||||
|
@ -205,4 +203,9 @@ extern HANDLE psStopEvent;
|
|||
|
||||
INT LoadRegistryMMEDrivers(char* key);
|
||||
|
||||
// REACTOS:
|
||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
||||
#define wcsnicmp strncmpiW
|
||||
#define swprintf snprintfW
|
||||
|
||||
#endif /* _WINEMM_H_ */
|
||||
|
|
Loading…
Reference in a new issue