Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ba78aac4
Commit
ba78aac4
authored
Aug 08, 2003
by
Patrik Stridvall
Committed by
Alexandre Julliard
Aug 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some issues found by winapi_check.
parent
c5f834ce
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
302 additions
and
66 deletions
+302
-66
api.c
dlls/avifil32/api.c
+1
-0
regsvr.c
dlls/comcat/regsvr.c
+3
-2
ctl3d.c
dlls/ctl3d/ctl3d.c
+126
-0
ctl3d.spec
dlls/ctl3d/ctl3d.spec
+6
-6
ctl3d32.c
dlls/ctl3d/ctl3d32.c
+18
-0
ctl3dv2.spec
dlls/ctl3d/ctl3dv2.spec
+6
-6
d3d8_main.c
dlls/d3d8/d3d8_main.c
+1
-1
d3d9_main.c
dlls/d3d9/d3d9_main.c
+1
-1
ifenum.c
dlls/iphlpapi/ifenum.c
+13
-13
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+6
-3
locale.c
dlls/kernel/locale.c
+6
-6
memlockbytes16.c
dlls/ole32/memlockbytes16.c
+10
-9
ole2.spec
dlls/ole32/ole2.spec
+2
-2
regsvr.c
dlls/ole32/regsvr.c
+4
-2
olepicture.c
dlls/oleaut32/olepicture.c
+1
-1
wgl.c
dlls/opengl32/wgl.c
+6
-0
shlfileop.c
dlls/shell32/shlfileop.c
+10
-0
interrupts.c
dlls/winedos/interrupts.c
+2
-0
driver.c
dlls/wineps/driver.c
+13
-10
cookie.c
dlls/wininet/cookie.c
+3
-1
internet.c
dlls/wininet/internet.c
+18
-0
urlcache.c
dlls/wininet/urlcache.c
+41
-0
window.c
dlls/x11drv/window.c
+3
-1
x11drv.spec
dlls/x11drv/x11drv.spec
+2
-2
No files found.
dlls/avifil32/api.c
View file @
ba78aac4
...
...
@@ -503,6 +503,7 @@ HRESULT WINAPI AVIStreamCreate(PAVISTREAM *ppavi, LONG lParam1, LONG lParam2,
}
/***********************************************************************
* AVIStreamInfo (AVIFIL32.@)
* AVIStreamInfoA (AVIFIL32.@)
* AVIStreamInfo (AVIFILE.162)
*/
...
...
dlls/comcat/regsvr.c
View file @
ba78aac4
...
...
@@ -19,6 +19,9 @@
*/
#define COM_NO_WINDOWS_H
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
...
...
@@ -28,8 +31,6 @@
#include "ole2.h"
#include "comcat.h"
#include "string.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
...
...
dlls/ctl3d/ctl3d.c
View file @
ba78aac4
...
...
@@ -23,95 +23,221 @@
static
BOOL16
CTL3D16_is_auto_subclass
=
FALSE
;
/***********************************************************************
* Ctl3dAutoSubclass (CTL3D.16)
* Ctl3dAutoSubclass (CTL3DV2.16)
*/
BOOL16
WINAPI
Ctl3dAutoSubclass16
(
HINSTANCE16
hInst
)
{
CTL3D16_is_auto_subclass
=
TRUE
;
return
TRUE
;
}
/***********************************************************************
* Ctl3dAutoSubclassEx (CTL3D.27)
* Ctl3dAutoSubclassEx (CTL3DV2.27)
*/
BOOL16
WINAPI
Ctl3dAutoSubclassEx16
(
HINSTANCE16
hInst
,
DWORD
type
)
{
CTL3D16_is_auto_subclass
=
TRUE
;
return
TRUE
;
}
/***********************************************************************
* Ctl3dColorChange (CTL3D.6)
* Ctl3dColorChange (CTL3DV2.6)
*/
BOOL16
WINAPI
Ctl3dColorChange16
(
void
)
{
return
TRUE
;
}
/***********************************************************************
* Ctl3dCtlColor (CTL3D.4)
* Ctl3dCtlColor (CTL3DV2.4)
*/
HBRUSH
WINAPI
Ctl3dCtlColor16
(
HDC16
hdc
,
LONG
hwnd
)
{
return
0
;
}
/***********************************************************************
* Ctl3dCtlColorEx (CTL3D.18)
* Ctl3dCtlColorEx (CTL3DV2.18)
*/
HBRUSH
WINAPI
Ctl3dCtlColorEx16
(
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
)
{
return
0
;
}
/***********************************************************************
* Ctl3dDlgFramePaint (CTL3D.20)
* Ctl3dDlgFramePaint (CTL3DV2.20)
*/
LONG
WINAPI
Ctl3dDlgFramePaint16
(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
)
{
return
DefWindowProc16
(
hwnd
,
msg
,
wParam
,
lParam
);
}
/***********************************************************************
* Ctl3dEnabled (CTL3D.5)
* Ctl3dEnabled (CTL3DV2.5)
*/
BOOL16
WINAPI
Ctl3dEnabled16
(
void
)
{
return
FALSE
;
}
/***********************************************************************
* Ctl3dGetVer (CTL3D.1)
* Ctl3dGetVer (CTL3DV2.1)
*/
WORD
WINAPI
Ctl3dGetVer16
(
void
)
{
return
MAKEWORD
(
31
,
2
);
}
/***********************************************************************
* Ctl3dIsAutoSubclass (CTL3D.23)
* Ctl3dIsAutoSubclass (CTL3DV2.23)
*/
BOOL16
WINAPI
Ctl3dIsAutoSubclass16
(
void
)
{
return
CTL3D16_is_auto_subclass
;
}
/***********************************************************************
* Ctl3dRegister (CTL3D.12)
* Ctl3dRegister (CTL3DV2.12)
*/
BOOL16
WINAPI
Ctl3dRegister16
(
HINSTANCE16
hInst
)
{
return
FALSE
;
}
/***********************************************************************
* Ctl3dSubclassCtl (CTL3D.3)
* Ctl3dSubclassCtl (CTL3DV2.3)
*/
BOOL16
WINAPI
Ctl3dSubclassCtl16
(
HWND16
hwnd
)
{
return
FALSE
;
}
/***********************************************************************
* Ctl3dSubclassCtlEx (CTL3D.25)
* Ctl3dSubclassCtlEx (CTL3DV2.25)
*/
BOOL16
WINAPI
Ctl3dSubclassCtlEx16
(
HWND16
hwnd
,
INT16
type
)
{
return
FALSE
;
}
/***********************************************************************
* Ctl3dSubclassDlg (CTL3D.2)
* Ctl3dSubclassDlg (CTL3DV2.2)
*/
BOOL16
WINAPI
Ctl3dSubclassDlg16
(
HWND16
hwnd
,
WORD
types
)
{
return
FALSE
;
}
/***********************************************************************
* Ctl3dSubclassDlgEx (CTL3D.21)
* Ctl3dSubclassDlgEx (CTL3DV2.21)
*/
BOOL16
WINAPI
Ctl3dSubclassDlgEx16
(
HWND16
hwnd
,
DWORD
types
)
{
return
FALSE
;
}
/***********************************************************************
* Ctl3dUnAutoSubclass (CTL3D.24)
* Ctl3dUnAutoSubclass (CTL3DV2.24)
*/
BOOL16
WINAPI
Ctl3dUnAutoSubclass16
(
void
)
{
CTL3D16_is_auto_subclass
=
FALSE
;
return
FALSE
;
}
/***********************************************************************
* Ctl3dUnregister (CTL3D.13)
* Ctl3dUnregister (CTL3DV2.13)
*/
BOOL16
WINAPI
Ctl3dUnregister16
(
HINSTANCE16
hInst
)
{
CTL3D16_is_auto_subclass
=
FALSE
;
return
TRUE
;
}
/***********************************************************************
* Ctl3dUnsubclassCtl (CTL3D.26)
* Ctl3dUnsubclassCtl (CTL3DV2.26)
*/
BOOL16
WINAPI
Ctl3dUnsubclassCtl16
(
HWND16
hwnd
)
{
return
FALSE
;
}
/***********************************************************************
* Ctl3dWinIniChange (CTL3D.22)
* Ctl3dWinIniChange (CTL3DV2.22)
*/
void
WINAPI
Ctl3dWinIniChange16
(
void
)
{
}
/***********************************************************************
* ComboWndProc3d (CTL3D.10)
* ComboWndProc3d (CTL3DV2.10)
*/
LRESULT
WINAPI
ComboWndProc3d16
(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* BtnWndProc3d (CTL3D.7)
* BtnWndProc3d (CTL3DV2.7)
*/
LRESULT
WINAPI
BtnWndProc3d16
(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* StaticWndProc3d (CTL3D.11)
* StaticWndProc3d (CTL3DV2.11)
*/
LRESULT
WINAPI
StaticWndProc3d16
(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* EditWndProc3d (CTL3D.8)
* EditWndProc3d (CTL3DV2.8)
*/
LRESULT
WINAPI
EditWndProc3d16
(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* ListWndProc3d (CTL3D.9)
* ListWndProc3d (CTL3DV2.9)
*/
LRESULT
WINAPI
ListWndProc3d16
(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* Ctl3dDlgProc (CTL3D.17)
* Ctl3dDlgProc (CTL3DV2.17)
*/
LRESULT
WINAPI
Ctl3dDlgProc16
(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wparam
,
LPARAM
lparam
)
{
return
0
;
}
dlls/ctl3d/ctl3d.spec
View file @
ba78aac4
...
...
@@ -4,15 +4,15 @@
4 pascal16 Ctl3dCtlColor(word long) Ctl3dCtlColor16
5 pascal16 Ctl3dEnabled() Ctl3dEnabled16
6 pascal16 Ctl3dColorChange() Ctl3dColorChange16
7
stub BtnWndProc3d
8
stub EditWndProc3d
9
stub ListWndProc3d
10
stub ComboWndProc3d
11
stub StaticWndProc3d
7
pascal BtnWndProc3d(word word word long) BtnWndProc3d16
8
pascal EditWndProc3d(word word word long) EditWndProc3d16
9
pascal ListWndProc3d(word word word long) ListWndProc3d16
10
pascal ComboWndProc3d(word word word long) ComboWndProc3d16
11
pascal StaticWndProc3d(word word word long) StaticWndProc3d16
12 pascal16 Ctl3dRegister(word) Ctl3dRegister16
13 pascal16 Ctl3dUnregister(word) Ctl3dUnregister16
16 pascal16 Ctl3dAutoSubclass(word) Ctl3dAutoSubclass16
17
stub Ctl3dDlgProc
17
pascal Ctl3dDlgProc(word word word long) Ctl3dDlgProc16
18 pascal16 Ctl3dCtlColorEx(word word long) Ctl3dCtlColorEx16
19 stub Ctl3dSetStyle
20 pascal Ctl3dDlgFramePaint(word word word long) Ctl3dDlgFramePaint16
...
...
dlls/ctl3d/ctl3d32.c
View file @
ba78aac4
...
...
@@ -116,31 +116,49 @@ void WINAPI Ctl3dWinIniChange(void)
{
}
/***********************************************************************
* ComboWndProc3d (CTL3D32.10)
*/
LRESULT
WINAPI
ComboWndProc3d
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* BtnWndProc3d (CTL3D32.7)
*/
LRESULT
WINAPI
BtnWndProc3d
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* StaticWndProc3d (CTL3D32.11)
*/
LRESULT
WINAPI
StaticWndProc3d
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* EditWndProc3d (CTL3D32.8)
*/
LRESULT
WINAPI
EditWndProc3d
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* ListWndProc3d (CTL3D32.9)
*/
LRESULT
WINAPI
ListWndProc3d
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
return
0
;
}
/***********************************************************************
* Ctl3dDlgProc (CTL3D32.17)
*/
LRESULT
WINAPI
Ctl3dDlgProc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
return
0
;
...
...
dlls/ctl3d/ctl3dv2.spec
View file @
ba78aac4
...
...
@@ -4,15 +4,15 @@
4 pascal16 Ctl3dCtlColor(word long) Ctl3dCtlColor16
5 pascal16 Ctl3dEnabled() Ctl3dEnabled16
6 pascal16 Ctl3dColorChange() Ctl3dColorChange16
7
stub BtnWndProc3d
8
stub EditWndProc3d
9
stub ListWndProc3d
10
stub ComboWndProc3d
11
stub StaticWndProc3d
7
pascal BtnWndProc3d(word word word long) BtnWndProc3d16
8
pascal EditWndProc3d(word word word long) EditWndProc3d16
9
pascal ListWndProc3d(word word word long) ListWndProc3d16
10
pascal ComboWndProc3d(word word word long) ComboWndProc3d16
11
pascal StaticWndProc3d(word word word long) StaticWndProc3d16
12 pascal16 Ctl3dRegister(word) Ctl3dRegister16
13 pascal16 Ctl3dUnregister(word) Ctl3dUnregister16
16 pascal16 Ctl3dAutoSubclass(word) Ctl3dAutoSubclass16
17
stub Ctl3dDlgProc
17
pascal Ctl3dDlgProc(word word word long) Ctl3dDlgProc16
18 pascal16 Ctl3dCtlColorEx(word word long) Ctl3dCtlColorEx16
19 stub Ctl3dSetStyle
20 pascal Ctl3dDlgFramePaint(word word word long) Ctl3dDlgFramePaint16
...
...
dlls/d3d8/d3d8_main.c
View file @
ba78aac4
...
...
@@ -39,7 +39,7 @@ HRESULT WINAPI D3D8GetSWInfo(void)
return
0
;
}
void
DebugSetMute
(
void
)
void
WINAPI
DebugSetMute
(
void
)
{
/* nothing to do */
}
...
...
dlls/d3d9/d3d9_main.c
View file @
ba78aac4
...
...
@@ -45,7 +45,7 @@ HRESULT WINAPI D3D9GetSWInfo(void) {
return
0
;
}
void
DebugSetMute
(
void
)
{
void
WINAPI
DebugSetMute
(
void
)
{
/* nothing to do */
}
...
...
dlls/iphlpapi/ifenum.c
View file @
ba78aac4
...
...
@@ -64,53 +64,53 @@
#include <stdlib.h>
#include <string.h>
#if HAVE_UNISTD_H
#if
def
HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
#if
def
HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#if HAVE_NETINET_IN_H
#if
def
HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#if HAVE_ARPA_INET_H
#if
def
HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#if HAVE_NET_IF_H
#if
def
HAVE_NET_IF_H
#include <net/if.h>
#endif
#if HAVE_NET_IF_ARP_H
#if
def
HAVE_NET_IF_ARP_H
#include <net/if_arp.h>
#endif
#if HAVE_NET_ROUTE_H
#if
def
HAVE_NET_ROUTE_H
#include <net/route.h>
#endif
#if HAVE_SYS_IOCTL_H
#if
def
HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
#if HAVE_SYS_SYSCTL_H
#if
def
HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h>
#endif
#if HAVE_SYS_SOCKIO_H
#if
def
HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif
#if HAVE_NET_IF_DL_H
#if
def
HAVE_NET_IF_DL_H
#include <net/if_dl.h>
#endif
#if HAVE_NET_IF_TYPES_H
#if
def
HAVE_NET_IF_TYPES_H
#include <net/if_types.h>
#endif
...
...
@@ -118,7 +118,7 @@
#include "iprtrmib.h"
#include "ifenum.h"
#if HAVE_STRUCT_SOCKADDR_SA_LEN
#if
def
HAVE_STRUCT_SOCKADDR_SA_LEN
#define ifreq_len(ifr) \
max(sizeof(struct ifreq), sizeof((ifr)->ifr_name)+(ifr)->ifr_addr.sa_len)
#else
...
...
dlls/iphlpapi/iphlpapi_main.c
View file @
ba78aac4
...
...
@@ -23,12 +23,15 @@
#include <stdlib.h>
#include <sys/types.h>
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#
include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#
include <arpa/nameser.h>
#endif
#include <resolv.h>
#ifdef HAVE_RESOLV_H
# include <resolv.h>
#endif
#include "winbase.h"
#include "iphlpapi.h"
#include "ifenum.h"
...
...
dlls/kernel/locale.c
View file @
ba78aac4
...
...
@@ -1428,9 +1428,9 @@ void LOCALE_Init(void)
* EnumSystemLanguageGroupsA (KERNEL32.@)
*/
BOOL
WINAPI
EnumSystemLanguageGroupsA
(
LANGUAGEGROUP_ENUMPROCA
pLangGroupEnumProc
,
/* callback function */
DWORD
dwFlags
,
/*
language groups */
LONG_PTR
lParam
/*
callback parameter */
LANGUAGEGROUP_ENUMPROCA
pLangGroupEnumProc
,
/*
[in]
callback function */
DWORD
dwFlags
,
/* [in]
language groups */
LONG_PTR
lParam
/* [in]
callback parameter */
)
{
FIXME
(
"stub
\n
"
);
...
...
@@ -1442,9 +1442,9 @@ BOOL WINAPI EnumSystemLanguageGroupsA(
* EnumSystemLanguageGroupsW (KERNEL32.@)
*/
BOOL
WINAPI
EnumSystemLanguageGroupsW
(
LANGUAGEGROUP_ENUMPROCW
pLangGroupEnumProc
,
/* callback function */
DWORD
dwFlags
,
/*
language groups */
LONG_PTR
lParam
/*
callback parameter */
LANGUAGEGROUP_ENUMPROCW
pLangGroupEnumProc
,
/*
[in]
callback function */
DWORD
dwFlags
,
/* [in]
language groups */
LONG_PTR
lParam
/* [in]
callback parameter */
)
{
FIXME
(
"stub
\n
"
);
...
...
dlls/ole32/memlockbytes16.c
View file @
ba78aac4
...
...
@@ -80,7 +80,7 @@ void HGLOBALLockBytesImpl16_Destroy(HGLOBALLockBytesImpl16* This);
HRESULT
WINAPI
HGLOBALLockBytesImpl16_QueryInterface
(
ILockBytes16
*
iface
,
REFIID
riid
,
/* [in] */
void
**
ppvObject
);
/* [
iid_is][out
] */
void
**
ppvObject
);
/* [
out][iid_is
] */
ULONG
WINAPI
HGLOBALLockBytesImpl16_AddRef
(
ILockBytes16
*
iface
);
...
...
@@ -91,14 +91,14 @@ ULONG WINAPI HGLOBALLockBytesImpl16_Release(
HRESULT
WINAPI
HGLOBALLockBytesImpl16_ReadAt
(
ILockBytes16
*
iface
,
ULARGE_INTEGER
ulOffset
,
/* [in] */
void
*
pv
,
/* [
length_is][size_is][out
] */
void
*
pv
,
/* [
out][length_is][size_is
] */
ULONG
cb
,
/* [in] */
ULONG
*
pcbRead
);
/* [out] */
HRESULT
WINAPI
HGLOBALLockBytesImpl16_WriteAt
(
ILockBytes16
*
iface
,
ULARGE_INTEGER
ulOffset
,
/* [in] */
const
void
*
pv
,
/* [
size_is][in
] */
const
void
*
pv
,
/* [
in][size_is
] */
ULONG
cb
,
/* [in] */
ULONG
*
pcbWritten
);
/* [out] */
...
...
@@ -230,7 +230,7 @@ void HGLOBALLockBytesImpl16_Destroy(HGLOBALLockBytesImpl16* This)
HRESULT
WINAPI
HGLOBALLockBytesImpl16_QueryInterface
(
ILockBytes16
*
iface
,
/* [in] SEGPTR */
REFIID
riid
,
/* [in] */
void
**
ppvObject
)
/* [
iid_is][out
] (ptr to SEGPTR!) */
void
**
ppvObject
)
/* [
out][iid_is
] (ptr to SEGPTR!) */
{
HGLOBALLockBytesImpl16
*
const
This
=
(
HGLOBALLockBytesImpl16
*
)
MapSL
((
SEGPTR
)
iface
);
...
...
@@ -317,7 +317,7 @@ ULONG WINAPI HGLOBALLockBytesImpl16_Release(ILockBytes16* iface)
HRESULT
WINAPI
HGLOBALLockBytesImpl16_ReadAt
(
ILockBytes16
*
iface
,
ULARGE_INTEGER
ulOffset
,
/* [in] */
void
*
pv
,
/* [
length_is][size_is][out
] */
void
*
pv
,
/* [
out][length_is][size_is
] */
ULONG
cb
,
/* [in] */
ULONG
*
pcbRead
)
/* [out] */
{
...
...
@@ -390,7 +390,7 @@ HRESULT WINAPI HGLOBALLockBytesImpl16_ReadAt(
HRESULT
WINAPI
HGLOBALLockBytesImpl16_WriteAt
(
ILockBytes16
*
iface
,
ULARGE_INTEGER
ulOffset
,
/* [in] */
const
void
*
pv
,
/* [
size_is][in
] */
const
void
*
pv
,
/* [
in][size_is
] */
ULONG
cb
,
/* [in] */
ULONG
*
pcbWritten
)
/* [out] */
{
...
...
@@ -563,9 +563,10 @@ HRESULT WINAPI HGLOBALLockBytesImpl16_Stat(
* Staddard OLE error return codes.
*
*/
HRESULT
WINAPI
CreateILockBytesOnHGlobal16
(
HGLOBAL16
hGlobal
,
BOOL16
fDeleteOnRelease
,
/*SEGPTR**/
LPLOCKBYTES16
*
ppLkbyt
)
HRESULT
WINAPI
CreateILockBytesOnHGlobal16
(
HGLOBAL16
hGlobal
,
/* [in] */
BOOL16
fDeleteOnRelease
,
/* [in] */
LPLOCKBYTES16
*
ppLkbyt
)
/* [out] (ptr to SEGPTR!) */
{
HGLOBALLockBytesImpl16
*
newLockBytes
;
/* SEGPTR */
...
...
dlls/ole32/ole2.spec
View file @
ba78aac4
...
...
@@ -51,7 +51,7 @@
51 stub OLEDUPLICATEDATA
52 stub OLEGETICONOFFILE
53 stub OLEGETICONOFCLASS
54 pascal CreateILockBytesOnHG
LOBAL
(word word ptr) CreateILockBytesOnHGlobal16
54 pascal CreateILockBytesOnHG
lobal
(word word ptr) CreateILockBytesOnHGlobal16
55 stub GETHGLOBALFROMILOCKBYTES
56 pascal16 OleMetaFilePictFromIconAndLabel(word str str word) OleMetaFilePictFromIconAndLabel16
57 stub GETCLASSFILE
...
...
@@ -149,7 +149,7 @@
500 cdecl HGLOBALLockBytesImpl16_QueryInterface(segptr ptr ptr) HGLOBALLockBytesImpl16_QueryInterface
501 cdecl HGLOBALLockBytesImpl16_AddRef(ptr) HGLOBALLockBytesImpl16_AddRef
502 cdecl HGLOBALLockBytesImpl16_Release(ptr) HGLOBALLockBytesImpl16_Release
503 cdecl HGLOBALLockBytesImpl16_ReadAt(ptr long long ptr ptr) HGLOBALLockBytesImpl16_ReadAt
503 cdecl HGLOBALLockBytesImpl16_ReadAt(ptr long long ptr
long
ptr) HGLOBALLockBytesImpl16_ReadAt
504 cdecl HGLOBALLockBytesImpl16_WriteAt(ptr long long ptr long ptr) HGLOBALLockBytesImpl16_WriteAt
505 cdecl HGLOBALLockBytesImpl16_Flush(ptr) HGLOBALLockBytesImpl16_Flush
506 cdecl HGLOBALLockBytesImpl16_SetSize(ptr long long) HGLOBALLockBytesImpl16_SetSize
...
...
dlls/ole32/regsvr.c
View file @
ba78aac4
...
...
@@ -18,6 +18,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
...
...
@@ -27,8 +31,6 @@
#include "ole2.h"
#include "olectl.h"
#include "string.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
...
...
dlls/oleaut32/olepicture.c
View file @
ba78aac4
...
...
@@ -46,7 +46,7 @@
/* Must be before wine includes, the header has things conflicting with
* WINE headers.
*/
#ifdef HAVE_
LIBGIF
#ifdef HAVE_
GIF_LIB_H
# include <gif_lib.h>
#endif
...
...
dlls/opengl32/wgl.c
View file @
ba78aac4
...
...
@@ -684,15 +684,21 @@ static BOOL process_attach(void)
return
TRUE
;
}
/**********************************************************************/
/* Some WGL extensions... */
static
const
char
*
WGL_extensions
=
"WGL_ARB_extensions_string WGL_EXT_extensions_string"
;
/**********************************************************************/
const
char
*
WINAPI
wglGetExtensionsStringEXT
(
void
)
{
TRACE
(
"() returning
\"
%s
\"\n
"
,
WGL_extensions
);
return
WGL_extensions
;
}
/**********************************************************************/
static
void
process_detach
(
void
)
{
glXDestroyContext
(
default_display
,
default_cx
);
...
...
dlls/shell32/shlfileop.c
View file @
ba78aac4
...
...
@@ -282,6 +282,7 @@ BOOL WINAPI Win32CreateDirectoryAW(LPCVOID path, LPSECURITY_ATTRIBUTES sec)
* Verified on Win98 / IE 5 (SHELL32 4.72, March 1999 build) to be ANSI.
* This is Unicode on NT/2000
*/
static
BOOL
SHNotifyRemoveDirectoryA
(
LPCSTR
path
)
{
BOOL
ret
;
...
...
@@ -301,6 +302,8 @@ static BOOL SHNotifyRemoveDirectoryA(LPCSTR path)
return
ret
;
}
/***********************************************************************/
static
BOOL
SHNotifyRemoveDirectoryW
(
LPCWSTR
path
)
{
BOOL
ret
;
...
...
@@ -320,6 +323,8 @@ static BOOL SHNotifyRemoveDirectoryW(LPCWSTR path)
return
ret
;
}
/***********************************************************************/
BOOL
WINAPI
Win32RemoveDirectoryAW
(
LPCVOID
path
)
{
if
(
SHELL_OsIsUnicode
())
...
...
@@ -342,6 +347,7 @@ BOOL WINAPI Win32RemoveDirectoryAW(LPCVOID path)
* Verified on Win98 / IE 5 (SHELL32 4.72, March 1999 build) to be ANSI.
* This is Unicode on NT/2000
*/
static
BOOL
SHNotifyDeleteFileA
(
LPCSTR
path
)
{
BOOL
ret
;
...
...
@@ -362,6 +368,8 @@ static BOOL SHNotifyDeleteFileA(LPCSTR path)
return
ret
;
}
/***********************************************************************/
static
BOOL
SHNotifyDeleteFileW
(
LPCWSTR
path
)
{
BOOL
ret
;
...
...
@@ -382,6 +390,8 @@ static BOOL SHNotifyDeleteFileW(LPCWSTR path)
return
ret
;
}
/***********************************************************************/
DWORD
WINAPI
Win32DeleteFileAW
(
LPCVOID
path
)
{
if
(
SHELL_OsIsUnicode
())
...
...
dlls/winedos/interrupts.c
View file @
ba78aac4
...
...
@@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "dosexe.h"
#include "wine/debug.h"
#include "wine/winbase16.h"
...
...
dlls/wineps/driver.c
View file @
ba78aac4
...
...
@@ -22,17 +22,21 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <string.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "psdrv.h"
#include
<wine/debug.h>
#include <winuser.h>
#include <
wownt32
.h>
#include <winspool.h>
#include
<prsht.h>
#include
"config.h"
#include <
string
.h>
#include
"wine/debug.h"
#include "psdlg.h"
#include "psdrv.h"
#include "winuser.h"
#include "wownt32.h"
#include "winspool.h"
#include "prsht.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
psdrv
);
...
...
@@ -699,8 +703,7 @@ DWORD PSDRV_DeviceCapabilities(LPSTR lpszDriver, LPCSTR lpszDevice, LPCSTR lpszP
}
/**************************************************************
*
* PSDRV_DeviceCapabilities [WINEPS16.91]
* DeviceCapabilities [WINEPS16.91]
*/
DWORD
WINAPI
PSDRV_DeviceCapabilities16
(
LPCSTR
lpszDevice
,
LPCSTR
lpszPort
,
WORD
fwCapability
,
...
...
dlls/wininet/cookie.c
View file @
ba78aac4
...
...
@@ -25,7 +25,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "windef.h"
#include "winbase.h"
...
...
dlls/wininet/internet.c
View file @
ba78aac4
...
...
@@ -2486,6 +2486,15 @@ BOOL WINAPI InternetCombineUrlW(LPCWSTR lpszBaseUrl, LPCWSTR lpszRelativeUrl,
return
(
hr
==
S_OK
);
}
/***********************************************************************
*
* InternetCreateUrlA
*
* RETURNS
* TRUE on success
* FALSE on failure
*
*/
BOOL
WINAPI
InternetCreateUrlA
(
LPURL_COMPONENTSA
lpUrlComponents
,
DWORD
dwFlags
,
LPSTR
lpszUrl
,
LPDWORD
lpdwUrlLength
)
{
...
...
@@ -2493,6 +2502,15 @@ BOOL WINAPI InternetCreateUrlA(LPURL_COMPONENTSA lpUrlComponents, DWORD dwFlags,
return
FALSE
;
}
/***********************************************************************
*
* InternetCreateUrlW
*
* RETURNS
* TRUE on success
* FALSE on failure
*
*/
BOOL
WINAPI
InternetCreateUrlW
(
LPURL_COMPONENTSW
lpUrlComponents
,
DWORD
dwFlags
,
LPWSTR
lpszUrl
,
LPDWORD
lpdwUrlLength
)
{
...
...
dlls/wininet/urlcache.c
View file @
ba78aac4
...
...
@@ -933,6 +933,10 @@ BOOL WINAPI GetUrlCacheEntryInfoA(
return
TRUE
;
}
/***********************************************************************
* RetrieveUrlCacheEntryFileA (WININET.@)
*
*/
BOOL
WINAPI
RetrieveUrlCacheEntryFileA
(
IN
LPCSTR
lpszUrlName
,
OUT
LPINTERNET_CACHE_ENTRY_INFOA
lpCacheEntryInfo
,
...
...
@@ -983,6 +987,10 @@ BOOL WINAPI RetrieveUrlCacheEntryFileA(
return
TRUE
;
}
/***********************************************************************
* UnlockUrlCacheEntryFileA (WININET.@)
*
*/
BOOL
WINAPI
UnlockUrlCacheEntryFileA
(
IN
LPCSTR
lpszUrlName
,
IN
DWORD
dwReserved
...
...
@@ -1349,6 +1357,10 @@ BOOL WINAPI ReadUrlCacheEntryStream(
return
ReadFile
(
pStream
->
hFile
,
lpBuffer
,
*
lpdwLen
,
lpdwLen
,
NULL
);
}
/***********************************************************************
* RetrieveUrlCacheEntryStreamA (WININET.@)
*
*/
HANDLE
WINAPI
RetrieveUrlCacheEntryStreamA
(
IN
LPCSTR
lpszUrlName
,
OUT
LPINTERNET_CACHE_ENTRY_INFOA
lpCacheEntryInfo
,
...
...
@@ -1398,6 +1410,10 @@ HANDLE WINAPI RetrieveUrlCacheEntryStreamA(
return
(
HANDLE
)
pStream
;
}
/***********************************************************************
* UnlockUrlCacheEntryStream (WININET.@)
*
*/
BOOL
WINAPI
UnlockUrlCacheEntryStream
(
IN
HANDLE
hUrlCacheStream
,
IN
DWORD
dwReserved
...
...
@@ -1430,6 +1446,11 @@ BOOL WINAPI UnlockUrlCacheEntryStream(
return
TRUE
;
}
/***********************************************************************
* DeleteUrlCacheEntryA (WININET.@)
*
*/
BOOL
WINAPI
DeleteUrlCacheEntryA
(
LPCSTR
lpszUrlName
)
{
LPURLCACHE_HEADER
pHeader
;
...
...
@@ -1471,6 +1492,10 @@ BOOL WINAPI DeleteUrlCacheEntryA(LPCSTR lpszUrlName)
return
TRUE
;
}
/***********************************************************************
* CreateUrlCacheGroup (WININET.@)
*
*/
INTERNETAPI
GROUPID
WINAPI
CreateUrlCacheGroup
(
DWORD
dwFlags
,
LPVOID
lpReserved
)
{
...
...
@@ -1478,6 +1503,10 @@ lpReserved)
return
FALSE
;
}
/***********************************************************************
* FindFirstUrlCacheEntryA (WININET.@)
*
*/
INTERNETAPI
HANDLE
WINAPI
FindFirstUrlCacheEntryA
(
LPCSTR
lpszUrlSearchPattern
,
LPINTERNET_CACHE_ENTRY_INFOA
lpFirstCacheEntryInfo
,
LPDWORD
lpdwFirstCacheEntryInfoBufferSize
)
{
...
...
@@ -1485,6 +1514,10 @@ INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR lpszUrlSearchPattern,
return
0
;
}
/***********************************************************************
* FindFirstUrlCacheEntryW (WININET.@)
*
*/
INTERNETAPI
HANDLE
WINAPI
FindFirstUrlCacheEntryW
(
LPCWSTR
lpszUrlSearchPattern
,
LPINTERNET_CACHE_ENTRY_INFOW
lpFirstCacheEntryInfo
,
LPDWORD
lpdwFirstCacheEntryInfoBufferSize
)
{
...
...
@@ -1492,12 +1525,20 @@ INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryW(LPCWSTR lpszUrlSearchPattern,
return
0
;
}
/***********************************************************************
* DeleteUrlCacheGroup (WININET.@)
*
*/
BOOL
WINAPI
DeleteUrlCacheGroup
(
GROUPID
GroupId
,
DWORD
dwFlags
,
LPVOID
lpReserved
)
{
FIXME
(
"STUB
\n
"
);
return
FALSE
;
}
/***********************************************************************
* SetUrlCacheEntryGroup (WININET.@)
*
*/
BOOL
WINAPI
SetUrlCacheEntryGroup
(
LPCSTR
lpszUrlName
,
DWORD
dwFlags
,
GROUPID
GroupId
,
LPBYTE
pbGroupAttributes
,
DWORD
cbGroupAttributes
,
LPVOID
lpReserved
)
...
...
dlls/x11drv/window.c
View file @
ba78aac4
...
...
@@ -23,7 +23,9 @@
#include "config.h"
#include <stdlib.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "ts_xlib.h"
#include <X11/Xresource.h>
...
...
dlls/x11drv/x11drv.spec
View file @
ba78aac4
...
...
@@ -74,12 +74,12 @@
@ cdecl SetScreenSaveActive(long) X11DRV_SetScreenSaveActive
@ cdecl ChangeDisplaySettingsExW (ptr ptr long long long) X11DRV_ChangeDisplaySettingsExW
@ cdecl EnumDisplaySettingsExW (ptr long ptr long) X11DRV_EnumDisplaySettingsExW
@ cdecl AcquireClipboard() X11DRV_AcquireClipboard
@ cdecl AcquireClipboard(
long
) X11DRV_AcquireClipboard
@ cdecl CountClipboardFormats() X11DRV_CountClipboardFormats
@ cdecl CreateWindow(long ptr long) X11DRV_CreateWindow
@ cdecl DestroyWindow(long) X11DRV_DestroyWindow
@ cdecl EmptyClipboard() X11DRV_EmptyClipboard
@ cdecl EndClipboardUpdate(
long
) X11DRV_EndClipboardUpdate
@ cdecl EndClipboardUpdate() X11DRV_EndClipboardUpdate
@ cdecl EnumClipboardFormats(long) X11DRV_EnumClipboardFormats
@ cdecl ForceWindowRaise(long) X11DRV_ForceWindowRaise
@ cdecl GetClipboardData(long ptr ptr) X11DRV_GetClipboardData
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment