Commit fcfacb95 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Added/fixed some documentation reported by winapi_check.

parent 98fde73f
......@@ -99,6 +99,9 @@ typedef struct IAVIStreamImpl {
LPVOID lpPrevFormat; /* pointer to decompressed info later */
} IAVIStreamImpl;
/***********************************************************************
* AVIFileInit
*/
void WINAPI
AVIFileInit(void) {
FIXME("(),stub!\n");
......@@ -202,6 +205,9 @@ static HRESULT WINAPI IAVIFile_fnDeleteStream(IAVIFile*iface,DWORD fccType,LONG
return E_FAIL;
}
/***********************************************************************
* AVIFileOpenA
*/
HRESULT WINAPI AVIFileOpenA(
PAVIFILE * ppfile,LPCSTR szFile,UINT uMode,LPCLSID lpHandler
) {
......@@ -267,8 +273,8 @@ static HRESULT WINAPI IAVIStream_fnReadFormat(IAVIStream*iface,LONG pos,LPVOID f
return E_FAIL;
}
/*****************************************************************************
* [IAVIStream::SetFormat]
/***********************************************************************
* IAVIStream::SetFormat
*/
static HRESULT WINAPI IAVIStream_fnSetFormat(IAVIStream*iface,LONG pos,LPVOID format,LONG formatsize) {
IAVIStreamImpl *as = (IAVIStreamImpl*)iface;
......@@ -357,6 +363,9 @@ static HRESULT WINAPI IAVIStream_fnSetInfo(IAVIStream*iface,AVISTREAMINFOW*info,
return E_FAIL;
}
/***********************************************************************
* AVIFileCreateStreamA
*/
HRESULT WINAPI AVIFileCreateStreamA(PAVIFILE iface,PAVISTREAM *ppavi,AVISTREAMINFOA * psi) {
AVISTREAMINFOW psiw;
......@@ -366,15 +375,24 @@ HRESULT WINAPI AVIFileCreateStreamA(PAVIFILE iface,PAVISTREAM *ppavi,AVISTREAMIN
return IAVIFile_CreateStream(iface,ppavi,&psiw);
}
/***********************************************************************
* AVIFileCreateStreamW
*/
HRESULT WINAPI AVIFileCreateStreamW(IAVIFile*iface,PAVISTREAM*avis,AVISTREAMINFOW*asi) {
return IAVIFile_CreateStream(iface,avis,asi);
}
/***********************************************************************
* AVIFileGetStream
*/
HRESULT WINAPI AVIFileGetStream(IAVIFile*iface,PAVISTREAM*avis,DWORD fccType,LONG lParam) {
return IAVIFile_GetStream(iface,avis,fccType,lParam);
}
/***********************************************************************
* AVIFileInfoA
*/
HRESULT WINAPI AVIFileInfoA(PAVIFILE iface,LPAVIFILEINFOA afi,LONG size) {
AVIFILEINFOW afiw;
HRESULT hres;
......@@ -387,11 +405,17 @@ HRESULT WINAPI AVIFileInfoA(PAVIFILE iface,LPAVIFILEINFOA afi,LONG size) {
return hres;
}
/***********************************************************************
* AVIStreamInfoW
*/
HRESULT WINAPI AVIStreamInfoW(PAVISTREAM iface,AVISTREAMINFOW *asi,LONG
size) {
return IAVIFile_Info(iface,asi,size);
}
/***********************************************************************
* AVIStreamInfoA
*/
HRESULT WINAPI AVIStreamInfoA(PAVISTREAM iface,AVISTREAMINFOA *asi,LONG
size) {
AVISTREAMINFOW asiw;
......@@ -405,10 +429,16 @@ HRESULT WINAPI AVIStreamInfoA(PAVISTREAM iface,AVISTREAMINFOA *asi,LONG
return hres;
}
/***********************************************************************
* AVIFileInfoW
*/
HRESULT WINAPI AVIFileInfoW(PAVIFILE iface,LPAVIFILEINFOW afi,LONG size) {
return IAVIFile_Info(iface,afi,size);
}
/***********************************************************************
* AVIMakeCompressedStream
*/
HRESULT WINAPI AVIMakeCompressedStream(PAVISTREAM *ppsCompressed,PAVISTREAM ppsSource,AVICOMPRESSOPTIONS *aco,CLSID *pclsidHandler) {
char fcc[5];
IAVIStreamImpl *as;
......@@ -452,30 +482,51 @@ HRESULT WINAPI AVIMakeCompressedStream(PAVISTREAM *ppsCompressed,PAVISTREAM ppsS
return S_OK;
}
/***********************************************************************
* AVIStreamSetFormat
*/
HRESULT WINAPI AVIStreamSetFormat(PAVISTREAM iface,LONG pos,LPVOID format,LONG formatsize) {
return IAVIStream_SetFormat(iface,pos,format,formatsize);
}
/***********************************************************************
* AVIStreamReadFormat
*/
HRESULT WINAPI AVIStreamReadFormat(PAVISTREAM iface,LONG pos,LPVOID format,LONG *formatsize) {
return IAVIStream_ReadFormat(iface,pos,format,formatsize);
}
/***********************************************************************
* AVIStreamWrite(
*/
HRESULT WINAPI AVIStreamWrite(PAVISTREAM iface,LONG start,LONG samples,LPVOID buffer,LONG buffersize,DWORD flags,LONG *sampwritten,LONG *byteswritten) {
return IAVIStream_Write(iface,start,samples,buffer,buffersize,flags,sampwritten,byteswritten);
}
/***********************************************************************
* AVIStreamRead
*/
HRESULT WINAPI AVIStreamRead(PAVISTREAM iface,LONG start,LONG samples,LPVOID buffer,LONG buffersize,LONG *bytesread,LONG *samplesread) {
return IAVIStream_Read(iface,start,samples,buffer,buffersize,bytesread,samplesread);
}
/***********************************************************************
* AVIStreamWriteData
*/
HRESULT WINAPI AVIStreamWriteData(PAVISTREAM iface,DWORD fcc,LPVOID lp,LONG size) {
return IAVIStream_WriteData(iface,fcc,lp,size);
}
/***********************************************************************
* AVIStreamReadData
*/
HRESULT WINAPI AVIStreamReadData(PAVISTREAM iface,DWORD fcc,LPVOID lp,LONG *lpread) {
return IAVIStream_ReadData(iface,fcc,lp,lpread);
}
/***********************************************************************
* AVIStreamStart
*/
LONG WINAPI AVIStreamStart(PAVISTREAM iface) {
AVISTREAMINFOW si;
......@@ -483,6 +534,9 @@ LONG WINAPI AVIStreamStart(PAVISTREAM iface) {
return si.dwStart;
}
/***********************************************************************
* AVIStreamLength
*/
LONG WINAPI AVIStreamLength(PAVISTREAM iface) {
AVISTREAMINFOW si;
HRESULT ret;
......@@ -493,28 +547,46 @@ LONG WINAPI AVIStreamLength(PAVISTREAM iface) {
return si.dwLength;
}
/***********************************************************************
* AVIStreamRelease
*/
ULONG WINAPI AVIStreamRelease(PAVISTREAM iface) {
return IAVIStream_Release(iface);
}
/***********************************************************************
* AVIStreamGetFrameOpen
*/
PGETFRAME WINAPI AVIStreamGetFrameOpen(PAVISTREAM iface,LPBITMAPINFOHEADER bmi) {
FIXME("(%p)->(%p),stub!\n",iface,bmi);
return NULL;
}
/***********************************************************************
* AVIStreamGetFrame
*/
LPVOID WINAPI AVIStreamGetFrame(PGETFRAME pg,LONG pos) {
return IGetFrame_GetFrame(pg,pos);
}
/***********************************************************************
* AVIStreamGetFrameClose
*/
HRESULT WINAPI AVIStreamGetFrameClose(PGETFRAME pg) {
if (pg) IGetFrame_Release(pg);
return 0;
}
/***********************************************************************
* AVIFileRelease
*/
ULONG WINAPI AVIFileRelease(PAVIFILE iface) {
return IAVIFile_Release(iface);
}
/***********************************************************************
* AVIFileExit
*/
void WINAPI AVIFileExit(void) {
FIXME("(), stub.\n");
}
......@@ -609,6 +609,9 @@ FindMRUStringA (HANDLE hList, LPCSTR lpszString, LPINT lpRegNum)
return 0;
}
/**************************************************************************
* CreateMRUListLazyA [COMCTL32.157]
*/
HANDLE WINAPI
CreateMRUListLazyA (LPCREATEMRULIST lpcml, DWORD dwParam2, DWORD dwParam3, DWORD dwParam4)
{
......
......@@ -20,7 +20,9 @@ DEFAULT_DEBUG_CHANNEL(commctrl)
static DWORD dwLastScrollTime = 0;
/***********************************************************************
* MakeDragList
*/
BOOL WINAPI MakeDragList (HWND hwndLB)
{
FIXME("(0x%x)\n", hwndLB);
......@@ -29,7 +31,9 @@ BOOL WINAPI MakeDragList (HWND hwndLB)
return FALSE;
}
/***********************************************************************
* DrawInsert
*/
VOID WINAPI DrawInsert (HWND hwndParent, HWND hwndLB, INT nItem)
{
FIXME("(0x%x 0x%x %d)\n", hwndParent, hwndLB, nItem);
......@@ -37,7 +41,9 @@ VOID WINAPI DrawInsert (HWND hwndParent, HWND hwndLB, INT nItem)
}
/***********************************************************************
* LBItemFromPt
*/
INT WINAPI LBItemFromPt (HWND hwndLB, POINT pt, BOOL bAutoScroll)
{
RECT rcClient;
......
......@@ -26,6 +26,9 @@ DEFAULT_DEBUG_CHANNEL(commctrl)
#define FlatSB_GetInfoPtr(hwnd) ((FLATSB_INFO*)GetWindowLongA (hwnd, 0))
/***********************************************************************
* FlatSB_EnableScrollBar
*/
BOOL WINAPI
FlatSB_EnableScrollBar(HWND hwnd, INT dummy, UINT dummy2)
{
......@@ -33,6 +36,9 @@ FlatSB_EnableScrollBar(HWND hwnd, INT dummy, UINT dummy2)
return 0;
}
/***********************************************************************
* FlatSB_ShowScrollBar
*/
BOOL WINAPI
FlatSB_ShowScrollBar(HWND hwnd, INT code, BOOL flag)
{
......@@ -40,6 +46,9 @@ FlatSB_ShowScrollBar(HWND hwnd, INT code, BOOL flag)
return 0;
}
/***********************************************************************
* FlatSB_GetScrollRange
*/
BOOL WINAPI
FlatSB_GetScrollRange(HWND hwnd, INT code, LPINT min, LPINT max)
{
......@@ -47,6 +56,9 @@ FlatSB_GetScrollRange(HWND hwnd, INT code, LPINT min, LPINT max)
return 0;
}
/***********************************************************************
* FlatSB_GetScrollInfo
*/
BOOL WINAPI
FlatSB_GetScrollInfo(HWND hwnd, INT code, LPSCROLLINFO info)
{
......@@ -54,6 +66,9 @@ FlatSB_GetScrollInfo(HWND hwnd, INT code, LPSCROLLINFO info)
return 0;
}
/***********************************************************************
* FlatSB_GetScrollPos
*/
INT WINAPI
FlatSB_GetScrollPos(HWND hwnd, INT code)
{
......@@ -61,6 +76,9 @@ FlatSB_GetScrollPos(HWND hwnd, INT code)
return 0;
}
/***********************************************************************
* FlatSB_GetScrollProp
*/
BOOL WINAPI
FlatSB_GetScrollProp(HWND hwnd, INT propIndex, LPINT prop)
{
......@@ -68,7 +86,9 @@ FlatSB_GetScrollProp(HWND hwnd, INT propIndex, LPINT prop)
return 0;
}
/***********************************************************************
* FlatSB_SetScrollPos
*/
INT WINAPI
FlatSB_SetScrollPos(HWND hwnd, INT code, INT pos, BOOL fRedraw)
{
......@@ -76,6 +96,9 @@ FlatSB_SetScrollPos(HWND hwnd, INT code, INT pos, BOOL fRedraw)
return 0;
}
/***********************************************************************
* FlatSB_SetScrollInfo
*/
INT WINAPI
FlatSB_SetScrollInfo(HWND hwnd, INT code, LPSCROLLINFO info, BOOL fRedraw)
{
......@@ -83,6 +106,9 @@ FlatSB_SetScrollInfo(HWND hwnd, INT code, LPSCROLLINFO info, BOOL fRedraw)
return 0;
}
/***********************************************************************
* FlatSB_SetScrollRange
*/
INT WINAPI
FlatSB_SetScrollRange(HWND hwnd, INT code, INT min, INT max, BOOL fRedraw)
{
......@@ -90,6 +116,9 @@ FlatSB_SetScrollRange(HWND hwnd, INT code, INT min, INT max, BOOL fRedraw)
return 0;
}
/***********************************************************************
* FlatSB_SetScrollProp
*/
BOOL WINAPI
FlatSB_SetScrollProp(HWND hwnd, UINT index, INT newValue, BOOL flag)
{
......@@ -97,13 +126,18 @@ FlatSB_SetScrollProp(HWND hwnd, UINT index, INT newValue, BOOL flag)
return 0;
}
/***********************************************************************
* InitializeFlatSB
*/
BOOL WINAPI InitializeFlatSB(HWND hwnd)
{
FIXME("stub\n");
return 0;
}
/***********************************************************************
* UninitializeFlatSB
*/
HRESULT WINAPI UninitializeFlatSB(HWND hwnd)
{
FIXME("stub\n");
......
......@@ -464,7 +464,7 @@ HWND WINAPI ReplaceTextA(
}
/***********************************************************************
* FinfText32W [COMDLG32.7]
* FindText32W [COMDLG32.7]
* RETURNS
* Window handle to created dialog: Succes
* NULL: Failure
......
......@@ -5723,52 +5723,79 @@ typedef void *LPDDENUMCALLBACKEXA;
typedef void *LPDDENUMCALLBACKEXW;
typedef void *LPDDENUMCALLBACKW;
/***********************************************************************
* DSoundHelp
*/
HRESULT WINAPI DSoundHelp(DWORD x, DWORD y, DWORD z)
{
return DD_OK;
}
/***********************************************************************
* DirectDrawCreate
*/
HRESULT WINAPI DirectDrawCreate(
LPGUID lpGUID, LPDIRECTDRAW *lplpDD, LPUNKNOWN pUnkOuter)
{
return DD_OK;
}
/***********************************************************************
* DirectDrawCreateClipper
*/
HRESULT WINAPI DirectDrawCreateClipper(
DWORD dwFlags, LPDIRECTDRAWCLIPPER *lplpDDClipper, LPUNKNOWN pUnkOuter)
{
return DD_OK;
}
/***********************************************************************
* DirectDrawEnumerateA
*/
HRESULT WINAPI DirectDrawEnumerateA(
LPDDENUMCALLBACKA lpCallback, LPVOID lpContext)
{
return DD_OK;
}
/***********************************************************************
* DirectDrawEnumerateExA
*/
HRESULT WINAPI DirectDrawEnumerateExA(
LPDDENUMCALLBACKEXA lpCallback, LPVOID lpContext, DWORD dwFlags)
{
return DD_OK;
}
/***********************************************************************
* DirectDrawEnumerateExW
*/
HRESULT WINAPI DirectDrawEnumerateExW(
LPDDENUMCALLBACKEXW lpCallback, LPVOID lpContext, DWORD dwFlags)
{
return DD_OK;
}
/***********************************************************************
* DirectDrawEnumerateW
*/
HRESULT WINAPI DirectDrawEnumerateW(
LPDDENUMCALLBACKW lpCallback, LPVOID lpContext)
{
return DD_OK;
}
/***********************************************************************
* DDRAW_DllGetClassObject
*/
DWORD WINAPI DDRAW_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
return CLASS_E_CLASSNOTAVAILABLE;
}
/***********************************************************************
* DDRAW_DllCanUnloadNow
*/
DWORD WINAPI DDRAW_DllCanUnloadNow(void)
{
return DD_OK;
......
......@@ -79,7 +79,7 @@ static IClassFactoryImpl DP_and_DPL_CF = {&DP_and_DPL_Vtbl, 1 };
/*******************************************************************************
* DllGetClassObject [DPLAYX.?]
* DP_and_DPL_DllGetClassObject [DPLAYX.?]
* Retrieves DP or DPL class object from a DLL object
*
* NOTES
......
......@@ -201,7 +201,9 @@ static void DSOUND_CloseAudio(void);
#endif
/*******************************************************************************
* DirectSoundEnumerateA
*/
HRESULT WINAPI DirectSoundEnumerateA(
LPDSENUMCALLBACKA enumcb,
LPVOID context)
......@@ -2259,6 +2261,9 @@ static DWORD WINAPI DSOUND_thread(LPVOID arg)
#endif /* HAVE_OSS */
/*******************************************************************************
* DirectSoundCreate
*/
HRESULT WINAPI DirectSoundCreate(REFGUID lpGUID,LPDIRECTSOUND *ppDS,IUnknown *pUnkOuter )
{
IDirectSoundImpl** ippDS=(IDirectSoundImpl**)ppDS;
......
......@@ -157,6 +157,9 @@ static int in_cksum(u_short *addr, int len)
* Exported Routines.
*/
/***********************************************************************
* IcmpCreateFile
*/
HANDLE WINAPI IcmpCreateFile(VOID)
{
icmp_t* icp;
......@@ -194,6 +197,9 @@ BOOL WINAPI IcmpCloseHandle(HANDLE IcmpHandle)
}
/***********************************************************************
* IcmpSendEcho
*/
DWORD WINAPI IcmpSendEcho(
HANDLE IcmpHandle,
IPAddr DestinationAddress,
......
......@@ -44,7 +44,7 @@ BOOL WINAPI MPR_Free( LPVOID lpMem )
}
/*****************************************************************
* [MPR.25]
* _MPR_25 [MPR.25]
*/
BOOL WINAPI _MPR_25( LPBYTE lpMem, INT len )
{
......
......@@ -15,7 +15,7 @@
DEFAULT_DEBUG_CHANNEL(msvideo)
/****************************************************************************
/***********************************************************************
* VideoForWindowsVersion [MSVFW.2][MSVIDEO.2]
* Returns the version in major.minor form.
* In Windows95 this returns 0x040003b6 (4.950)
......@@ -25,7 +25,7 @@ VideoForWindowsVersion(void) {
return 0x040003B6; /* 4.950 */
}
/****************************************************************************
/***********************************************************************
* VideoCapDriverDescAndVer [MSVIDEO.22]
*/
DWORD WINAPI
......@@ -36,7 +36,7 @@ VideoCapDriverDescAndVer(WORD nr,LPVOID buf1,WORD buf1len,LPVOID buf2,WORD buf2l
/* system.ini: [drivers] */
/**************************************************************************
/***********************************************************************
* ICInfo [MSVFW.33]
* Get information about an installable compressor. Return TRUE if there
* is one.
......@@ -70,7 +70,7 @@ ICInfo(
return FALSE;
}
/**************************************************************************
/***********************************************************************
* ICOpen [MSVFW.37]
* Opens an installable compressor. Return special handle.
*/
......@@ -110,6 +110,10 @@ ICOpen(DWORD fccType,DWORD fccHandler,UINT wMode) {
whic->private = ICSendMessage((HIC)whic,DRV_OPEN,0,(LPARAM)&icopen);
return (HIC)whic;
}
/***********************************************************************
* ICOpenFunction [MSVFW.38]
*/
HIC VFWAPI ICOpenFunction(DWORD fccType, DWORD fccHandler, UINT wMode,
FARPROC lpfnHandler) {
char type[5],handler[5];
......@@ -128,6 +132,9 @@ FARPROC lpfnHandler) {
}
/***********************************************************************
* ICGetInfo [MSVFW.30]
*/
LRESULT WINAPI
ICGetInfo(HIC hic,ICINFO *picinfo,DWORD cb) {
LRESULT ret;
......@@ -138,6 +145,9 @@ ICGetInfo(HIC hic,ICINFO *picinfo,DWORD cb) {
return ret;
}
/***********************************************************************
* ICLocate [MSVFW.35]
*/
HIC VFWAPI
ICLocate(
DWORD fccType, DWORD fccHandler, LPBITMAPINFOHEADER lpbiIn,
......@@ -182,6 +192,9 @@ ICLocate(
return 0;
}
/***********************************************************************
* ICGetDisplayFormat [MSVFW.29]
*/
HIC VFWAPI ICGetDisplayFormat(
HIC hic,LPBITMAPINFOHEADER lpbiIn,LPBITMAPINFOHEADER lpbiOut,
INT depth,INT dx,INT dy
......@@ -225,6 +238,9 @@ errout:
return 0;
}
/***********************************************************************
* ICCompress [MSVFW.23]
*/
DWORD VFWAPIV
ICCompress(
HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiOutput,LPVOID lpData,
......@@ -251,6 +267,9 @@ ICCompress(
return ICSendMessage(hic,ICM_COMPRESS,(LPARAM)&iccmp,sizeof(iccmp));
}
/***********************************************************************
* ICDecompress [MSVFW.26]
*/
DWORD VFWAPIV
ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,LPVOID lpData,LPBITMAPINFOHEADER lpbi,LPVOID lpBits) {
ICDECOMPRESS icd;
......@@ -265,6 +284,9 @@ ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,LPVOID lpData,L
return ICSendMessage(hic,ICM_DECOMPRESS,(LPARAM)&icd,sizeof(icd));
}
/***********************************************************************
* ICSendMessage [MSVFW.40]
*/
LRESULT VFWAPI
ICSendMessage(HIC hic,UINT msg,DWORD lParam1,DWORD lParam2) {
LRESULT ret;
......@@ -327,6 +349,9 @@ ICSendMessage(HIC hic,UINT msg,DWORD lParam1,DWORD lParam2) {
return ret;
}
/***********************************************************************
* ICDrawBegin [MSVFW.28]
*/
DWORD VFWAPIV ICDrawBegin(
HIC hic,
DWORD dwFlags,/* flags */
......@@ -364,6 +389,9 @@ DWORD VFWAPIV ICDrawBegin(
return ICSendMessage(hic,ICM_DRAW_BEGIN,(LPARAM)&icdb,sizeof(icdb));
}
/***********************************************************************
* ICDraw [MSVFW.27]
*/
DWORD VFWAPIV ICDraw(
HIC hic,DWORD dwFlags,LPVOID lpFormat,LPVOID lpData,DWORD cbData,
LONG lTime
......@@ -378,6 +406,9 @@ DWORD VFWAPIV ICDraw(
return ICSendMessage(hic,ICM_DRAW,(LPARAM)&icd,sizeof(icd));
}
/***********************************************************************
* ICClose [MSVFW.22]
*/
LRESULT WINAPI ICClose(HIC hic) {
WINE_HIC *whic = (WINE_HIC*)hic;
TRACE("(%d).\n",hic);
......@@ -387,18 +418,27 @@ LRESULT WINAPI ICClose(HIC hic) {
return 0;
}
/***********************************************************************
* DrawDibOpen [MSVFW.10]
*/
HANDLE /* HDRAWDIB */ WINAPI
DrawDibOpen( void ) {
FIXME("stub!\n");
return 0xdead;
}
/***********************************************************************
* DrawDibClose [MSVFW.5]
*/
BOOL WINAPI
DrawDibClose( HANDLE /*HDRAWDIB*/ hDib ) {
FIXME("stub!\n");
return TRUE;
}
/***********************************************************************
* DrawDibBegin [MSVFW.3]
*/
BOOL VFWAPI DrawDibBegin(HANDLE /*HDRAWDIB*/ hdd,
HDC hdc,
INT dxDst,
......@@ -414,28 +454,44 @@ BOOL VFWAPI DrawDibBegin(HANDLE /*HDRAWDIB*/ hdd,
}
/***********************************************************************
* DrawDibSetPalette [MSVFW.13]
*/
BOOL VFWAPI
DrawDibSetPalette(HANDLE /*HDRAWDIB*/ hdd, HPALETTE hpal) {
FIXME("(%d,%d),stub!\n",hdd,hpal);
return TRUE;
}
/***********************************************************************
* DrawDibRealize [MSVFW.12]
*/
UINT VFWAPI DrawDibRealize(HANDLE /*HDRAWDIB*/ hdd, HDC hdc, BOOL fBackground) {
FIXME("(0x%08lx,0x%08lx,%d),stub!\n",(DWORD)hdd,(DWORD)hdc,fBackground);
return 0;
}
/***********************************************************************
* MCIWndCreate [MSVFW.44]
*/
HWND VFWAPIV MCIWndCreate (HWND hwndParent, HINSTANCE hInstance,
DWORD dwStyle,LPVOID szFile)
{ FIXME("%x %x %lx %p\n",hwndParent, hInstance, dwStyle, szFile);
return 0;
}
/***********************************************************************
* MCIWndCreateA [MSVFW.45]
*/
HWND VFWAPIV MCIWndCreateA(HWND hwndParent, HINSTANCE hInstance,
DWORD dwStyle,LPCSTR szFile)
{ FIXME("%x %x %lx %s\n",hwndParent, hInstance, dwStyle, szFile);
return 0;
}
/***********************************************************************
* MCIWndCreateW [MSVFW.46]
*/
HWND VFWAPIV MCIWndCreateW(HWND hwndParent, HINSTANCE hInstance,
DWORD dwStyle,LPCWSTR szFile)
{ FIXME("%x %x %lx %s\n",hwndParent, hInstance, dwStyle, debugstr_w(szFile));
......
......@@ -501,7 +501,7 @@ NTSTATUS WINAPI NtQueryPerformanceCounter(
}
/******************************************************************************
* NtCreateMailSlotFile [NTDLL]
* NtCreateMailslotFile [NTDLL]
*/
NTSTATUS WINAPI NtCreateMailslotFile(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8)
{
......
......@@ -392,7 +392,7 @@ INT WINAPI RtlExtendedLargeIntegerDivide(
}
/******************************************************************************
* RtlExtendedLargeIntegerMultiply [NTDLL.359]
* RtlExtendedIntegerMultiply [NTDLL.359]
* Note: This even works, since gcc returns 64bit values in eax/edx just like
* the caller expects. However... The relay code won't grok this I think.
*/
......
......@@ -647,6 +647,9 @@ RtlImpersonateSelf(SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
return TRUE;
}
/******************************************************************************
* NtAccessCheck [NTDLL]
*/
NTSTATUS WINAPI
NtAccessCheck(
IN PSECURITY_DESCRIPTOR SecurityDescriptor,
......@@ -665,6 +668,9 @@ NtAccessCheck(
return STATUS_SUCCESS;
}
/******************************************************************************
* NtSetSecurityObject [NTDLL]
*/
NTSTATUS WINAPI
NtSetSecurityObject(
IN HANDLE Handle,
......
......@@ -179,7 +179,7 @@ VOID WINAPI RtlSystemTimeToLocalTime(
memcpy (LocalTime, SystemTime, sizeof (PLARGE_INTEGER));
}
/******************************************************************************
* RtlToTimeInSecondsSince1980 [NTDLL]
* RtlTimeToSecondsSince1980 [NTDLL]
*/
BOOLEAN WINAPI RtlTimeToSecondsSince1980(
LPFILETIME ft,
......@@ -191,7 +191,7 @@ BOOLEAN WINAPI RtlTimeToSecondsSince1980(
}
/******************************************************************************
* RtlToTimeInSecondsSince1970 [NTDLL]
* RtlTimeToSecondsSince1970 [NTDLL]
*/
BOOLEAN WINAPI RtlTimeToSecondsSince1970(
LPFILETIME ft,
......
......@@ -1002,7 +1002,7 @@ SQLRETURNTYPE SQLGetInfo(SQLHDBC ConnectionHandle,
/*************************************************************************
* SQLiGetStmtAttr [ODBC32.038]
* SQLGetStmtAttr [ODBC32.038]
*/
SQLRETURNTYPE SQLGetStmtAttr(SQLHSTMT StatementHandle,
SQLINTEGER Attribute, SQLPOINTER Value,
......@@ -1036,7 +1036,7 @@ SQLRETURNTYPE SQLGetStmtOption(SQLHSTMT StatementHandle, SQLUSMALLINT Option, S
/*************************************************************************
* SQLgetTypeInfo [ODBC32.047]
* SQLGetTypeInfo [ODBC32.047]
*/
SQLRETURNTYPE SQLGetTypeInfo(SQLHSTMT StatementHandle, SQLSMALLINT DataType)
{
......@@ -1315,7 +1315,7 @@ SQLRETURNTYPE SQLSpecialColumns(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLStatisitics [ODBC32.053]
* SQLStatistics [ODBC32.053]
*/
SQLRETURNTYPE SQLStatistics(SQLHSTMT StatementHandle,
SQLCHAR *CatalogName, SQLSMALLINT NameLength1,
......
......@@ -1636,7 +1636,7 @@ HRESULT WINAPI EnumMonikerImpl_CreateEnumMoniker(IMoniker** tabMoniker,
}
/******************************************************************************
* CreateCompositeMoniker [OLE.55]
* CreateGenericComposite [OLE.55]
******************************************************************************/
HRESULT WINAPI CreateGenericComposite(LPMONIKER pmkFirst, LPMONIKER pmkRest, LPMONIKER* ppmkComposite)
{
......
......@@ -20,6 +20,9 @@ DEFAULT_DEBUG_CHANNEL(ole);
static WCHAR _delimiter[2] = {'!',0}; /* default delimiter apparently */
static WCHAR *pdelimiter = &_delimiter[0];
/***********************************************************************
* RegisterActiveObject
*/
HRESULT WINAPI RegisterActiveObject(
LPUNKNOWN punk,REFCLSID rcid,DWORD dwFlags,LPDWORD pdwRegister
) {
......@@ -43,6 +46,9 @@ HRESULT WINAPI RegisterActiveObject(
return ret;
}
/***********************************************************************
* RevokeActiveObject
*/
HRESULT WINAPI RevokeActiveObject(DWORD xregister,LPVOID reserved)
{
LPRUNNINGOBJECTTABLE runobtable;
......@@ -56,6 +62,9 @@ HRESULT WINAPI RevokeActiveObject(DWORD xregister,LPVOID reserved)
return ret;
}
/***********************************************************************
* GetActiveObject
*/
HRESULT WINAPI GetActiveObject(REFCLSID rcid,LPVOID preserved,LPUNKNOWN *ppunk)
{
WCHAR guidbuf[80];
......
......@@ -103,6 +103,7 @@ const static int LAST_VARTYPE = sizeof(VARTYPE_SIZE)/sizeof(ULONG);
/*************************************************************************
* SafeArrayAllocDescriptor
* Allocate the appropriate amount of memory for the SafeArray descriptor
*/
HRESULT WINAPI SafeArrayAllocDescriptor(
......@@ -127,6 +128,7 @@ HRESULT WINAPI SafeArrayAllocDescriptor(
}
/*************************************************************************
* SafeArrayAllocData
* Allocate the appropriate amount of data for the SafeArray data
*/
HRESULT WINAPI SafeArrayAllocData(
......@@ -151,6 +153,7 @@ HRESULT WINAPI SafeArrayAllocData(
}
/*************************************************************************
* SafeArrayCreate
* Create a SafeArray object by encapsulating AllocDescriptor and AllocData
*/
SAFEARRAY* WINAPI SafeArrayCreate(
......@@ -195,6 +198,7 @@ SAFEARRAY* WINAPI SafeArrayCreate(
}
/*************************************************************************
* SafeArrayDestroyDescriptor
* Frees the memory associated with the descriptor.
*/
HRESULT WINAPI SafeArrayDestroyDescriptor(
......@@ -213,6 +217,7 @@ HRESULT WINAPI SafeArrayDestroyDescriptor(
/*************************************************************************
* SafeArrayLock
* Increment the lock counter
*
* Doc says (MSDN Library ) that psa->pvData should be made available (!= NULL)
......@@ -231,6 +236,7 @@ HRESULT WINAPI SafeArrayLock(
}
/*************************************************************************
* SafeArrayUnlock
* Decrement the lock counter
*/
HRESULT WINAPI SafeArrayUnlock(
......@@ -247,6 +253,7 @@ HRESULT WINAPI SafeArrayUnlock(
/*************************************************************************
* SafeArrayPutElement
* Set the data at the given coordinate
*/
HRESULT WINAPI SafeArrayPutElement(
......@@ -303,6 +310,7 @@ HRESULT WINAPI SafeArrayPutElement(
/*************************************************************************
* SafeArrayGetElement
* Return the data element corresponding the the given coordinate
*/
HRESULT WINAPI SafeArrayGetElement(
......@@ -351,6 +359,7 @@ HRESULT WINAPI SafeArrayGetElement(
}
/*************************************************************************
* SafeArrayGetUBound
* return the UP bound for a given array dimension
*/
HRESULT WINAPI SafeArrayGetUBound(
......@@ -371,6 +380,7 @@ HRESULT WINAPI SafeArrayGetUBound(
}
/*************************************************************************
* SafeArrayGetLBound
* Return the LO bound for a given array dimension
*/
HRESULT WINAPI SafeArrayGetLBound(
......@@ -389,6 +399,7 @@ HRESULT WINAPI SafeArrayGetLBound(
}
/*************************************************************************
* SafeArrayGetDim
* returns the number of dimension in the array
*/
UINT WINAPI SafeArrayGetDim(
......@@ -405,6 +416,7 @@ UINT WINAPI SafeArrayGetDim(
}
/*************************************************************************
* SafeArrayGetElemsize
* Return the size of the element in the array
*/
UINT WINAPI SafeArrayGetElemsize(
......@@ -421,6 +433,7 @@ UINT WINAPI SafeArrayGetElemsize(
}
/*************************************************************************
* SafeArrayAccessData
* increment the access count and return the data
*/
HRESULT WINAPI SafeArrayAccessData(
......@@ -448,6 +461,7 @@ HRESULT WINAPI SafeArrayAccessData(
/*************************************************************************
* SafeArrayUnaccessData
* Decrement the access count
*/
HRESULT WINAPI SafeArrayUnaccessData(
......@@ -460,6 +474,7 @@ HRESULT WINAPI SafeArrayUnaccessData(
}
/************************************************************************
* SafeArrayPtrOfIndex
* Return a pointer to the element at rgIndices
*/
HRESULT WINAPI SafeArrayPtrOfIndex(
......@@ -485,6 +500,7 @@ HRESULT WINAPI SafeArrayPtrOfIndex(
}
/************************************************************************
* SafeArrayDestroyData
* Frees the memory data bloc
*/
HRESULT WINAPI SafeArrayDestroyData(
......@@ -539,6 +555,7 @@ HRESULT WINAPI SafeArrayDestroyData(
}
/************************************************************************
* SafeArrayCopyData
* Copy the psaSource's data block into psaTarget if dimension and size
* permits it.
*/
......@@ -591,6 +608,7 @@ HRESULT WINAPI SafeArrayCopyData(
}
/************************************************************************
* SafeArrayDestroy
* Deallocates all memory reserved for the SafeArray
*/
HRESULT WINAPI SafeArrayDestroy(
......@@ -612,6 +630,7 @@ HRESULT WINAPI SafeArrayDestroy(
}
/************************************************************************
* SafeArrayCopy
* Make a dupplicate of a SafeArray
*/
HRESULT WINAPI SafeArrayCopy(
......@@ -658,6 +677,7 @@ HRESULT WINAPI SafeArrayCopy(
}
/************************************************************************
* SafeArrayCreateVector
* Creates a one dimension safearray where the data is next to the
* SAFEARRAY structure.
*/
......@@ -694,6 +714,7 @@ SAFEARRAY* WINAPI SafeArrayCreateVector(
}
/************************************************************************
* SafeArrayRedim
* Changes the caracteristics of the last dimension of the SafeArray
*/
HRESULT WINAPI SafeArrayRedim(
......
......@@ -4242,7 +4242,7 @@ HRESULT WINAPI VarCyFromDate(DATE dateIn, CY* pcyOut) {
}
/**********************************************************************
* VarCyFromDate32 [OLEAUT32.104]
* VarCyFromStr [OLEAUT32.104]
*/
HRESULT WINAPI VarCyFromStr(OLECHAR *strIn, LCID lcid, ULONG dwFlags, CY *pcyOut) {
/* FIXME */
......
......@@ -12,24 +12,36 @@
DEFAULT_DEBUG_CHANNEL(ole);
/***********************************************************************
* OLEPRO32_DllUnregisterServer
*/
HRESULT WINAPI OLEPRO32_DllUnregisterServer()
{
FIXME("not implemented (olepro32.dll) \n");
return S_OK;
}
/***********************************************************************
* OLEPRO32_DllRegisterServer
*/
HRESULT WINAPI OLEPRO32_DllRegisterServer()
{
FIXME("not implemented (olepro32.dll) \n");
return S_OK;
}
/***********************************************************************
* OLEPRO32_DllCanUnloadNow
*/
HRESULT WINAPI OLEPRO32_DllCanUnloadNow( )
{
FIXME("not implemented (olepro32.dll) \n");
return S_OK;
}
/***********************************************************************
* OLEPRO32_DllGetClassObject
*/
HRESULT WINAPI OLEPRO32_DllGetClassObject( REFCLSID rclsid, REFIID riid, LPVOID* ppv )
{
FIXME("not implemented (olepro32.dll) \n");
......
......@@ -227,6 +227,9 @@ void WINAPI SHChangeNotifyW (LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVO
}
}
/*************************************************************************
* SHChangeNotify [SHELL32.239]
*/
void WINAPI SHChangeNotifyA (LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2)
{
LPITEMIDLIST Pidls[2];
......@@ -271,6 +274,9 @@ void WINAPI SHChangeNotifyA (LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVO
}
}
/*************************************************************************
* SHChangeNotifyAW [SHELL32.239]
*/
void WINAPI SHChangeNotifyAW (LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2)
{
if(VERSION_OsIsUnicode())
......
......@@ -785,7 +785,7 @@ INT WINAPI Shell_GetCachedImageIndexAW(LPCVOID szPath, INT nIndex, BOOL bSimulat
}
/*************************************************************************
* ExtracticonExAW [shell32.189]
* ExtractIconEx [shell32.189]
*/
HICON WINAPI ExtractIconExAW ( LPCVOID lpszFile, INT nIconIndex, HICON * phiconLarge, HICON * phiconSmall, UINT nIcons )
{ if (VERSION_OsIsUnicode())
......@@ -793,7 +793,7 @@ HICON WINAPI ExtractIconExAW ( LPCVOID lpszFile, INT nIconIndex, HICON * phiconL
return ExtractIconExA ( lpszFile, nIconIndex, phiconLarge, phiconSmall, nIcons);
}
/*************************************************************************
* ExtracticonExA [shell32.190]
* ExtractIconExA [shell32.190]
* RETURNS
* 0 no icon found
* 1 file is not valid
......@@ -829,7 +829,7 @@ HICON WINAPI ExtractIconExA ( LPCSTR lpszFile, INT nIconIndex, HICON * phiconLar
return ret;
}
/*************************************************************************
* ExtracticonExW [shell32.191]
* ExtractIconExW [shell32.191]
*/
HICON WINAPI ExtractIconExW ( LPCWSTR lpszFile, INT nIconIndex, HICON * phiconLarge, HICON * phiconSmall, UINT nIcons )
{ LPSTR sFile;
......
......@@ -1086,7 +1086,7 @@ HICON16 WINAPI ExtractIconEx16(
}
/*************************************************************************
* ExtractAssociatedIcon [SHELL.36]
* ExtractAssociatedIconA [SHELL.36]
*
* Return icon for given file (either from file itself or from associated
* executable) and patch parameters if needed.
......
......@@ -24,7 +24,7 @@
DEFAULT_DEBUG_CHANNEL(shell);
/*************************************************************************
* ParseField [SHELL32.58]
* ParseFieldA [SHELL32.58]
*
* copys a field from a ',' delimited string
*
......@@ -885,8 +885,11 @@ HRESULT WINAPI SHRegQueryValueExW (HKEY hkey, LPWSTR pszValue, LPDWORD pdwReserv
return ret;
}
/* SHGetValue: Gets a value from the registry */
/*************************************************************************
* SHGetValueA
*
* Gets a value from the registry
*/
DWORD WINAPI SHGetValueA(
HKEY hkey,
LPCSTR pSubKey,
......@@ -901,6 +904,11 @@ DWORD WINAPI SHGetValueA(
return ERROR_SUCCESS; /* return success */
}
/*************************************************************************
* SHGetValueW
*
* Gets a value from the registry
*/
DWORD WINAPI SHGetValueW(
HKEY hkey,
LPCWSTR pSubKey,
......@@ -915,8 +923,11 @@ DWORD WINAPI SHGetValueW(
return ERROR_SUCCESS; /* return success */
}
/* gets a user-specific registry value. */
/*************************************************************************
* SHRegGetUSValueA
*
* Gets a user-specific registry value
*/
LONG WINAPI SHRegGetUSValueA(
LPCSTR pSubKey,
LPCSTR pValue,
......@@ -933,6 +944,11 @@ LONG WINAPI SHRegGetUSValueA(
return ERROR_SUCCESS; /* return success */
}
/*************************************************************************
* SHRegGetUSValueW
*
* Gets a user-specific registry value
*/
LONG WINAPI SHRegGetUSValueW(
LPCWSTR pSubKey,
LPCWSTR pValue,
......@@ -998,8 +1014,9 @@ HRESULT WINAPI IsUserAdmin(void)
{ FIXME("stub\n");
return TRUE;
}
/*************************************************************************
* StrRetToStrN [SHELL32.96]
* StrRetToBufA [SHLWAPI.@]
*
* converts a STRRET to a normal string
*
......@@ -1011,6 +1028,27 @@ HRESULT WINAPI StrRetToBufA (LPSTRRET src, LPITEMIDLIST pidl, LPSTR dest, DWORD
return StrRetToStrNA(dest, len, src, pidl);
}
/*************************************************************************
* StrRetToBufW [SHLWAPI.@]
*
* converts a STRRET to a normal string
*
* NOTES
* the pidl is for STRRET OFFSET
*/
HRESULT WINAPI StrRetToBufW (LPSTRRET src, LPITEMIDLIST pidl, LPWSTR dest, DWORD len)
{
return StrRetToStrNW(dest, len, src, pidl);
}
/*************************************************************************
* StrRetToStrN [SHELL32.96]
*
* converts a STRRET to a normal string
*
* NOTES
* the pidl is for STRRET OFFSET
*/
HRESULT WINAPI StrRetToStrNA (LPVOID dest, DWORD len, LPSTRRET src, LPITEMIDLIST pidl)
{
TRACE("dest=0x%p len=0x%lx strret=0x%p pidl=%p stub\n",dest,len,src,pidl);
......@@ -1041,11 +1079,6 @@ HRESULT WINAPI StrRetToStrNA (LPVOID dest, DWORD len, LPSTRRET src, LPITEMIDLIST
return S_OK;
}
HRESULT WINAPI StrRetToBufW (LPSTRRET src, LPITEMIDLIST pidl, LPWSTR dest, DWORD len)
{
return StrRetToStrNW(dest, len, src, pidl);
}
HRESULT WINAPI StrRetToStrNW (LPVOID dest, DWORD len, LPSTRRET src, LPITEMIDLIST pidl)
{
TRACE("dest=0x%p len=0x%lx strret=0x%p pidl=%p stub\n",dest,len,src,pidl);
......@@ -1219,8 +1252,8 @@ HRESULT WINAPI SHFlushClipboard(void)
}
/*************************************************************************
* StrFormatByteSize [SHLWAPI]
*/
* StrFormatByteSizeA [SHLWAPI]
*/
LPSTR WINAPI StrFormatByteSizeA ( DWORD dw, LPSTR pszBuf, UINT cchBuf )
{ char buf[64];
TRACE("%lx %p %i\n", dw, pszBuf, cchBuf);
......@@ -1239,6 +1272,10 @@ LPSTR WINAPI StrFormatByteSizeA ( DWORD dw, LPSTR pszBuf, UINT cchBuf )
lstrcpynA (pszBuf, buf, cchBuf);
return pszBuf;
}
/*************************************************************************
* StrFormatByteSizeW [SHLWAPI]
*/
LPWSTR WINAPI StrFormatByteSizeW ( DWORD dw, LPWSTR pszBuf, UINT cchBuf )
{ char buf[64];
TRACE("%lx %p %i\n", dw, pszBuf, cchBuf);
......@@ -1346,7 +1383,7 @@ HRESULT WINAPI SHValidateUNC (DWORD x, DWORD y, DWORD z)
}
/************************************************************************
* DoEnvironmentSubstW [SHELL32.53]
* DoEnvironmentSubstA [SHELL32.1222]
*
*/
HRESULT WINAPI DoEnvironmentSubstA(LPSTR x, LPSTR y)
......@@ -1355,12 +1392,20 @@ HRESULT WINAPI DoEnvironmentSubstA(LPSTR x, LPSTR y)
return 0;
}
/************************************************************************
* DoEnvironmentSubstW [SHELL32.1223]
*
*/
HRESULT WINAPI DoEnvironmentSubstW(LPWSTR x, LPWSTR y)
{
FIXME("(%p %s, %p %s) stub\n", x, debugstr_w(x), y, debugstr_w(y));
return 0;
}
/************************************************************************
* DoEnvironmentSubst [SHELL32.53]
*
*/
HRESULT WINAPI DoEnvironmentSubstAW(LPVOID x, LPVOID y)
{
if (VERSION_OsIsUnicode())
......
......@@ -493,7 +493,7 @@ BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA pnid )
}
/*************************************************************************
* Shell_NotifyIconA [SHELL32.297]
* Shell_NotifyIconW [SHELL32.297]
*/
BOOL WINAPI Shell_NotifyIconW (DWORD dwMessage, PNOTIFYICONDATAW pnid )
{
......
......@@ -9,8 +9,11 @@
#include "tapi.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(tapi)
DEFAULT_DEBUG_CHANNEL(tapi);
/***********************************************************************
* tapiGetLocationInfo (TAPI32.@)
*/
DWORD WINAPI tapiGetLocationInfo(LPSTR lpszCountryCode, LPSTR lpszCityCode)
{
char temp[30];
......@@ -23,6 +26,9 @@ DWORD WINAPI tapiGetLocationInfo(LPSTR lpszCountryCode, LPSTR lpszCityCode)
return 0;
}
/***********************************************************************
* tapiRequestMakeCall (TAPI32.@)
*/
DWORD WINAPI tapiRequestMakeCall(LPCSTR lpszDestAddress, LPCSTR lpszAppName,
LPCSTR lpszCalledParty, LPCSTR lpszComment)
{
......
......@@ -9,26 +9,38 @@
#include "tapi.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(tapi)
DEFAULT_DEBUG_CHANNEL(tapi);
/***********************************************************************
* phoneClose (TAPI32.@)
*/
DWORD WINAPI phoneClose(HPHONE hPhone)
{
FIXME("(%04x), stub.\n", hPhone);
return 0;
}
/***********************************************************************
* phoneConfigDialog (TAPI32.@)
*/
DWORD WINAPI phoneConfigDialog(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass)
{
FIXME("(%08lx, %04x, %s): stub.\n", dwDeviceID, hwndOwner, lpszDeviceClass);
return 0;
}
/***********************************************************************
* phoneDevSpecific (TAPI32.@)
*/
DWORD WINAPI phoneDevSpecific(HPHONE hPhone, LPVOID lpParams, DWORD dwSize)
{
FIXME("(%04x, %p, %08ld): stub.\n", hPhone, lpParams, dwSize);
return 1;
}
/***********************************************************************
* phoneGetButtonInfo (TAPI32.@)
*/
DWORD WINAPI phoneGetButtonInfo(HPHONE hPhone, DWORD dwButtonLampID,
LPPHONEBUTTONINFO lpButtonInfo)
{
......@@ -36,12 +48,18 @@ DWORD WINAPI phoneGetButtonInfo(HPHONE hPhone, DWORD dwButtonLampID,
return 0;
}
/***********************************************************************
* phoneGetData (TAPI32.@)
*/
DWORD WINAPI phoneGetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
{
FIXME("(%04x, %08ld, %p, %08ld): stub.\n", hPhone, dwDataID, lpData, dwSize);
return 0;
}
/***********************************************************************
* phoneGetDevCaps (TAPI32.@)
*/
DWORD WINAPI phoneGetDevCaps(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
DWORD dwAPIVersion, DWORD dwExtVersion, LPPHONECAPS lpPhoneCaps)
{
......@@ -49,30 +67,45 @@ DWORD WINAPI phoneGetDevCaps(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
return 0;
}
/***********************************************************************
* phoneGetDisplay (TAPI32.@)
*/
DWORD WINAPI phoneGetDisplay(HPHONE hPhone, LPVARSTRING lpDisplay)
{
FIXME("(%04x, %p): stub.\n", hPhone, lpDisplay);
return 0;
}
/***********************************************************************
* phoneGetGain (TAPI32.@)
*/
DWORD WINAPI phoneGetGain(HPHONE hPhone, DWORD dwHookSwitchDev, LPDWORD lpdwGain)
{
FIXME("(%04x, %08lx, %p): stub.\n", hPhone, dwHookSwitchDev, lpdwGain);
return 0;
}
/***********************************************************************
* phoneGetHookSwitch (TAPI32.@)
*/
DWORD WINAPI phoneGetHookSwitch(HPHONE hPhone, LPDWORD lpdwHookSwitchDevs)
{
FIXME("(%04x, %p): stub.\n", hPhone, lpdwHookSwitchDevs);
return 0;
}
/***********************************************************************
* phoneGetID (TAPI32.@)
*/
DWORD WINAPI phoneGetID(HPHONE hPhone, LPVARSTRING lpDeviceID,
LPCSTR lpszDeviceClass)
{
FIXME("(%04x, %p, %s): stub.\n", hPhone, lpDeviceID, lpszDeviceClass); return 0;
}
/***********************************************************************
* phoneGetIcon (TAPI32.@)
*/
DWORD WINAPI phoneGetIcon(DWORD dwDeviceID, LPCSTR lpszDeviceClass,
HICON *lphIcon)
{
......@@ -80,6 +113,9 @@ DWORD WINAPI phoneGetIcon(DWORD dwDeviceID, LPCSTR lpszDeviceClass,
return 0;
}
/***********************************************************************
* phoneGetLamp (TAPI32.@)
*/
DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID,
LPDWORD lpdwLampMode)
{
......@@ -87,18 +123,27 @@ DWORD WINAPI phoneGetLamp(HPHONE hPhone, DWORD dwButtonLampID,
return 0;
}
/***********************************************************************
* phoneGetRing (TAPI32.@)
*/
DWORD WINAPI phoneGetRing(HPHONE hPhone, LPDWORD lpdwRingMode, LPDWORD lpdwVolume)
{
FIXME("(%04x, %p, %p): stub.\n", hPhone, lpdwRingMode, lpdwVolume);
return 0;
}
/***********************************************************************
* phoneGetStatus (TAPI32.@)
*/
DWORD WINAPI phoneGetStatus(HPHONE hPhone, LPPHONESTATUS lpPhoneStatus)
{
FIXME("(%04x, %p): stub.\n", hPhone, lpPhoneStatus);
return 0;
}
/***********************************************************************
* phoneGetStatusMessages (TAPI32.@)
*/
DWORD WINAPI phoneGetStatusMessages(HPHONE hPhone, LPDWORD lpdwPhoneStates,
LPDWORD lpdwButtonModes, LPDWORD lpdwButtonStates)
{
......@@ -106,6 +151,9 @@ DWORD WINAPI phoneGetStatusMessages(HPHONE hPhone, LPDWORD lpdwPhoneStates,
return 0;
}
/***********************************************************************
* phoneGetVolume (TAPI32.@)
*/
DWORD WINAPI phoneGetVolume(HPHONE hPhone, DWORD dwHookSwitchDevs,
LPDWORD lpdwVolume)
{
......@@ -113,18 +161,27 @@ DWORD WINAPI phoneGetVolume(HPHONE hPhone, DWORD dwHookSwitchDevs,
return 0;
}
/***********************************************************************
* phoneInitialize (TAPI32.@)
*/
DWORD WINAPI phoneInitialize(LPHPHONEAPP lphPhoneApp, HINSTANCE hInstance, PHONECALLBACK lpfnCallback, LPCSTR lpszAppName, LPDWORD lpdwNumDevs)
{
FIXME("(%p, %04x, %p, %s, %p): stub.\n", lphPhoneApp, hInstance, lpfnCallback, lpszAppName, lpdwNumDevs);
return 0;
}
/***********************************************************************
* phoneNegotiateAPIVersion (TAPI32.@)
*/
DWORD WINAPI phoneNegotiateAPIVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID, DWORD dwAPILowVersion, DWORD dwAPIHighVersion, LPDWORD lpdwAPIVersion, LPPHONEEXTENSIONID lpExtensionID)
{
FIXME("(): stub.\n");
return 0;
}
/***********************************************************************
* phoneNegotiateExtVersion (TAPI32.@)
*/
DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
DWORD dwAPIVersion, DWORD dwExtLowVersion,
DWORD dwExtHighVersion, LPDWORD lpdwExtVersion)
......@@ -133,66 +190,99 @@ DWORD WINAPI phoneNegotiateExtVersion(HPHONEAPP hPhoneApp, DWORD dwDeviceID,
return 0;
}
/***********************************************************************
* phoneOpen (TAPI32.@)
*/
DWORD WINAPI phoneOpen(HPHONEAPP hPhoneApp, DWORD dwDeviceID, LPHPHONE lphPhone, DWORD dwAPIVersion, DWORD dwExtVersion, DWORD dwCallbackInstance, DWORD dwPrivileges)
{
FIXME("(): stub.\n");
return 0;
}
/***********************************************************************
* phoneSetButtonInfo (TAPI32.@)
*/
DWORD WINAPI phoneSetButtonInfo(HPHONE hPhone, DWORD dwButtonLampID, LPPHONEBUTTONINFO lpButtonInfo)
{
FIXME("(%04x, %08lx, %p): stub.\n", hPhone, dwButtonLampID, lpButtonInfo);
return 0;
}
/***********************************************************************
* phoneSetData (TAPI32.@)
*/
DWORD WINAPI phoneSetData(HPHONE hPhone, DWORD dwDataID, LPVOID lpData, DWORD dwSize)
{
FIXME("(%04x, %08lx, %p, %ld): stub.\n", hPhone, dwDataID, lpData, dwSize);
return 1;
}
/***********************************************************************
* phoneSetDisplay (TAPI32.@)
*/
DWORD WINAPI phoneSetDisplay(HPHONE hPhone, DWORD dwRow, DWORD dwColumn, LPCSTR lpszDisplay, DWORD dwSize)
{
FIXME("(%04x, '%s' at %ld/%ld, len %ld): stub.\n", hPhone, lpszDisplay, dwRow, dwColumn, dwSize);
return 1;
}
/***********************************************************************
* phoneSetGain (TAPI32.@)
*/
DWORD WINAPI phoneSetGain(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwGain)
{
FIXME("(%04x, %08lx, %ld): stub.\n", hPhone, dwHookSwitchDev, dwGain);
return 1;
}
/***********************************************************************
* phoneSetHookSwitch (TAPI32.@)
*/
DWORD WINAPI phoneSetHookSwitch(HPHONE hPhone, DWORD dwHookSwitchDevs, DWORD dwHookSwitchMode)
{
FIXME("(%04x, %08lx, %08lx): stub.\n", hPhone, dwHookSwitchDevs, dwHookSwitchMode);
return 1;
}
/***********************************************************************
* phoneSetLamp (TAPI32.@)
*/
DWORD WINAPI phoneSetLamp(HPHONE hPhone, DWORD dwButtonLampID, DWORD lpdwLampMode)
{
FIXME("(%04x, %08lx, %08lx): stub.\n", hPhone, dwButtonLampID, lpdwLampMode);
return 1;
}
/***********************************************************************
* phoneSetRing (TAPI32.@)
*/
DWORD WINAPI phoneSetRing(HPHONE hPhone, DWORD dwRingMode, DWORD dwVolume)
{
FIXME("(%04x, %08lx, %08ld): stub.\n", hPhone, dwRingMode, dwVolume);
return 1;
}
/***********************************************************************
* phoneSetStatusMessages (TAPI32.@)
*/
DWORD WINAPI phoneSetStatusMessages(HPHONE hPhone, DWORD dwPhoneStates, DWORD dwButtonModes, DWORD dwButtonStates)
{
FIXME("(%04x, %08lx, %08lx, %08lx): stub.\n", hPhone, dwPhoneStates, dwButtonModes, dwButtonStates);
return 0; /* FIXME ? */
}
/***********************************************************************
* phoneSetVolume (TAPI32.@)
*/
DWORD WINAPI phoneSetVolume(HPHONE hPhone, DWORD dwHookSwitchDev, DWORD dwVolume)
{
FIXME("(%04x, %08lx, %08ld): stub.\n", hPhone, dwHookSwitchDev, dwVolume);
return 1;
}
/***********************************************************************
* phoneShutdown (TAPI32.@)
*/
DWORD WINAPI phoneShutdown(HPHONEAPP hPhoneApp)
{
FIXME("(%04x): stub.\n", hPhoneApp);
......
......@@ -158,7 +158,7 @@ static int testFileExclusiveExistence(
/*****************************************************************************
*
* VerFindFile() [VER.8]
* VerFindFileA() [VER.8]
* Determines where to install a file based on whether it locates another
* version of the file in the system. The values VerFindFile returns are
* used in a subsequent call to the VerInstallFile function.
......@@ -319,7 +319,9 @@ DWORD WINAPI VerFindFileA(
return retval;
}
/* VerFindFile32W [VERSION.6] */
/*****************************************************************************
* VerFindFileW [VERSION.6]
*/
DWORD WINAPI VerFindFileW(
UINT flags,LPCWSTR filename,LPCWSTR windir,LPCWSTR appdir,
LPWSTR curdir,UINT *pcurdirlen,LPWSTR destdir,UINT *pdestdirlen )
......@@ -389,7 +391,7 @@ _error2vif(DWORD error) {
/******************************************************************************
* VerInstallFile32A [VERSION.7]
* VerInstallFileA [VERSION.7]
*/
DWORD WINAPI VerInstallFileA(
UINT flags,LPCSTR srcfilename,LPCSTR destfilename,LPCSTR srcdir,
......@@ -555,7 +557,9 @@ DWORD WINAPI VerInstallFileA(
}
/* VerInstallFile32W [VERSION.8] */
/******************************************************************************
* VerInstallFileW [VERSION.8]
*/
DWORD WINAPI VerInstallFileW(
UINT flags,LPCWSTR srcfilename,LPCWSTR destfilename,LPCWSTR srcdir,
LPCWSTR destdir,LPCWSTR curdir,LPWSTR tmpfile,UINT *tmpfilelen )
......
......@@ -10,6 +10,9 @@
#include "wine/w32skrnl.h"
#include "winbase.h"
/***********************************************************************
* GetWin32sDirectory
*/
LPSTR WINAPI GetWin32sDirectory(void)
{
static char sysdir[0x80];
......@@ -23,7 +26,10 @@ LPSTR WINAPI GetWin32sDirectory(void)
return text;
}
/* FIXME */
/***********************************************************************
* _GetThunkBuff
* FIXME: ???
*/
SEGPTR WINAPI _GetThunkBuff(void)
{
return (SEGPTR)NULL;
......
......@@ -96,7 +96,7 @@ static void CALLBACK JOY_Timer(HWND hWnd, UINT wMsg, UINT wTimer, DWORD dwTime)
}
/**************************************************************************
* JoyGetNumDevs [WINMM.30]
* joyGetNumDevs [WINMM.30]
*/
UINT WINAPI joyGetNumDevs(void)
{
......@@ -112,7 +112,7 @@ UINT WINAPI joyGetNumDevs(void)
}
/**************************************************************************
* JoyGetNumDevs [MMSYSTEM.101]
* joyGetNumDevs [MMSYSTEM.101]
*/
UINT16 WINAPI joyGetNumDevs16(void)
{
......@@ -120,7 +120,7 @@ UINT16 WINAPI joyGetNumDevs16(void)
}
/**************************************************************************
* JoyGetDevCaps [WINMM.27]
* joyGetDevCapsA [WINMM.27]
*/
MMRESULT WINAPI joyGetDevCapsA(UINT wID, LPJOYCAPSA lpCaps, UINT wSize)
{
......@@ -134,7 +134,7 @@ MMRESULT WINAPI joyGetDevCapsA(UINT wID, LPJOYCAPSA lpCaps, UINT wSize)
}
/**************************************************************************
* JoyGetDevCaps [WINMM.28]
* joyGetDevCapsW [WINMM.28]
*/
MMRESULT WINAPI joyGetDevCapsW(UINT wID, LPJOYCAPSW lpCaps, UINT wSize)
{
......@@ -174,7 +174,7 @@ MMRESULT WINAPI joyGetDevCapsW(UINT wID, LPJOYCAPSW lpCaps, UINT wSize)
}
/**************************************************************************
* JoyGetDevCaps [MMSYSTEM.102]
* joyGetDevCaps [MMSYSTEM.102]
*/
MMRESULT16 WINAPI joyGetDevCaps16(UINT16 wID, LPJOYCAPS16 lpCaps, UINT16 wSize)
{
......@@ -214,7 +214,7 @@ MMRESULT16 WINAPI joyGetDevCaps16(UINT16 wID, LPJOYCAPS16 lpCaps, UINT16 wSize)
}
/**************************************************************************
* JoyGetPosEx [WINMM.32]
* joyGetPosEx [WINMM.32]
*/
MMRESULT WINAPI joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo)
{
......@@ -239,7 +239,7 @@ MMRESULT WINAPI joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo)
}
/**************************************************************************
* JoyGetPosEx16 [MMSYSTEM.]
* joyGetPosEx16 [MMSYSTEM.]
*/
MMRESULT16 WINAPI joyGetPosEx16(UINT16 wID, LPJOYINFOEX lpInfo)
{
......@@ -247,7 +247,7 @@ MMRESULT16 WINAPI joyGetPosEx16(UINT16 wID, LPJOYINFOEX lpInfo)
}
/**************************************************************************
* JoyGetPos [WINMM.31]
* joyGetPos [WINMM.31]
*/
MMRESULT WINAPI joyGetPos(UINT wID, LPJOYINFO lpInfo)
{
......@@ -265,7 +265,7 @@ MMRESULT WINAPI joyGetPos(UINT wID, LPJOYINFO lpInfo)
}
/**************************************************************************
* JoyGetPos16 [MMSYSTEM.103]
* joyGetPos16 [MMSYSTEM.103]
*/
MMRESULT16 WINAPI joyGetPos16(UINT16 wID, LPJOYINFO16 lpInfo)
{
......@@ -284,7 +284,7 @@ MMRESULT16 WINAPI joyGetPos16(UINT16 wID, LPJOYINFO16 lpInfo)
}
/**************************************************************************
* JoyGetThreshold [WINMM.36]
* joyGetThreshold [WINMM.36]
*/
MMRESULT WINAPI joyGetThreshold(UINT wID, LPUINT lpThreshold)
{
......@@ -297,7 +297,7 @@ MMRESULT WINAPI joyGetThreshold(UINT wID, LPUINT lpThreshold)
}
/**************************************************************************
* JoyGetThreshold [MMSYSTEM.104]
* joyGetThreshold [MMSYSTEM.104]
*/
MMRESULT16 WINAPI joyGetThreshold16(UINT16 wID, LPUINT16 lpThreshold)
{
......@@ -310,7 +310,7 @@ MMRESULT16 WINAPI joyGetThreshold16(UINT16 wID, LPUINT16 lpThreshold)
}
/**************************************************************************
* JoyReleaseCapture [WINMM.34]
* joyReleaseCapture [WINMM.34]
*/
MMRESULT WINAPI joyReleaseCapture(UINT wID)
{
......@@ -328,7 +328,7 @@ MMRESULT WINAPI joyReleaseCapture(UINT wID)
}
/**************************************************************************
* JoyReleaseCapture [MMSYSTEM.105]
* joyReleaseCapture [MMSYSTEM.105]
*/
MMRESULT16 WINAPI joyReleaseCapture16(UINT16 wID)
{
......@@ -336,7 +336,7 @@ MMRESULT16 WINAPI joyReleaseCapture16(UINT16 wID)
}
/**************************************************************************
* JoySetCapture [WINMM.35]
* joySetCapture [WINMM.35]
*/
MMRESULT WINAPI joySetCapture(HWND hWnd, UINT wID, UINT wPeriod, BOOL bChanged)
{
......@@ -362,7 +362,7 @@ MMRESULT WINAPI joySetCapture(HWND hWnd, UINT wID, UINT wPeriod, BOOL bChanged)
}
/**************************************************************************
* JoySetCapture [MMSYSTEM.106]
* joySetCapture [MMSYSTEM.106]
*/
MMRESULT16 WINAPI joySetCapture16(HWND16 hWnd, UINT16 wID, UINT16 wPeriod, BOOL16 bChanged)
{
......@@ -370,7 +370,7 @@ MMRESULT16 WINAPI joySetCapture16(HWND16 hWnd, UINT16 wID, UINT16 wPeriod, BOOL1
}
/**************************************************************************
* JoySetThreshold [WINMM.36]
* joySetThreshold [WINMM.36]
*/
MMRESULT WINAPI joySetThreshold(UINT wID, UINT wThreshold)
{
......@@ -384,7 +384,7 @@ MMRESULT WINAPI joySetThreshold(UINT wID, UINT wThreshold)
}
/**************************************************************************
* JoySetThreshold [MMSYSTEM.107]
* joySetThreshold [MMSYSTEM.107]
*/
MMRESULT16 WINAPI joySetThreshold16(UINT16 wID, UINT16 wThreshold)
{
......@@ -392,7 +392,7 @@ MMRESULT16 WINAPI joySetThreshold16(UINT16 wID, UINT16 wThreshold)
}
/**************************************************************************
* JoySetCalibration [MMSYSTEM.109]
* joySetCalibration [MMSYSTEM.109]
*/
MMRESULT16 WINAPI joySetCalibration16(UINT16 wID)
{
......
......@@ -1384,7 +1384,7 @@ UINT16 WINAPI auxGetNumDevs16(void)
}
/**************************************************************************
* auxGetDevCaps [WINMM.20]
* auxGetDevCapsW [WINMM.20]
*/
UINT WINAPI auxGetDevCapsW(UINT uDeviceID, LPAUXCAPSW lpCaps, UINT uSize)
{
......@@ -1401,7 +1401,7 @@ UINT WINAPI auxGetDevCapsW(UINT uDeviceID, LPAUXCAPSW lpCaps, UINT uSize)
}
/**************************************************************************
* auxGetDevCaps [WINMM.21]
* auxGetDevCapsA [WINMM.21]
*/
UINT WINAPI auxGetDevCapsA(UINT uDeviceID, LPAUXCAPSA lpCaps, UINT uSize)
{
......@@ -2522,7 +2522,7 @@ UINT16 WINAPI midiInGetNumDevs16(void)
}
/**************************************************************************
* midiInGetDevCaps [WINMM.60]
* midiInGetDevCapsW [WINMM.60]
*/
UINT WINAPI midiInGetDevCapsW(UINT uDeviceID, LPMIDIINCAPSW lpCaps, UINT uSize)
{
......@@ -2540,7 +2540,7 @@ UINT WINAPI midiInGetDevCapsW(UINT uDeviceID, LPMIDIINCAPSW lpCaps, UINT uSize)
}
/**************************************************************************
* midiInGetDevCaps [WINMM.59]
* midiInGetDevCapsA [WINMM.59]
*/
UINT WINAPI midiInGetDevCapsA(UINT uDeviceID, LPMIDIINCAPSA lpCaps, UINT uSize)
{
......@@ -2575,7 +2575,7 @@ UINT16 WINAPI midiInGetDevCaps16(UINT16 uDeviceID, LPMIDIINCAPS16 lpCaps,
}
/**************************************************************************
* midiInGetErrorText [WINMM.62]
* midiInGetErrorTextW [WINMM.62]
*/
UINT WINAPI midiInGetErrorTextW(UINT uError, LPWSTR lpText, UINT uSize)
{
......@@ -2588,7 +2588,7 @@ UINT WINAPI midiInGetErrorTextW(UINT uError, LPWSTR lpText, UINT uSize)
}
/**************************************************************************
* midiInGetErrorText [WINMM.61]
* midiInGetErrorTextA [WINMM.61]
*/
UINT WINAPI midiInGetErrorTextA(UINT uError, LPSTR lpText, UINT uSize)
{
......@@ -4186,7 +4186,7 @@ UINT16 WINAPI waveInGetNumDevs16(void)
}
/**************************************************************************
* waveInGetDevCapsA [WINMM.147]
* waveInGetDevCapsW [WINMM.147]
*/
UINT WINAPI waveInGetDevCapsW(UINT uDeviceID, LPWAVEINCAPSW lpCaps, UINT uSize)
{
......
......@@ -1441,7 +1441,7 @@ DWORD WINAPI OSS_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
#else /* !HAVE_OSS */
/**************************************************************************
* wodMessage [sample driver]
* OSS_wodMessage [sample driver]
*/
DWORD WINAPI OSS_wodMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
DWORD dwParam1, DWORD dwParam2)
......@@ -1451,7 +1451,7 @@ DWORD WINAPI OSS_wodMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
}
/**************************************************************************
* widMessage [sample driver]
* OSS_widMessage [sample driver]
*/
DWORD WINAPI OSS_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
DWORD dwParam1, DWORD dwParam2)
......
......@@ -2,36 +2,36 @@ name wsock32
type win32
init WSOCK32_LibMain
001 stdcall accept(long ptr ptr) WINSOCK_accept
002 stdcall bind(long ptr long) WINSOCK_bind
003 stdcall closesocket(long) WINSOCK_closesocket
004 stdcall connect(long ptr long) WINSOCK_connect
005 stdcall getpeername(long ptr ptr) WINSOCK_getpeername
006 stdcall getsockname(long ptr ptr) WINSOCK_getsockname
007 stdcall getsockopt(long long long ptr ptr) WINSOCK_getsockopt
001 stdcall accept(long ptr ptr) WSOCK32_accept
002 stdcall bind(long ptr long) WSOCK32_bind
003 stdcall closesocket(long) WSOCK32_closesocket
004 stdcall connect(long ptr long) WSOCK32_connect
005 stdcall getpeername(long ptr ptr) WSOCK32_getpeername
006 stdcall getsockname(long ptr ptr) WSOCK32_getsockname
007 stdcall getsockopt(long long long ptr ptr) WSOCK32_getsockopt
008 stdcall htonl(long) WINSOCK_htonl
009 stdcall htons(long) WINSOCK_htons
010 stdcall inet_addr(str) WINSOCK_inet_addr
011 stdcall inet_ntoa(ptr) WINSOCK_inet_ntoa
012 stdcall ioctlsocket(long long ptr) WINSOCK_ioctlsocket
013 stdcall listen(long long) WINSOCK_listen
011 stdcall inet_ntoa(ptr) WSOCK32_inet_ntoa
012 stdcall ioctlsocket(long long ptr) WSOCK32_ioctlsocket
013 stdcall listen(long long) WSOCK32_listen
014 stdcall ntohl(long) WINSOCK_ntohl
015 stdcall ntohs(long) WINSOCK_ntohs
016 stdcall recv(long ptr long long) WINSOCK_recv
017 stdcall recvfrom(long ptr long long ptr ptr) WINSOCK_recvfrom
018 stdcall select(long ptr ptr ptr ptr) WINSOCK_select
019 stdcall send(long ptr long long) WINSOCK_send
020 stdcall sendto(long ptr long long ptr long) WINSOCK_sendto
021 stdcall setsockopt(long long long ptr long) WINSOCK_setsockopt
022 stdcall shutdown(long long) WINSOCK_shutdown
023 stdcall socket(long long long) WINSOCK_socket
051 stdcall gethostbyaddr(ptr long long) WINSOCK_gethostbyaddr
052 stdcall gethostbyname(str) WINSOCK_gethostbyname
053 stdcall getprotobyname(str) WINSOCK_getprotobyname
054 stdcall getprotobynumber(long) WINSOCK_getprotobynumber
055 stdcall getservbyname(str str) WINSOCK_getservbyname
056 stdcall getservbyport(long str) WINSOCK_getservbyport
057 stdcall gethostname(ptr long) WINSOCK_gethostname
016 stdcall recv(long ptr long long) WSOCK32_recv
017 stdcall recvfrom(long ptr long long ptr ptr) WSOCK32_recvfrom
018 stdcall select(long ptr ptr ptr ptr) WSOCK32_select
019 stdcall send(long ptr long long) WSOCK32_send
020 stdcall sendto(long ptr long long ptr long) WSOCK32_sendto
021 stdcall setsockopt(long long long ptr long) WSOCK32_setsockopt
022 stdcall shutdown(long long) WSOCK32_shutdown
023 stdcall socket(long long long) WSOCK32_socket
051 stdcall gethostbyaddr(ptr long long) WSOCK32_gethostbyaddr
052 stdcall gethostbyname(str) WSOCK32_gethostbyname
053 stdcall getprotobyname(str) WSOCK32_getprotobyname
054 stdcall getprotobynumber(long) WSOCK32_getprotobynumber
055 stdcall getservbyname(str str) WSOCK32_getservbyname
056 stdcall getservbyport(long str) WSOCK32_getservbyport
057 stdcall gethostname(ptr long) WSOCK32_gethostname
101 stdcall WSAAsyncSelect(long long long long) WSAAsyncSelect
102 stdcall WSAAsyncGetHostByAddr(long long ptr long long ptr long) WSAAsyncGetHostByAddr
103 stdcall WSAAsyncGetHostByName(long long str ptr long) WSAAsyncGetHostByName
......
......@@ -1064,7 +1064,7 @@ DWORD WINAPI DdeQueryStringW(DWORD idInst, HSZ hsz, LPWSTR psz, DWORD cchMax, IN
* 1.0 March 1999 K Matthews stub only
*/
DWORD WINAPI DdeQueryString16(DWORD idInst, HSZ hsz, LPSTR lpsz, DWORD cchMax, int codepage)
DWORD WINAPI DdeQueryString16(DWORD idInst, HSZ hsz, LPSTR lpsz, DWORD cchMax, INT16 codepage)
{
FIXME("(%ld, 0x%lx, %p, %ld, %d): stub \n",
idInst,
......@@ -2051,7 +2051,7 @@ UINT WINAPI DdeGetLastError( DWORD idInst )
/*****************************************************************
* DdeCmpStringHandles16 (DDEML.36)
*/
int WINAPI DdeCmpStringHandles16( HSZ hsz1, HSZ hsz2 )
INT16 WINAPI DdeCmpStringHandles16( HSZ hsz1, HSZ hsz2 )
{
return DdeCmpStringHandles(hsz1, hsz2);
}
......@@ -2067,7 +2067,7 @@ int WINAPI DdeCmpStringHandles16( HSZ hsz1, HSZ hsz2 )
* 0 The values of hsz 1 and 2 are the same or both zero.
* 1 The value of hsz2 is zero of less than hsz1
*/
int WINAPI DdeCmpStringHandles( HSZ hsz1, HSZ hsz2 )
INT WINAPI DdeCmpStringHandles( HSZ hsz1, HSZ hsz2 )
{
CHAR psz1[MAX_BUFFER_LEN];
CHAR psz2[MAX_BUFFER_LEN];
......
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