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
903e0b9f
Commit
903e0b9f
authored
Sep 13, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of a couple of non-portable long long constants.
parent
1cdffb26
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
12 deletions
+6
-12
msipriv.h
dlls/msi/msipriv.h
+0
-2
rpcss_main.c
programs/rpcss/rpcss_main.c
+1
-1
procpage.c
programs/taskmgr/procpage.c
+5
-9
No files found.
dlls/msi/msipriv.h
View file @
903e0b9f
...
@@ -238,8 +238,6 @@ typedef struct tagMSIPREVIEW
...
@@ -238,8 +238,6 @@ typedef struct tagMSIPREVIEW
#define MSIHANDLE_MAGIC 0x4d434923
#define MSIHANDLE_MAGIC 0x4d434923
#define MSIMAXHANDLES 0xf0
#define MSIMAXHANDLES 0xf0
#define MSISUMINFO_OFFSET 0x30LL
DEFINE_GUID
(
CLSID_IMsiServer
,
0x000C101C
,
0x0000
,
0x0000
,
0xC0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
DEFINE_GUID
(
CLSID_IMsiServer
,
0x000C101C
,
0x0000
,
0x0000
,
0xC0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
DEFINE_GUID
(
CLSID_IMsiServerX1
,
0x000C103E
,
0x0000
,
0x0000
,
0xC0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
DEFINE_GUID
(
CLSID_IMsiServerX1
,
0x000C103E
,
0x0000
,
0x0000
,
0xC0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
DEFINE_GUID
(
CLSID_IMsiServerX2
,
0x000C1090
,
0x0000
,
0x0000
,
0xC0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
DEFINE_GUID
(
CLSID_IMsiServerX2
,
0x000C1090
,
0x0000
,
0x0000
,
0xC0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
...
...
programs/rpcss/rpcss_main.c
View file @
903e0b9f
...
@@ -106,7 +106,7 @@ static SYSTEMTIME lazy_timeout_time;
...
@@ -106,7 +106,7 @@ static SYSTEMTIME lazy_timeout_time;
filetime.dwHighDateTime = ularge.HighPart )
filetime.dwHighDateTime = ularge.HighPart )
#endif
/* NONAMELESSSTRUCT */
#endif
/* NONAMELESSSTRUCT */
#define TEN_MIL
10000000LL
#define TEN_MIL
((ULONGLONG)10000000)
/* returns time remaining in seconds */
/* returns time remaining in seconds */
long
RPCSS_GetLazyTimeRemaining
(
void
)
long
RPCSS_GetLazyTimeRemaining
(
void
)
...
...
programs/taskmgr/procpage.c
View file @
903e0b9f
...
@@ -205,17 +205,13 @@ void ProcessPageOnNotify(WPARAM wParam, LPARAM lParam)
...
@@ -205,17 +205,13 @@ void ProcessPageOnNotify(WPARAM wParam, LPARAM lParam)
DWORD
dwHours
;
DWORD
dwHours
;
DWORD
dwMinutes
;
DWORD
dwMinutes
;
DWORD
dwSeconds
;
DWORD
dwSeconds
;
ULONGLONG
secs
;
time
=
PerfDataGetCPUTime
(
Index
);
time
=
PerfDataGetCPUTime
(
Index
);
#ifdef _MSC_VER
secs
=
time
.
QuadPart
/
10000000
;
dwHours
=
(
DWORD
)(
time
.
QuadPart
/
36000000000L
);
dwHours
=
secs
/
3600
;
dwMinutes
=
(
DWORD
)((
time
.
QuadPart
%
36000000000L
)
/
600000000L
);
dwMinutes
=
(
secs
%
3600
)
/
60
;
dwSeconds
=
(
DWORD
)(((
time
.
QuadPart
%
36000000000L
)
%
600000000L
)
/
10000000L
);
dwSeconds
=
(
secs
%
3600
)
%
60
;
#else
dwHours
=
(
DWORD
)(
time
.
QuadPart
/
36000000000LL
);
dwMinutes
=
(
DWORD
)((
time
.
QuadPart
%
36000000000LL
)
/
600000000LL
);
dwSeconds
=
(
DWORD
)(((
time
.
QuadPart
%
36000000000LL
)
%
600000000LL
)
/
10000000LL
);
#endif
wsprintf
(
pnmdi
->
item
.
pszText
,
_T
(
"%d:%02d:%02d"
),
dwHours
,
dwMinutes
,
dwSeconds
);
wsprintf
(
pnmdi
->
item
.
pszText
,
_T
(
"%d:%02d:%02d"
),
dwHours
,
dwMinutes
,
dwSeconds
);
}
}
if
(
ColumnDataHints
[
ColumnIndex
]
==
COLUMN_MEMORYUSAGE
)
if
(
ColumnDataHints
[
ColumnIndex
]
==
COLUMN_MEMORYUSAGE
)
...
...
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