Commit 172cd1b9 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed some issues found by winapi_check.

parent d9b9c4c4
......@@ -62,7 +62,7 @@ INT16 WINAPI StartDoc16( HDC16 hdc, const DOCINFO16 *lpdoc )
}
/******************************************************************
* StartDocA [GDI32.347]
* StartDocA [GDI32.@]
*
* StartDoc calls the STARTDOC Escape with the input data pointing to DocName
* and the output data (which is used as a second input parameter).pointing at
......@@ -89,7 +89,7 @@ INT WINAPI StartDocA(HDC hdc, const DOCINFOA* doc)
}
/*************************************************************************
* StartDocW [GDI32.348]
* StartDocW [GDI32.@]
*
*/
INT WINAPI StartDocW(HDC hdc, const DOCINFOW* doc)
......@@ -128,7 +128,7 @@ INT16 WINAPI EndDoc16(HDC16 hdc)
}
/******************************************************************
* EndDoc [GDI32.76]
* EndDoc [GDI32.@]
*
*/
INT WINAPI EndDoc(HDC hdc)
......@@ -155,7 +155,7 @@ INT16 WINAPI StartPage16(HDC16 hdc)
}
/******************************************************************
* StartPage [GDI32.349]
* StartPage [GDI32.@]
*
*/
INT WINAPI StartPage(HDC hdc)
......@@ -182,7 +182,7 @@ INT16 WINAPI EndPage16( HDC16 hdc )
}
/******************************************************************
* EndPage [GDI32.77]
* EndPage [GDI32.@]
*
*/
INT WINAPI EndPage(HDC hdc)
......@@ -213,7 +213,7 @@ INT16 WINAPI AbortDoc16(HDC16 hdc)
}
/******************************************************************************
* AbortDoc [GDI32.105]
* AbortDoc [GDI32.@]
*/
INT WINAPI AbortDoc(HDC hdc)
{
......@@ -269,7 +269,7 @@ INT16 WINAPI SetAbortProc16(HDC16 hdc, SEGPTR abrtprc)
}
/**********************************************************************
* SetAbortProc (GDI32.301)
* SetAbortProc (GDI32.@)
*
*/
INT WINAPI SetAbortProc(HDC hdc, ABORTPROC abrtprc)
......
......@@ -442,9 +442,9 @@ debug_channels (msvcrt)
@ varargs _snprintf(str long str) snprintf
@ forward -noimport _snwprintf ntdll._snwprintf
@ cdecl _sopen(str long long) MSVCRT__sopen
@ varargs _spawnl(str str) _spawnl
@ varargs _spawnl(long str str) _spawnl
@ stub _spawnle #(str str) varargs
@ varargs _spawnlp(str str) _spawnlp
@ varargs _spawnlp(long str str) _spawnlp
@ stub _spawnlpe #(str str) varargs
@ cdecl _spawnv(long str ptr) _spawnv
@ cdecl _spawnve(long str ptr ptr) _spawnve
......
......@@ -34,7 +34,7 @@ void MSVIDEO_UnmapMsg16To32(UINT msg, LPVOID lpv, LPDWORD lParam1, LPDWORD lPara
LRESULT MSVIDEO_SendMessage(HIC hic, UINT msg, DWORD lParam1, DWORD lParam2, BOOL bFrom32);
/***********************************************************************
* VideoForWindowsVersion [MSVFW.2][MSVIDEO.2]
* VideoForWindowsVersion [MSVFW32.2][MSVIDEO.2]
* Returns the version in major.minor form.
* In Windows95 this returns 0x040003b6 (4.950)
*/
......@@ -115,7 +115,7 @@ DWORD WINAPI VideoCapDriverDescAndVer(
/* system.ini: [drivers] */
/***********************************************************************
* ICInfo [MSVFW.33]
* ICInfo [MSVFW32.33]
* Get information about an installable compressor. Return TRUE if there
* is one.
*/
......@@ -170,7 +170,7 @@ BOOL16 VFWAPI ICInfo16(
}
/***********************************************************************
* ICOpen [MSVFW.37]
* ICOpen [MSVFW32.37]
* Opens an installable compressor. Return special handle.
*/
HIC VFWAPI ICOpen(DWORD fccType,DWORD fccHandler,UINT wMode) {
......@@ -264,7 +264,7 @@ HIC MSVIDEO_OpenFunc(DWORD fccType, DWORD fccHandler, UINT wMode, FARPROC lpfnHa
}
/***********************************************************************
* ICOpenFunction [MSVFW.38]
* ICOpenFunction [MSVFW32.38]
*/
HIC VFWAPI ICOpenFunction(DWORD fccType, DWORD fccHandler, UINT wMode, FARPROC lpfnHandler) {
return MSVIDEO_OpenFunc(fccType,fccHandler,wMode,lpfnHandler,TRUE);
......@@ -286,7 +286,7 @@ HIC16 VFWAPI ICOpenFunction16(DWORD fccType, DWORD fccHandler, UINT16 wMode, FAR
}
/***********************************************************************
* ICGetInfo [MSVFW.30]
* ICGetInfo [MSVFW32.30]
*/
LRESULT VFWAPI ICGetInfo(HIC hic,ICINFO *picinfo,DWORD cb) {
LRESULT ret;
......@@ -310,7 +310,7 @@ LRESULT VFWAPI ICGetInfo16(HIC16 hic, ICINFO16 *picinfo,DWORD cb) {
}
/***********************************************************************
* ICLocate [MSVFW.35]
* ICLocate [MSVFW32.35]
*/
HIC VFWAPI ICLocate(
DWORD fccType, DWORD fccHandler, LPBITMAPINFOHEADER lpbiIn,
......@@ -400,7 +400,7 @@ HIC16 VFWAPI ICLocate16(DWORD fccType, DWORD fccHandler, LPBITMAPINFOHEADER lpbi
}
/***********************************************************************
* ICGetDisplayFormat [MSVFW.29]
* ICGetDisplayFormat [MSVFW32.29]
*/
HIC VFWAPI ICGetDisplayFormat(
HIC hic,LPBITMAPINFOHEADER lpbiIn,LPBITMAPINFOHEADER lpbiOut,
......@@ -462,7 +462,7 @@ HIC16 VFWAPI ICGetDisplayFormat16(HIC16 hic, LPBITMAPINFOHEADER lpbiIn,
}
/***********************************************************************
* ICCompress [MSVFW.23]
* ICCompress [MSVFW32.23]
*/
DWORD VFWAPIV
ICCompress(
......@@ -525,7 +525,7 @@ DWORD VFWAPIV ICCompress16(HIC16 hic, DWORD dwFlags, LPBITMAPINFOHEADER lpbiOutp
}
/***********************************************************************
* ICDecompress [MSVFW.26]
* ICDecompress [MSVFW32.26]
*/
DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,
LPVOID lpData,LPBITMAPINFOHEADER lpbi,LPVOID lpBits)
......@@ -972,7 +972,7 @@ LRESULT MSVIDEO_SendMessage(HIC hic,UINT msg,DWORD lParam1,DWORD lParam2, BOOL b
}
/***********************************************************************
* ICSendMessage [MSVFW.40]
* ICSendMessage [MSVFW32.40]
*/
LRESULT VFWAPI ICSendMessage(HIC hic, UINT msg, DWORD lParam1, DWORD lParam2) {
return MSVIDEO_SendMessage(hic,msg,lParam1,lParam2,TRUE);
......@@ -1019,7 +1019,7 @@ LRESULT VFWAPIV ICMessage16(void) {
}
/***********************************************************************
* ICDrawBegin [MSVFW.28]
* ICDrawBegin [MSVFW32.28]
*/
DWORD VFWAPIV ICDrawBegin(
HIC hic, /* [in] */
......@@ -1114,7 +1114,7 @@ DWORD VFWAPIV ICDrawBegin16(
}
/***********************************************************************
* ICDraw [MSVFW.27]
* ICDraw [MSVFW32.27]
*/
DWORD VFWAPIV ICDraw(HIC hic, DWORD dwFlags, LPVOID lpFormat, LPVOID lpData, DWORD cbData, LONG lTime) {
ICDRAW icd;
......@@ -1154,7 +1154,7 @@ DWORD VFWAPIV ICDraw16(
}
/***********************************************************************
* ICClose [MSVFW.22]
* ICClose [MSVFW32.22]
*/
LRESULT WINAPI ICClose(HIC hic) {
WINE_HIC *whic = GlobalLock16(hic);
......@@ -1180,7 +1180,7 @@ LRESULT WINAPI ICClose16(HIC16 hic) {
}
/***********************************************************************
* MCIWndCreateA [MSVFW.44 & MSVFW.45]
* MCIWndCreateA [MSVFW32.44][MSVFW32.45]
*/
HWND VFWAPIV MCIWndCreateA(HWND hwndParent, HINSTANCE hInstance,
DWORD dwStyle,LPCSTR szFile)
......@@ -1190,7 +1190,7 @@ HWND VFWAPIV MCIWndCreateA(HWND hwndParent, HINSTANCE hInstance,
}
/***********************************************************************
* MCIWndCreateW [MSVFW.46]
* MCIWndCreateW [MSVFW32.46]
*/
HWND VFWAPIV MCIWndCreateW(HWND hwndParent, HINSTANCE hInstance,
DWORD dwStyle,LPCWSTR szFile)
......
......@@ -619,7 +619,7 @@ HRESULT WINAPI AntiMonikerROTDataImpl_GetComparaisonData(IROTData* iface,
}
/******************************************************************************
* CreateAntiMoniker [OLE.55]
* CreateAntiMoniker [OLE32.55]
******************************************************************************/
HRESULT WINAPI CreateAntiMoniker(LPMONIKER * ppmk)
{
......
......@@ -1719,7 +1719,7 @@ HRESULT WINAPI CoGetState16(LPDWORD state)
return S_OK;
}
/***********************************************************************
* CoSetState [COM32.42]
* CoSetState [OLE32.42]
*/
HRESULT WINAPI CoSetState(LPDWORD state)
{
......
......@@ -1644,7 +1644,7 @@ HRESULT WINAPI EnumMonikerImpl_CreateEnumMoniker(IMoniker** tabMoniker,
}
/******************************************************************************
* CreateGenericComposite [OLE.55]
* CreateGenericComposite [OLE32.55]
******************************************************************************/
HRESULT WINAPI CreateGenericComposite(LPMONIKER pmkFirst, LPMONIKER pmkRest, LPMONIKER* ppmkComposite)
{
......@@ -1693,7 +1693,7 @@ HRESULT WINAPI CreateGenericComposite(LPMONIKER pmkFirst, LPMONIKER pmkRest, LPM
}
/******************************************************************************
* MonikerCommonPrefixWith [OLE.55]
* MonikerCommonPrefixWith [OLE32.55]
******************************************************************************/
HRESULT WINAPI MonikerCommonPrefixWith(IMoniker* pmkThis,IMoniker* pmkOther,IMoniker** ppmkCommon)
{
......
......@@ -951,7 +951,7 @@ HRESULT WINAPI CreateItemMoniker16(LPCOLESTR16 lpszDelim,LPCOLESTR lpszItem,LPM
}
/******************************************************************************
* CreateItemMoniker [OLE.55]
* CreateItemMoniker [OLE32.55]
******************************************************************************/
HRESULT WINAPI CreateItemMoniker(LPCOLESTR lpszDelim,LPCOLESTR lpszItem, LPMONIKER * ppmk)
{
......
......@@ -457,8 +457,8 @@ INT WINAPI SHLWAPI_217(LPCWSTR lpSrcStr, LPSTR lpDstStr, LPINT lpnMultiCharCount
*/
HRESULT WINAPI SHLWAPI_219 (
LPVOID w, /* [???] NOTE: returned by LocalAlloc, 0x450 bytes, iface */
LPVOID x,
REFIID riid, /* e.g. IWebBrowser2 */
LPVOID x, /* [???] */
REFIID riid, /* [???] e.g. IWebBrowser2 */
LPWSTR z) /* [???] NOTE: OUT: path */
{
FIXME("(%p %s %s %p)stub\n",w,debugstr_a(x),debugstr_guid(riid),z);
......
......@@ -438,7 +438,7 @@ BOOL WINAPI PathRemoveFileSpecW(LPWSTR lpszPath)
}
/*************************************************************************
* PathStripPathA [SHELLWAPI.@]
* PathStripPathA [SHLWAPI.@]
*
* NOTES
* removes the path from the beginning of a filename
......@@ -454,7 +454,7 @@ void WINAPI PathStripPathA(LPSTR lpszPath)
}
/*************************************************************************
* PathStripPathW [SHELLWAPI.@]
* PathStripPathW [SHLWAPI.@]
*/
void WINAPI PathStripPathW(LPWSTR lpszPath)
{
......
......@@ -115,7 +115,7 @@ BOOL WINAPI SHRegGetBoolUSValueW(
}
/*************************************************************************
* SHRegQueryUSValueA [SHLWAPI]
* SHRegQueryUSValueA [SHLWAPI.@]
*/
LONG WINAPI SHRegQueryUSValueA(
HKEY hUSKey, /* [in] FIXME: HUSKEY */
......@@ -132,7 +132,7 @@ LONG WINAPI SHRegQueryUSValueA(
}
/*************************************************************************
* SHRegQueryUSValueA [SHLWAPI]
* SHRegQueryUSValueW [SHLWAPI.@]
*/
LONG WINAPI SHRegQueryUSValueW(
HKEY hUSKey, /* [in] FIXME: HUSKEY */
......
......@@ -6,12 +6,16 @@
*
*/
#include "config.h"
#include <string.h>
#include <stdlib.h> /* qsort() & bsearch() */
#include <stdio.h>
#include <dirent.h>
#include <limits.h> /* INT_MIN */
#include <float.h> /* FLT_MAX */
#ifdef HAVE_FLOAT_H
# include <float.h> /* FLT_MAX */
#endif
#include "winnt.h" /* HEAP_ZERO_MEMORY */
#include "psdrv.h"
#include "options.h"
......
......@@ -6,6 +6,8 @@
*
*/
#include "config.h"
#include <string.h>
#include <unistd.h>
......
......@@ -1419,7 +1419,7 @@ UINT16 WINAPI auxGetDevCaps16(UINT16 uDeviceID, LPAUXCAPS16 lpCaps, UINT16 uSize
}
/**************************************************************************
* auxGetVolume [WINM.23]
* auxGetVolume [WINMM.23]
*/
UINT WINAPI auxGetVolume(UINT uDeviceID, DWORD* lpdwVolume)
{
......@@ -2117,7 +2117,7 @@ UINT MMSYSTEM_midiOutOpen(HMIDIOUT* lphMidiOut, UINT uDeviceID, DWORD dwCallback
}
/**************************************************************************
* midiOutOpen [WINM.84]
* midiOutOpen [WINMM.84]
*/
UINT WINAPI midiOutOpen(HMIDIOUT* lphMidiOut, UINT uDeviceID,
DWORD dwCallback, DWORD dwInstance, DWORD dwFlags)
......@@ -2324,7 +2324,7 @@ UINT16 WINAPI midiOutReset16(HMIDIOUT16 hMidiOut)
}
/**************************************************************************
* midiOutGetVolume [WINM.81]
* midiOutGetVolume [WINMM.81]
*/
UINT WINAPI midiOutGetVolume(UINT uDeviceID, DWORD* lpdwVolume)
{
......
......@@ -129,7 +129,7 @@ BOOL DRIVER_GetDriverName( LPCSTR device, LPSTR driver, DWORD size )
}
/*****************************************************************************
* GDI_CallDevInstall16 [GDI32.100]
* @ [GDI32.100]
*
* This should thunk to 16-bit and simply call the proc with the given args.
*/
......@@ -142,7 +142,7 @@ INT WINAPI GDI_CallDevInstall16( FARPROC16 lpfnDevInstallProc, HWND hWnd,
}
/*****************************************************************************
* GDI_CallExtDeviceModePropSheet16 [GDI32.101]
* @ [GDI32.101]
*
* This should load the correct driver for lpszDevice and calls this driver's
* ExtDeviceModePropSheet proc.
......@@ -167,7 +167,7 @@ INT WINAPI GDI_CallExtDeviceModePropSheet16( HWND hWnd, LPCSTR lpszDevice,
}
/*****************************************************************************
* GDI_CallExtDeviceMode16 [GDI32.102]
* @ [GDI32.102]
*
* This should load the correct driver for lpszDevice and calls this driver's
* ExtDeviceMode proc.
......@@ -192,7 +192,7 @@ INT WINAPI GDI_CallExtDeviceMode16( HWND hwnd,
}
/****************************************************************************
* GDI_CallAdvancedSetupDialog16 [GDI32.103]
* @ [GDI32.103]
*
* This should load the correct driver for lpszDevice and calls this driver's
* AdvancedSetupDialog proc.
......@@ -206,7 +206,7 @@ INT WINAPI GDI_CallAdvancedSetupDialog16( HWND hwnd, LPSTR lpszDevice,
}
/*****************************************************************************
* GDI_CallDeviceCapabilities16 [GDI32.104]
* @ [GDI32.104]
*
* This should load the correct driver for lpszDevice and calls this driver's
* DeviceCapabilities proc.
......
......@@ -21,7 +21,7 @@ DEFAULT_DEBUG_CHANNEL(reg);
static BYTE PF[64] = {0,};
/***********************************************************************
* GetSystemInfo [KERNELL32.404]
* GetSystemInfo [KERNEL32.404]
*
* Gets the current system information.
*
......@@ -220,7 +220,7 @@ VOID WINAPI GetSystemInfo(
/***********************************************************************
* IsProcessorFeaturePresent [KERNELL32.880]
* IsProcessorFeaturePresent [KERNEL32.880]
* RETURNS:
* TRUE if processorfeature present
* FALSE otherwise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment