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
6e740b5b
Commit
6e740b5b
authored
Sep 04, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Sep 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some issues found by winapi_check.
parent
faf64aa9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
20 deletions
+5
-20
name_server.c
dlls/dplayx/name_server.c
+2
-19
rtlstr.c
dlls/ntdll/rtlstr.c
+1
-1
pe_image.c
loader/pe_image.c
+2
-0
No files found.
dlls/dplayx/name_server.c
View file @
6e740b5b
...
...
@@ -18,15 +18,6 @@
#include "dplayx_messages.h"
#include "dplayx_queue.h"
/* Can't seem to solve unresolved reference even with import */
#define HACK_TIMEGETTIME
#if defined( HACK_TIMEGETTIME )
static
DWORD
timeGetTime
(
void
);
#else
#include "mmsystem.h"
#endif
/* FIXME: Need to create a crit section, store and use it */
DEFAULT_DEBUG_CHANNEL
(
dplay
);
...
...
@@ -105,7 +96,7 @@ void NS_SetRemoteComputerAsNameServer( LPVOID lpNSAddrHdr,
HEAP_ZERO_MEMORY
,
(
LPWSTR
)(
lpMsg
+
1
)
);
lpCacheNode
->
dwTime
=
timeGetTime
();
lpCacheNode
->
dwTime
=
GetTickCount
();
DPQ_INSERT
(
lpCache
->
first
,
lpCacheNode
,
next
);
...
...
@@ -258,7 +249,7 @@ void NS_PruneSessionCache( LPVOID lpNSInfo )
lpNSCache
lpCache
=
lpNSInfo
;
lpNSCacheData
lpCacheEntry
;
DWORD
dwPresentTime
=
timeGetTime
();
DWORD
dwPresentTime
=
GetTickCount
();
#if defined( HACK_TIMEGETTIME )
DWORD
dwPruneTime
=
dwPresentTime
-
2
;
/* One iteration with safety */
#else
...
...
@@ -328,11 +319,3 @@ void NS_ReplyToEnumSessionsRequest( LPVOID lpMsg,
}
#if defined( HACK_TIMEGETTIME )
DWORD
timeGetTime
(
void
)
{
static
DWORD
time
=
0
;
return
time
++
;
}
#endif
dlls/ntdll/rtlstr.c
View file @
6e740b5b
...
...
@@ -478,7 +478,7 @@ NTSTATUS WINAPI RtlUnicodeToOemN( LPSTR dst, DWORD dstlen, LPDWORD reslen,
/**************************************************************************
* RtlUpperString (NTDLL.@)
*/
void
WINAPI
RtlUpperString
(
STRING
*
dst
,
const
STRING
*
src
,
BOOLEAN
doalloc
)
void
WINAPI
RtlUpperString
(
STRING
*
dst
,
const
STRING
*
src
)
{
unsigned
int
i
,
len
=
min
(
src
->
Length
,
dst
->
MaximumLength
);
...
...
loader/pe_image.c
View file @
6e740b5b
...
...
@@ -23,6 +23,8 @@
* NE_MODULE.module32.
*/
#include "config.h"
#include <sys/types.h>
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
...
...
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