Fixed some issues found by winapi_check.
This commit is contained in:
parent
6db8abaf93
commit
f89d4a8673
|
@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(avicap32);
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
*
|
*
|
||||||
* capCreateCaptureWindowA (AVICAP.@)
|
* capCreateCaptureWindowA (AVICAP32.@)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
HWND WINAPI capCreateCaptureWindowA( LPCSTR pszTitle, DWORD dwStyle, int x, int y, int width, int height, HWND hwndParent, int nID )
|
HWND WINAPI capCreateCaptureWindowA( LPCSTR pszTitle, DWORD dwStyle, int x, int y, int width, int height, HWND hwndParent, int nID )
|
||||||
|
@ -42,7 +42,7 @@ HWND WINAPI capCreateCaptureWindowA( LPCSTR pszTitle, DWORD dwStyle, int x, int
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
*
|
*
|
||||||
* capCreateCaptureWindowW (AVICAP.@)
|
* capCreateCaptureWindowW (AVICAP32.@)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
HWND WINAPI capCreateCaptureWindowW( LPCWSTR pwszTitle, DWORD dwStyle, int x, int y, int width, int height, HWND hwndParent, int nID )
|
HWND WINAPI capCreateCaptureWindowW( LPCWSTR pwszTitle, DWORD dwStyle, int x, int y, int width, int height, HWND hwndParent, int nID )
|
||||||
|
@ -54,7 +54,7 @@ HWND WINAPI capCreateCaptureWindowW( LPCWSTR pwszTitle, DWORD dwStyle, int x, in
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
*
|
*
|
||||||
* capGetDriverDescriptionA (AVICAP.@)
|
* capGetDriverDescriptionA (AVICAP32.@)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI capGetDriverDescriptionA( UINT uDriverIndex, LPSTR pszName, int cbName, LPSTR pszVersion, int cbVersion )
|
BOOL WINAPI capGetDriverDescriptionA( UINT uDriverIndex, LPSTR pszName, int cbName, LPSTR pszVersion, int cbVersion )
|
||||||
|
@ -66,7 +66,7 @@ BOOL WINAPI capGetDriverDescriptionA( UINT uDriverIndex, LPSTR pszName, int cbNa
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
*
|
*
|
||||||
* capGetDriverDescriptionW (AVICAP.@)
|
* capGetDriverDescriptionW (AVICAP32.@)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI capGetDriverDescriptionW( UINT uDriverIndex, LPWSTR pwszName, int cbName, LPWSTR pwszVersion, int cbVersion )
|
BOOL WINAPI capGetDriverDescriptionW( UINT uDriverIndex, LPWSTR pwszName, int cbName, LPWSTR pwszVersion, int cbVersion )
|
||||||
|
|
|
@ -708,8 +708,8 @@ debug_channels (shell)
|
||||||
@ stdcall PathIsNetworkPathW(wstr) PathIsNetworkPathW
|
@ stdcall PathIsNetworkPathW(wstr) PathIsNetworkPathW
|
||||||
@ stdcall PathIsLFNFileSpecA(str) PathIsLFNFileSpecA
|
@ stdcall PathIsLFNFileSpecA(str) PathIsLFNFileSpecA
|
||||||
@ stdcall PathIsLFNFileSpecW(wstr) PathIsLFNFileSpecW
|
@ stdcall PathIsLFNFileSpecW(wstr) PathIsLFNFileSpecW
|
||||||
@ stdcall PathFindSuffixArrayA(str) PathFindSuffixArrayA
|
@ stdcall PathFindSuffixArrayA(str ptr long) PathFindSuffixArrayA
|
||||||
@ stdcall PathFindSuffixArrayW(wstr) PathFindSuffixArrayW
|
@ stdcall PathFindSuffixArrayW(wstr ptr long) PathFindSuffixArrayW
|
||||||
@ stdcall _SHGetInstanceExplorer@4(ptr) _SHGetInstanceExplorer
|
@ stdcall _SHGetInstanceExplorer@4(ptr) _SHGetInstanceExplorer
|
||||||
@ stdcall PathUndecorateA(str) PathUndecorateA
|
@ stdcall PathUndecorateA(str) PathUndecorateA
|
||||||
@ stdcall PathUndecorateW(wstr) PathUndecorateW
|
@ stdcall PathUndecorateW(wstr) PathUndecorateW
|
||||||
|
|
|
@ -965,7 +965,7 @@ BOOL WINAPI InternetQueryOptionA(HINTERNET hInternet, DWORD dwOption,
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* InternetQueryOptionW (WININET.@)
|
* InternetSetOptionW (WININET.@)
|
||||||
*
|
*
|
||||||
* Sets an options on the specified handle
|
* Sets an options on the specified handle
|
||||||
*
|
*
|
||||||
|
@ -974,7 +974,7 @@ BOOL WINAPI InternetQueryOptionA(HINTERNET hInternet, DWORD dwOption,
|
||||||
* FALSE on failure
|
* FALSE on failure
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOLAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
|
BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
|
||||||
LPVOID lpBuffer, DWORD dwBufferLength)
|
LPVOID lpBuffer, DWORD dwBufferLength)
|
||||||
{
|
{
|
||||||
LPWININETHANDLEHEADER lpwhh;
|
LPWININETHANDLEHEADER lpwhh;
|
||||||
|
@ -1003,7 +1003,7 @@ BOOLAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* InternetQueryOptionA (WININET.@)
|
* InternetSetOptionA (WININET.@)
|
||||||
*
|
*
|
||||||
* Sets an options on the specified handle.
|
* Sets an options on the specified handle.
|
||||||
*
|
*
|
||||||
|
@ -1012,7 +1012,7 @@ BOOLAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
|
||||||
* FALSE on failure
|
* FALSE on failure
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOLAPI InternetSetOptionA(HINTERNET hInternet, DWORD dwOption,
|
BOOL WINAPI InternetSetOptionA(HINTERNET hInternet, DWORD dwOption,
|
||||||
LPVOID lpBuffer, DWORD dwBufferLength)
|
LPVOID lpBuffer, DWORD dwBufferLength)
|
||||||
{
|
{
|
||||||
/* FIXME!!! implement if lpBuffer is a string, dwBufferLength is
|
/* FIXME!!! implement if lpBuffer is a string, dwBufferLength is
|
||||||
|
|
|
@ -51,7 +51,9 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <utime.h>
|
#include <utime.h>
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
# include <sys/socket.h>
|
# include <sys/socket.h>
|
||||||
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_NETINET_IN_SYSTM_H
|
#ifdef HAVE_NETINET_IN_SYSTM_H
|
||||||
#include <netinet/in_systm.h>
|
#include <netinet/in_systm.h>
|
||||||
|
@ -1030,7 +1032,7 @@ static BOOL SMB_SetOffset(HANDLE hFile, DWORD offset)
|
||||||
return !r;
|
return !r;
|
||||||
}
|
}
|
||||||
|
|
||||||
WINAPI BOOL SMB_ReadFile(HANDLE hFile, LPVOID buffer, DWORD bytesToRead, LPDWORD bytesRead, LPOVERLAPPED lpOverlapped)
|
BOOL WINAPI SMB_ReadFile(HANDLE hFile, LPVOID buffer, DWORD bytesToRead, LPDWORD bytesRead, LPOVERLAPPED lpOverlapped)
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
DWORD total, count, offset;
|
DWORD total, count, offset;
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
#define SMB_COM_CLOSE_PRINT_FILE 0xC2
|
#define SMB_COM_CLOSE_PRINT_FILE 0xC2
|
||||||
#define SMB_COM_GET_PRINT_QUEUE 0xC3
|
#define SMB_COM_GET_PRINT_QUEUE 0xC3
|
||||||
|
|
||||||
extern WINAPI BOOL SMB_ReadFile(HANDLE hFile, LPVOID buffer, DWORD bytesToRead, LPDWORD bytesRead, LPOVERLAPPED lpOverlapped);
|
extern BOOL WINAPI SMB_ReadFile(HANDLE hFile, LPVOID buffer, DWORD bytesToRead, LPDWORD bytesRead, LPOVERLAPPED lpOverlapped);
|
||||||
extern HANDLE WINAPI SMB_CreateFileA( LPCSTR filename, DWORD access, DWORD sharing,
|
extern HANDLE WINAPI SMB_CreateFileA( LPCSTR filename, DWORD access, DWORD sharing,
|
||||||
LPSECURITY_ATTRIBUTES sa, DWORD creation,
|
LPSECURITY_ATTRIBUTES sa, DWORD creation,
|
||||||
DWORD attributes, HANDLE template );
|
DWORD attributes, HANDLE template );
|
||||||
|
|
Loading…
Reference in New Issue