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
8cd93514
Commit
8cd93514
authored
Jan 29, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Jan 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- add some documentation items
- fix some spelling - fix some warnings
parent
1fe93345
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
68 additions
and
56 deletions
+68
-56
BUGS
BUGS
+2
-1
README
README
+5
-1
treeview.c
dlls/comctl32/treeview.c
+2
-2
dplay.c
dlls/dplayx/dplay.c
+1
-1
storage32.c
dlls/ole32/storage32.c
+31
-31
shlfolder.c
dlls/shell32/shlfolder.c
+1
-1
no-windows
documentation/no-windows
+3
-0
wine.man.in
documentation/wine.man.in
+3
-0
d3dtexture.c
graphics/d3dtexture.c
+2
-2
snoop.c
if1632/snoop.c
+1
-0
loadorder.c
loader/loadorder.c
+10
-10
module.c
loader/ne/module.c
+2
-2
pe_image.c
loader/pe_image.c
+1
-1
process.c
scheduler/process.c
+3
-3
wnd.c
windows/x11drv/wnd.c
+1
-1
No files found.
BUGS
View file @
8cd93514
...
@@ -75,7 +75,8 @@ Miscellaneous:
...
@@ -75,7 +75,8 @@ Miscellaneous:
* SGI window manager treats Wine windows as topmost.
* SGI window manager treats Wine windows as topmost.
* KDE window manager puts popup windows like menus below the main window.
* KDE window manager and icewm put popup windows like menus
below the main window.
* Write shows blank space instead of Paintbrush OLE1 object ( GetDIBits()? ).
* Write shows blank space instead of Paintbrush OLE1 object ( GetDIBits()? ).
...
...
README
View file @
8cd93514
...
@@ -131,6 +131,8 @@ see what information is required.
...
@@ -131,6 +131,8 @@ see what information is required.
7. GETTING MORE INFORMATION
7. GETTING MORE INFORMATION
DOCU: grep -i "SearchString" `find documentation/`|more
FAQ: The Wine FAQ is located at http://www.winehq.com/faq.html.
FAQ: The Wine FAQ is located at http://www.winehq.com/faq.html.
WWW: A great deal of information about Wine is available from WineHQ at
WWW: A great deal of information about Wine is available from WineHQ at
...
@@ -138,7 +140,7 @@ WWW: A great deal of information about Wine is available from WineHQ at
...
@@ -138,7 +140,7 @@ WWW: A great deal of information about Wine is available from WineHQ at
are available on the wine-patches mailing list; see
are available on the wine-patches mailing list; see
http://www.winehq.com/dev.html#ml for more information.
http://www.winehq.com/dev.html#ml for more information.
HOWTO:
A pre-release version of t
he Wine HOWTO is available at
HOWTO:
T
he Wine HOWTO is available at
http://www.westfalen.de/witch/wine-HOWTO.txt .
http://www.westfalen.de/witch/wine-HOWTO.txt .
Usenet: Please browse old messages on http://www.dejanews.com/ to check whether
Usenet: Please browse old messages on http://www.dejanews.com/ to check whether
...
@@ -150,6 +152,8 @@ Usenet: Please browse old messages on http://www.dejanews.com/ to check whether
...
@@ -150,6 +152,8 @@ Usenet: Please browse old messages on http://www.dejanews.com/ to check whether
documentation/bugreports to see what information should be included
documentation/bugreports to see what information should be included
in a bug report.
in a bug report.
IRC: Online help is available at channel #WineHQ on IRCnet.
CVS: The current Wine development tree is available through CVS.
CVS: The current Wine development tree is available through CVS.
Go to http://www.winehq.com/dev.html for more information.
Go to http://www.winehq.com/dev.html for more information.
...
...
dlls/comctl32/treeview.c
View file @
8cd93514
...
@@ -98,8 +98,8 @@ TREEVIEW_EndEditLabelNow (HWND hwnd, WPARAM wParam, LPARAM lParam);
...
@@ -98,8 +98,8 @@ TREEVIEW_EndEditLabelNow (HWND hwnd, WPARAM wParam, LPARAM lParam);
is checked beforehand, and that tree state is valid. */
is checked beforehand, and that tree state is valid. */
/* FIXME: MS documentation says `GetNextVisibleItem' returns NULL
/* FIXME: MS documentation says `GetNextVisibleItem' returns NULL
if not succes
full'. Probably only applies to deref
encing infoPtr
if not succes
sfull. Probably only applies to derefer
encing infoPtr
(i
e
we are offered a valid treeview structure)
(i
.e.
we are offered a valid treeview structure)
and not whether there is a next `visible' child.
and not whether there is a next `visible' child.
FIXME: check other failures.
FIXME: check other failures.
*/
*/
...
...
dlls/dplayx/dplay.c
View file @
8cd93514
...
@@ -540,7 +540,7 @@ static ULONG WINAPI DirectPlay2AImpl_Release
...
@@ -540,7 +540,7 @@ static ULONG WINAPI DirectPlay2AImpl_Release
}
}
LeaveCriticalSection
(
&
This
->
unk
->
DP_lock
);
LeaveCriticalSection
(
&
This
->
unk
->
DP_lock
);
TRACE
(
"ref count decremen
e
ted to %lu for %p
\n
"
,
refCount
,
This
);
TRACE
(
"ref count decremented to %lu for %p
\n
"
,
refCount
,
This
);
/* Deallocate if this is the last reference to the object */
/* Deallocate if this is the last reference to the object */
if
(
refCount
==
0
)
if
(
refCount
==
0
)
...
...
dlls/ole32/storage32.c
View file @
8cd93514
...
@@ -521,7 +521,7 @@ HRESULT WINAPI StorageBaseImpl_Stat(
...
@@ -521,7 +521,7 @@ HRESULT WINAPI StorageBaseImpl_Stat(
{
{
ICOM_THIS
(
StorageBaseImpl
,
iface
);
ICOM_THIS
(
StorageBaseImpl
,
iface
);
StgProperty
curProperty
;
StgProperty
curProperty
;
BOOL
readSucessful
;
BOOL
readSuc
c
essful
;
TRACE
(
"(%p, %p, %lx)
\n
"
,
TRACE
(
"(%p, %p, %lx)
\n
"
,
iface
,
pstatstg
,
grfStatFlag
);
iface
,
pstatstg
,
grfStatFlag
);
...
@@ -535,12 +535,12 @@ HRESULT WINAPI StorageBaseImpl_Stat(
...
@@ -535,12 +535,12 @@ HRESULT WINAPI StorageBaseImpl_Stat(
/*
/*
* Read the information from the property.
* Read the information from the property.
*/
*/
readSucessful
=
StorageImpl_ReadProperty
(
readSuc
c
essful
=
StorageImpl_ReadProperty
(
This
->
ancestorStorage
,
This
->
ancestorStorage
,
This
->
rootPropertySetIndex
,
This
->
rootPropertySetIndex
,
&
curProperty
);
&
curProperty
);
if
(
readSucessful
)
if
(
readSuc
c
essful
)
{
{
StorageUtl_CopyPropertyToSTATSTG
(
StorageUtl_CopyPropertyToSTATSTG
(
pstatstg
,
pstatstg
,
...
@@ -1056,7 +1056,7 @@ static ULONG getFreeProperty(
...
@@ -1056,7 +1056,7 @@ static ULONG getFreeProperty(
{
{
ULONG
currentPropertyIndex
=
0
;
ULONG
currentPropertyIndex
=
0
;
ULONG
newPropertyIndex
=
PROPERTY_NULL
;
ULONG
newPropertyIndex
=
PROPERTY_NULL
;
BOOL
readSucessful
=
TRUE
;
BOOL
readSuc
c
essful
=
TRUE
;
StgProperty
currentProperty
;
StgProperty
currentProperty
;
do
do
...
@@ -1064,10 +1064,10 @@ static ULONG getFreeProperty(
...
@@ -1064,10 +1064,10 @@ static ULONG getFreeProperty(
/*
/*
* Start by reading the root property
* Start by reading the root property
*/
*/
readSucessful
=
StorageImpl_ReadProperty
(
storage
->
ancestorStorage
,
readSuc
c
essful
=
StorageImpl_ReadProperty
(
storage
->
ancestorStorage
,
currentPropertyIndex
,
currentPropertyIndex
,
&
currentProperty
);
&
currentProperty
);
if
(
readSucessful
)
if
(
readSuc
c
essful
)
{
{
if
(
currentProperty
.
sizeOfNameString
==
0
)
if
(
currentProperty
.
sizeOfNameString
==
0
)
{
{
...
@@ -1091,7 +1091,7 @@ static ULONG getFreeProperty(
...
@@ -1091,7 +1091,7 @@ static ULONG getFreeProperty(
/*
/*
* grow the property chain
* grow the property chain
*/
*/
if
(
!
readSucessful
)
if
(
!
readSuc
c
essful
)
{
{
StgProperty
emptyProperty
;
StgProperty
emptyProperty
;
ULARGE_INTEGER
newSize
;
ULARGE_INTEGER
newSize
;
...
@@ -2027,7 +2027,7 @@ HRESULT StorageImpl_Construct(
...
@@ -2027,7 +2027,7 @@ HRESULT StorageImpl_Construct(
{
{
HRESULT
hr
=
S_OK
;
HRESULT
hr
=
S_OK
;
StgProperty
currentProperty
;
StgProperty
currentProperty
;
BOOL
readSucessful
;
BOOL
readSuc
c
essful
;
ULONG
currentPropertyIndex
;
ULONG
currentPropertyIndex
;
if
(
FAILED
(
validateSTGM
(
openFlags
)
))
if
(
FAILED
(
validateSTGM
(
openFlags
)
))
...
@@ -2175,12 +2175,12 @@ HRESULT StorageImpl_Construct(
...
@@ -2175,12 +2175,12 @@ HRESULT StorageImpl_Construct(
do
do
{
{
readSucessful
=
StorageImpl_ReadProperty
(
readSuc
c
essful
=
StorageImpl_ReadProperty
(
This
,
This
,
currentPropertyIndex
,
currentPropertyIndex
,
&
currentProperty
);
&
currentProperty
);
if
(
readSucessful
)
if
(
readSuc
c
essful
)
{
{
if
(
(
currentProperty
.
sizeOfNameString
!=
0
)
&&
if
(
(
currentProperty
.
sizeOfNameString
!=
0
)
&&
(
currentProperty
.
propertyType
==
PROPTYPE_ROOT
)
)
(
currentProperty
.
propertyType
==
PROPTYPE_ROOT
)
)
...
@@ -2191,9 +2191,9 @@ HRESULT StorageImpl_Construct(
...
@@ -2191,9 +2191,9 @@ HRESULT StorageImpl_Construct(
currentPropertyIndex
++
;
currentPropertyIndex
++
;
}
while
(
readSucessful
&&
(
This
->
rootPropertySetIndex
==
PROPERTY_NULL
)
);
}
while
(
readSuc
c
essful
&&
(
This
->
rootPropertySetIndex
==
PROPERTY_NULL
)
);
if
(
!
readSucessful
)
if
(
!
readSuc
c
essful
)
{
{
/* TODO CLEANUP */
/* TODO CLEANUP */
return
E_FAIL
;
return
E_FAIL
;
...
@@ -2922,20 +2922,20 @@ BOOL StorageImpl_ReadProperty(
...
@@ -2922,20 +2922,20 @@ BOOL StorageImpl_ReadProperty(
{
{
BYTE
currentProperty
[
PROPSET_BLOCK_SIZE
];
BYTE
currentProperty
[
PROPSET_BLOCK_SIZE
];
ULARGE_INTEGER
offsetInPropSet
;
ULARGE_INTEGER
offsetInPropSet
;
BOOL
readSucessful
;
BOOL
readSuc
c
essful
;
ULONG
bytesRead
;
ULONG
bytesRead
;
offsetInPropSet
.
s
.
HighPart
=
0
;
offsetInPropSet
.
s
.
HighPart
=
0
;
offsetInPropSet
.
s
.
LowPart
=
index
*
PROPSET_BLOCK_SIZE
;
offsetInPropSet
.
s
.
LowPart
=
index
*
PROPSET_BLOCK_SIZE
;
readSucessful
=
BlockChainStream_ReadAt
(
readSuc
c
essful
=
BlockChainStream_ReadAt
(
This
->
rootBlockChain
,
This
->
rootBlockChain
,
offsetInPropSet
,
offsetInPropSet
,
PROPSET_BLOCK_SIZE
,
PROPSET_BLOCK_SIZE
,
currentProperty
,
currentProperty
,
&
bytesRead
);
&
bytesRead
);
if
(
readSucessful
)
if
(
readSuc
c
essful
)
{
{
memset
(
buffer
->
name
,
0
,
sizeof
(
buffer
->
name
));
memset
(
buffer
->
name
,
0
,
sizeof
(
buffer
->
name
));
memcpy
(
memcpy
(
...
@@ -3003,7 +3003,7 @@ BOOL StorageImpl_ReadProperty(
...
@@ -3003,7 +3003,7 @@ BOOL StorageImpl_ReadProperty(
buffer
->
size
.
s
.
HighPart
=
0
;
buffer
->
size
.
s
.
HighPart
=
0
;
}
}
return
readSucessful
;
return
readSuc
c
essful
;
}
}
/*********************************************************************
/*********************************************************************
...
@@ -3016,7 +3016,7 @@ BOOL StorageImpl_WriteProperty(
...
@@ -3016,7 +3016,7 @@ BOOL StorageImpl_WriteProperty(
{
{
BYTE
currentProperty
[
PROPSET_BLOCK_SIZE
];
BYTE
currentProperty
[
PROPSET_BLOCK_SIZE
];
ULARGE_INTEGER
offsetInPropSet
;
ULARGE_INTEGER
offsetInPropSet
;
BOOL
writeSucessful
;
BOOL
writeSuc
c
essful
;
ULONG
bytesWritten
;
ULONG
bytesWritten
;
offsetInPropSet
.
s
.
HighPart
=
0
;
offsetInPropSet
.
s
.
HighPart
=
0
;
...
@@ -3091,12 +3091,12 @@ BOOL StorageImpl_WriteProperty(
...
@@ -3091,12 +3091,12 @@ BOOL StorageImpl_WriteProperty(
OFFSET_PS_SIZE
,
OFFSET_PS_SIZE
,
buffer
->
size
.
s
.
LowPart
);
buffer
->
size
.
s
.
LowPart
);
writeSucessful
=
BlockChainStream_WriteAt
(
This
->
rootBlockChain
,
writeSuc
c
essful
=
BlockChainStream_WriteAt
(
This
->
rootBlockChain
,
offsetInPropSet
,
offsetInPropSet
,
PROPSET_BLOCK_SIZE
,
PROPSET_BLOCK_SIZE
,
currentProperty
,
currentProperty
,
&
bytesWritten
);
&
bytesWritten
);
return
writeSucessful
;
return
writeSuc
c
essful
;
}
}
BOOL
StorageImpl_ReadBigBlock
(
BOOL
StorageImpl_ReadBigBlock
(
...
@@ -3607,7 +3607,7 @@ HRESULT WINAPI IEnumSTATSTGImpl_Reset(
...
@@ -3607,7 +3607,7 @@ HRESULT WINAPI IEnumSTATSTGImpl_Reset(
IEnumSTATSTGImpl
*
const
This
=
(
IEnumSTATSTGImpl
*
)
iface
;
IEnumSTATSTGImpl
*
const
This
=
(
IEnumSTATSTGImpl
*
)
iface
;
StgProperty
rootProperty
;
StgProperty
rootProperty
;
BOOL
readSucessful
;
BOOL
readSuc
c
essful
;
/*
/*
* Re-initialize the search stack to an empty stack
* Re-initialize the search stack to an empty stack
...
@@ -3617,12 +3617,12 @@ HRESULT WINAPI IEnumSTATSTGImpl_Reset(
...
@@ -3617,12 +3617,12 @@ HRESULT WINAPI IEnumSTATSTGImpl_Reset(
/*
/*
* Read the root property from the storage.
* Read the root property from the storage.
*/
*/
readSucessful
=
StorageImpl_ReadProperty
(
readSuc
c
essful
=
StorageImpl_ReadProperty
(
This
->
parentStorage
,
This
->
parentStorage
,
This
->
firstPropertyNode
,
This
->
firstPropertyNode
,
&
rootProperty
);
&
rootProperty
);
if
(
readSucessful
)
if
(
readSuc
c
essful
)
{
{
assert
(
rootProperty
.
sizeOfNameString
!=
0
);
assert
(
rootProperty
.
sizeOfNameString
!=
0
);
...
@@ -3793,7 +3793,7 @@ void IEnumSTATSTGImpl_PushSearchNode(
...
@@ -3793,7 +3793,7 @@ void IEnumSTATSTGImpl_PushSearchNode(
ULONG
nodeToPush
)
ULONG
nodeToPush
)
{
{
StgProperty
rootProperty
;
StgProperty
rootProperty
;
BOOL
readSucessful
;
BOOL
readSuc
c
essful
;
/*
/*
* First, make sure we're not trying to push an unexisting node.
* First, make sure we're not trying to push an unexisting node.
...
@@ -3821,12 +3821,12 @@ void IEnumSTATSTGImpl_PushSearchNode(
...
@@ -3821,12 +3821,12 @@ void IEnumSTATSTGImpl_PushSearchNode(
/*
/*
* Read the root property from the storage.
* Read the root property from the storage.
*/
*/
readSucessful
=
StorageImpl_ReadProperty
(
readSuc
c
essful
=
StorageImpl_ReadProperty
(
This
->
parentStorage
,
This
->
parentStorage
,
nodeToPush
,
nodeToPush
,
&
rootProperty
);
&
rootProperty
);
if
(
readSucessful
)
if
(
readSuc
c
essful
)
{
{
assert
(
rootProperty
.
sizeOfNameString
!=
0
);
assert
(
rootProperty
.
sizeOfNameString
!=
0
);
...
@@ -3995,19 +3995,19 @@ void BlockChainStream_Destroy(BlockChainStream* This)
...
@@ -3995,19 +3995,19 @@ void BlockChainStream_Destroy(BlockChainStream* This)
ULONG
BlockChainStream_GetHeadOfChain
(
BlockChainStream
*
This
)
ULONG
BlockChainStream_GetHeadOfChain
(
BlockChainStream
*
This
)
{
{
StgProperty
chainProperty
;
StgProperty
chainProperty
;
BOOL
readSucessful
;
BOOL
readSuc
c
essful
;
if
(
This
->
headOfStreamPlaceHolder
!=
0
)
if
(
This
->
headOfStreamPlaceHolder
!=
0
)
return
*
(
This
->
headOfStreamPlaceHolder
);
return
*
(
This
->
headOfStreamPlaceHolder
);
if
(
This
->
ownerPropertyIndex
!=
PROPERTY_NULL
)
if
(
This
->
ownerPropertyIndex
!=
PROPERTY_NULL
)
{
{
readSucessful
=
StorageImpl_ReadProperty
(
readSuc
c
essful
=
StorageImpl_ReadProperty
(
This
->
parentStorage
,
This
->
parentStorage
,
This
->
ownerPropertyIndex
,
This
->
ownerPropertyIndex
,
&
chainProperty
);
&
chainProperty
);
if
(
readSucessful
)
if
(
readSuc
c
essful
)
{
{
return
chainProperty
.
startingBlock
;
return
chainProperty
.
startingBlock
;
}
}
...
@@ -4516,16 +4516,16 @@ ULONG SmallBlockChainStream_GetHeadOfChain(
...
@@ -4516,16 +4516,16 @@ ULONG SmallBlockChainStream_GetHeadOfChain(
SmallBlockChainStream
*
This
)
SmallBlockChainStream
*
This
)
{
{
StgProperty
chainProperty
;
StgProperty
chainProperty
;
BOOL
readSucessful
;
BOOL
readSuc
c
essful
;
if
(
This
->
ownerPropertyIndex
)
if
(
This
->
ownerPropertyIndex
)
{
{
readSucessful
=
StorageImpl_ReadProperty
(
readSuc
c
essful
=
StorageImpl_ReadProperty
(
This
->
parentStorage
,
This
->
parentStorage
,
This
->
ownerPropertyIndex
,
This
->
ownerPropertyIndex
,
&
chainProperty
);
&
chainProperty
);
if
(
readSucessful
)
if
(
readSuc
c
essful
)
{
{
return
chainProperty
.
startingBlock
;
return
chainProperty
.
startingBlock
;
}
}
...
...
dlls/shell32/shlfolder.c
View file @
8cd93514
...
@@ -100,7 +100,7 @@ static HRESULT SHELL32_ParseNextElement(
...
@@ -100,7 +100,7 @@ static HRESULT SHELL32_ParseNextElement(
LPITEMIDLIST
pidlOut
,
pidlTemp
=
NULL
;
LPITEMIDLIST
pidlOut
,
pidlTemp
=
NULL
;
IShellFolder
*
psfChild
;
IShellFolder
*
psfChild
;
TRACE
(
"(%p, %p, %s)
\n
"
,
psf
,
pidlInOut
?
*
pidlInOut
:
"(null)"
,
debugstr_w
(
szNext
));
TRACE
(
"(%p, %p, %s)
\n
"
,
psf
,
pidlInOut
?
*
pidlInOut
:
NULL
,
debugstr_w
(
szNext
));
/* get the shellfolder for the child pidl and let it analyse further */
/* get the shellfolder for the child pidl and let it analyse further */
...
...
documentation/no-windows
View file @
8cd93514
...
@@ -61,3 +61,6 @@ C:\windows is really /home/ego/wine/drives/c).
...
@@ -61,3 +61,6 @@ C:\windows is really /home/ego/wine/drives/c).
- Put regedit.exe in the C:\windows directory (office95 imports
- Put regedit.exe in the C:\windows directory (office95 imports
a *.reg file when it runs with a empty registry, don't know
a *.reg file when it runs with a empty registry, don't know
about office97).
about office97).
- Also add winhelp.exe and winhlp32.exe if you want to be able to browse
through your programs' help function.
documentation/wine.man.in
View file @
8cd93514
...
@@ -93,6 +93,9 @@ file contained in the source distribution.
...
@@ -93,6 +93,9 @@ file contained in the source distribution.
.TP
.TP
.I -backingstore
.I -backingstore
Turn on backing store
Turn on backing store
Backingstore stores pixels of obscured window parts off-screen.
This buffer is used to restore these parts faster once they are to reappear,
but it consumes additional memory of course.
.TP
.TP
.I -config filename
.I -config filename
Use the named configuration file rather than the default
Use the named configuration file rather than the default
...
...
graphics/d3dtexture.c
View file @
8cd93514
...
@@ -280,7 +280,7 @@ static HRESULT WINAPI IDirect3DTextureImpl_GetHandle(LPDIRECT3DTEXTURE iface,
...
@@ -280,7 +280,7 @@ static HRESULT WINAPI IDirect3DTextureImpl_GetHandle(LPDIRECT3DTEXTURE iface,
glGenTextures
(
1
,
&
(
This
->
tex_name
));
glGenTextures
(
1
,
&
(
This
->
tex_name
));
LEAVE_GL
();
LEAVE_GL
();
TRACE
(
"OpenGL texture handle is : %
l
d
\n
"
,
This
->
tex_name
);
TRACE
(
"OpenGL texture handle is : %d
\n
"
,
This
->
tex_name
);
return
D3D_OK
;
return
D3D_OK
;
}
}
...
@@ -323,7 +323,7 @@ static HRESULT WINAPI IDirect3DTexture2Impl_GetHandle(LPDIRECT3DTEXTURE2 iface,
...
@@ -323,7 +323,7 @@ static HRESULT WINAPI IDirect3DTexture2Impl_GetHandle(LPDIRECT3DTEXTURE2 iface,
glGenTextures
(
1
,
&
(
This
->
tex_name
));
glGenTextures
(
1
,
&
(
This
->
tex_name
));
LEAVE_GL
();
LEAVE_GL
();
TRACE
(
"OpenGL texture handle is : %
l
d
\n
"
,
This
->
tex_name
);
TRACE
(
"OpenGL texture handle is : %d
\n
"
,
This
->
tex_name
);
return
D3D_OK
;
return
D3D_OK
;
}
}
...
...
if1632/snoop.c
View file @
8cd93514
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
#include <assert.h>
#include <assert.h>
#include <string.h>
#include <string.h>
#include "winbase.h"
#include "winbase.h"
#include "winuser.h"
#include "winnt.h"
#include "winnt.h"
#include "heap.h"
#include "heap.h"
#include "global.h"
#include "global.h"
...
...
loader/loadorder.c
View file @
8cd93514
...
@@ -168,8 +168,8 @@ static BOOL ParseLoadOrder(char *order, module_loadorder_t *mlo)
...
@@ -168,8 +168,8 @@ static BOOL ParseLoadOrder(char *order, module_loadorder_t *mlo)
/***************************************************************************
/***************************************************************************
* AddLoadOrder (internal, static)
* AddLoadOrder (internal, static)
*
*
* Adds an entry in the list of overrides. If the entry exists then the
* Adds an entry in the list of overrides. If the entry exists
,
then the
* override parameter determines whether it will be overwriten.
* override parameter determines whether it will be overwrit
t
en.
*/
*/
static
BOOL
AddLoadOrder
(
module_loadorder_t
*
plo
,
BOOL
override
)
static
BOOL
AddLoadOrder
(
module_loadorder_t
*
plo
,
BOOL
override
)
{
{
...
@@ -213,9 +213,9 @@ static BOOL AddLoadOrder(module_loadorder_t *plo, BOOL override)
...
@@ -213,9 +213,9 @@ static BOOL AddLoadOrder(module_loadorder_t *plo, BOOL override)
/***************************************************************************
/***************************************************************************
* AddLoadOrderSet (internal, static)
* AddLoadOrderSet (internal, static)
*
*
* Adds a
n
set of entries in the list of overrides from the key parameter.
* Adds a set of entries in the list of overrides from the key parameter.
* If the entry exists then the override parameter determines whether it
* If the entry exists
,
then the override parameter determines whether it
* will be overwriten.
* will be overwrit
t
en.
*/
*/
static
BOOL
AddLoadOrderSet
(
char
*
key
,
char
*
order
,
BOOL
override
)
static
BOOL
AddLoadOrderSet
(
char
*
key
,
char
*
order
,
BOOL
override
)
{
{
...
@@ -300,7 +300,7 @@ endit:
...
@@ -300,7 +300,7 @@ endit:
* MODULE_InitLoadOrder (internal)
* MODULE_InitLoadOrder (internal)
*
*
* Initialize the load order from the wine.conf file.
* Initialize the load order from the wine.conf file.
* The section has t
y
he following format:
* The section has the following format:
* Section:
* Section:
* [DllDefaults]
* [DllDefaults]
*
*
...
@@ -310,11 +310,11 @@ endit:
...
@@ -310,11 +310,11 @@ endit:
* environment (see note in code below).
* environment (see note in code below).
*
*
* DefaultLoadOrder=native,elfdll,so,builtin
* DefaultLoadOrder=native,elfdll,so,builtin
* A comma sep
erated list of module-
types to try to load in that specific
* A comma sep
arated list of module
types to try to load in that specific
* order. The DefaultLoadOrder key is used as a fallback when a module is
* order. The DefaultLoadOrder key is used as a fallback when a module is
* not specified explicit
e
ly. If the DefaultLoadOrder key is not found,
* not specified explicitly. If the DefaultLoadOrder key is not found,
* then the order "dll,elfdll,so,bi" is used
* then the order "dll,elfdll,so,bi" is used
* The possible module
-
types are:
* The possible module
types are:
* - native Native windows dll files
* - native Native windows dll files
* - elfdll Dlls encapsulated in .so libraries
* - elfdll Dlls encapsulated in .so libraries
* - so Native .so libraries mapped to dlls
* - so Native .so libraries mapped to dlls
...
@@ -384,7 +384,7 @@ BOOL MODULE_InitLoadOrder(void)
...
@@ -384,7 +384,7 @@ BOOL MODULE_InitLoadOrder(void)
nbuffer
=
PROFILE_GetWineIniString
(
"DllDefaults"
,
"DefaultLoadOrder"
,
"n,e,s,b"
,
buffer
,
sizeof
(
buffer
));
nbuffer
=
PROFILE_GetWineIniString
(
"DllDefaults"
,
"DefaultLoadOrder"
,
"n,e,s,b"
,
buffer
,
sizeof
(
buffer
));
if
(
!
nbuffer
)
if
(
!
nbuffer
)
{
{
MESSAGE
(
"MODULE_InitLoadOrder: m
i
steriously read nothing from default loadorder
\n
"
);
MESSAGE
(
"MODULE_InitLoadOrder: m
y
steriously read nothing from default loadorder
\n
"
);
return
FALSE
;
return
FALSE
;
}
}
...
...
loader/ne/module.c
View file @
8cd93514
...
@@ -837,12 +837,12 @@ static HINSTANCE16 NE_DoLoadModule( NE_MODULE *pModule )
...
@@ -837,12 +837,12 @@ static HINSTANCE16 NE_DoLoadModule( NE_MODULE *pModule )
/* Allocate the segments for this module */
/* Allocate the segments for this module */
if
(
!
NE_CreateAllSegments
(
pModule
))
if
(
!
NE_CreateAllSegments
(
pModule
))
return
8
;
/* Insufficient memory
*/
return
ERROR_NOT_ENOUGH_MEMORY
;
/* 8
*/
/* Load the referenced DLLs */
/* Load the referenced DLLs */
if
(
!
NE_LoadDLLs
(
pModule
))
if
(
!
NE_LoadDLLs
(
pModule
))
return
2
;
return
ERROR_FILE_NOT_FOUND
;
/* 2 */
/* Load the segments */
/* Load the segments */
...
...
loader/pe_image.c
View file @
8cd93514
...
@@ -509,7 +509,7 @@ HMODULE PE_LoadImage( HANDLE hFile, LPCSTR filename, WORD *version )
...
@@ -509,7 +509,7 @@ HMODULE PE_LoadImage( HANDLE hFile, LPCSTR filename, WORD *version )
/* Check signature */
/* Check signature */
if
(
nt
->
Signature
!=
IMAGE_NT_SIGNATURE
)
if
(
nt
->
Signature
!=
IMAGE_NT_SIGNATURE
)
{
{
WARN
(
"%s image doesn't have PE signature, but 0x%08lx
\n
"
,
nt
->
Signature
);
WARN
(
"%s image doesn't have PE signature, but 0x%08lx
\n
"
,
filename
,
nt
->
Signature
);
goto
error
;
goto
error
;
}
}
...
...
scheduler/process.c
View file @
8cd93514
...
@@ -98,15 +98,15 @@ BOOL PROCESS_IsCurrent( HANDLE handle )
...
@@ -98,15 +98,15 @@ BOOL PROCESS_IsCurrent( HANDLE handle )
*
*
* Convert a process id to a PDB, making sure it is valid.
* Convert a process id to a PDB, making sure it is valid.
*/
*/
PDB
*
PROCESS_IdToPDB
(
DWORD
id
)
PDB
*
PROCESS_IdToPDB
(
DWORD
p
id
)
{
{
PDB
*
pdb
;
PDB
*
pdb
;
if
(
!
id
)
return
PROCESS_Current
();
if
(
!
p
id
)
return
PROCESS_Current
();
pdb
=
PROCESS_First
;
pdb
=
PROCESS_First
;
while
(
pdb
)
while
(
pdb
)
{
{
if
((
DWORD
)
pdb
->
server_pid
==
id
)
return
pdb
;
if
((
DWORD
)
pdb
->
server_pid
==
p
id
)
return
pdb
;
pdb
=
pdb
->
next
;
pdb
=
pdb
->
next
;
}
}
SetLastError
(
ERROR_INVALID_PARAMETER
);
SetLastError
(
ERROR_INVALID_PARAMETER
);
...
...
windows/x11drv/wnd.c
View file @
8cd93514
...
@@ -387,7 +387,7 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
...
@@ -387,7 +387,7 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
{
{
CREATESTRUCTA
cs
;
CREATESTRUCTA
cs
;
cs
.
lpCreateParams
=
NULL
;
cs
.
lpCreateParams
=
NULL
;
cs
.
hInstance
=
0
;
/* not used i
f
following call */
cs
.
hInstance
=
0
;
/* not used i
n
following call */
cs
.
hMenu
=
0
;
/* not used in following call */
cs
.
hMenu
=
0
;
/* not used in following call */
cs
.
hwndParent
=
pWndParent
->
hwndSelf
;
cs
.
hwndParent
=
pWndParent
->
hwndSelf
;
cs
.
cy
=
wndPtr
->
rectWindow
.
bottom
-
wndPtr
->
rectWindow
.
top
;
cs
.
cy
=
wndPtr
->
rectWindow
.
bottom
-
wndPtr
->
rectWindow
.
top
;
...
...
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