mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Fixed some more missing WINAPIs (hopefully correct).
This commit is contained in:
parent
fb578cd911
commit
f4f1719ca5
@ -17,7 +17,7 @@
|
||||
/***********************************************************************
|
||||
* MSACM_BuiltinDrivers
|
||||
*/
|
||||
LONG MSACM_DummyDriverProc(
|
||||
LONG WINAPI MSACM_DummyDriverProc(
|
||||
DWORD dwDriverId, HDRVR32 hdrvr, UINT32 msg,
|
||||
LONG lParam1, LONG lParam2);
|
||||
|
||||
@ -29,7 +29,7 @@ WINE_ACMBUILTINDRIVER32 MSACM_BuiltinDrivers32[] = {
|
||||
/***********************************************************************
|
||||
* MSACM_DummyDriverProc
|
||||
*/
|
||||
LONG MSACM_DummyDriverProc(
|
||||
LONG WINAPI MSACM_DummyDriverProc(
|
||||
DWORD dwDriverId, HDRVR32 hdrvr, UINT32 msg,
|
||||
LONG lParam1, LONG lParam2)
|
||||
{
|
||||
|
@ -14,8 +14,8 @@ extern WORD SYSLEVEL_Win16CurrentTeb;
|
||||
extern WORD SYSLEVEL_EmergencyTeb;
|
||||
|
||||
void SYSLEVEL_Init(void);
|
||||
VOID SYSLEVEL_EnterWin16Lock(VOID);
|
||||
VOID SYSLEVEL_LeaveWin16Lock(VOID);
|
||||
VOID WINAPI SYSLEVEL_EnterWin16Lock(VOID);
|
||||
VOID WINAPI SYSLEVEL_LeaveWin16Lock(VOID);
|
||||
VOID SYSLEVEL_ReleaseWin16Lock(VOID);
|
||||
VOID SYSLEVEL_RestoreWin16Lock(VOID);
|
||||
|
||||
|
@ -1244,7 +1244,7 @@ static LPKEYSTRUCT _w95_processKey ( LPKEYSTRUCT lpkey,
|
||||
}
|
||||
|
||||
while (curdata < next) {
|
||||
struct dkh *xdkh = curdata;
|
||||
struct dkh *xdkh = (struct dkh*)curdata;
|
||||
|
||||
bytesread += sizeof(dkh); /* FIXME... nextkeyoff? */
|
||||
if (xdkh->nrLS == nrLS) {
|
||||
@ -2471,11 +2471,12 @@ DWORD WINAPI RegSetValueEx32W( HKEY hkey, LPWSTR lpszValueName,
|
||||
lpkey->nrofvalues++;
|
||||
memset(lpkey->values+i,'\0',sizeof(KEYVALUE));
|
||||
}
|
||||
if (lpkey->values[i].name==NULL)
|
||||
if (lpkey->values[i].name==NULL) {
|
||||
if (lpszValueName)
|
||||
lpkey->values[i].name = strdupW(lpszValueName);
|
||||
else
|
||||
lpkey->values[i].name = NULL;
|
||||
}
|
||||
lpkey->values[i].len = cbData;
|
||||
lpkey->values[i].type = dwType;
|
||||
if (lpkey->values[i].data !=NULL)
|
||||
|
@ -427,7 +427,7 @@ static ULONG WINAPI IDirectPlayLobbyA_Release
|
||||
/* Deallocate if this is the last reference to the object */
|
||||
if( !(this->ref) )
|
||||
{
|
||||
deleteDPConnection( this->lpSession );
|
||||
deleteDPConnection( &(this->lpSession) );
|
||||
HeapFree( GetProcessHeap(), 0, this );
|
||||
return S_OK;
|
||||
}
|
||||
|
@ -903,7 +903,7 @@ DSOUND_MixInBuffer(IDirectSoundBuffer *dsb) {
|
||||
}
|
||||
}
|
||||
|
||||
static DWORD
|
||||
static DWORD WINAPI
|
||||
DSOUND_thread(LPVOID arg) {
|
||||
int res,i,curleft,playing,haveprimary = 0;
|
||||
|
||||
|
@ -295,7 +295,7 @@ ckid=%.4s fccType=%.4s cksize=%08lX \n", (LPSTR)&mmckInfo.ckid, (LPSTR)&mmckInfo
|
||||
return bRet;
|
||||
}
|
||||
|
||||
static DWORD PlaySound_Thread(LPVOID arg)
|
||||
static DWORD WINAPI PlaySound_Thread(LPVOID arg)
|
||||
{
|
||||
DWORD res;
|
||||
|
||||
@ -1957,7 +1957,7 @@ struct SCA32 {
|
||||
|
||||
DWORD WINAPI mciSendCommand32A(UINT32 wDevID, UINT32 wMsg, DWORD dwParam1, DWORD dwParam2);
|
||||
|
||||
static DWORD mciSCAStarter32(LPVOID arg)
|
||||
static DWORD WINAPI mciSCAStarter32(LPVOID arg)
|
||||
{
|
||||
struct SCA32* sca = (struct SCA32*)arg;
|
||||
DWORD ret;
|
||||
|
@ -101,7 +101,7 @@ static void TIME_TriggerCallBack(LPTIMERENTRY lpTimer, DWORD dwCurrent)
|
||||
/**************************************************************************
|
||||
* TIME_MMSysTimeCallback
|
||||
*/
|
||||
static VOID TIME_MMSysTimeCallback( HWND32 hwnd, UINT32 msg,
|
||||
static VOID WINAPI TIME_MMSysTimeCallback( HWND32 hwnd, UINT32 msg,
|
||||
UINT32 id, DWORD dwTime )
|
||||
{
|
||||
LPTIMERENTRY lpTimer;
|
||||
|
@ -75,7 +75,7 @@ static void CARET_DisplayCaret( DISPLAY_CARET status )
|
||||
/*****************************************************************
|
||||
* CARET_Callback
|
||||
*/
|
||||
static VOID CARET_Callback( HWND32 hwnd, UINT32 msg, UINT32 id, DWORD ctime)
|
||||
static VOID CALLBACK CARET_Callback( HWND32 hwnd, UINT32 msg, UINT32 id, DWORD ctime)
|
||||
{
|
||||
TRACE(caret,"hwnd=%04x, timerid=%d, caret=%d\n",
|
||||
hwnd, id, Caret.on);
|
||||
|
Loading…
Reference in New Issue
Block a user