mirror of
https://github.com/reactos/reactos.git
synced 2024-07-08 21:55:08 +00:00
[EVENTLOG]
- Fix MSVC warnings svn path=/trunk/; revision=52610
This commit is contained in:
parent
0685c73a53
commit
ce8c949828
|
@ -463,7 +463,7 @@ VOID SystemTimeToEventTime(SYSTEMTIME * pSystemTime, DWORD * pEventTime)
|
||||||
|
|
||||||
SystemTimeToFileTime(pSystemTime, &Time.ft);
|
SystemTimeToFileTime(pSystemTime, &Time.ft);
|
||||||
SystemTimeToFileTime(&st1970, &u1970.ft);
|
SystemTimeToFileTime(&st1970, &u1970.ft);
|
||||||
*pEventTime = (Time.ll - u1970.ll) / 10000000;
|
*pEventTime = (DWORD)((Time.ll - u1970.ll) / 10000000ull);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID PRINT_HEADER(PEVENTLOGHEADER header)
|
VOID PRINT_HEADER(PEVENTLOGHEADER header)
|
||||||
|
|
|
@ -896,7 +896,7 @@ DWORD LogfGetCurrentRecord(PLOGFILE LogFile)
|
||||||
|
|
||||||
BOOL LogfDeleteOffsetInformation(PLOGFILE LogFile, ULONG ulNumber)
|
BOOL LogfDeleteOffsetInformation(PLOGFILE LogFile, ULONG ulNumber)
|
||||||
{
|
{
|
||||||
int i;
|
DWORD i;
|
||||||
|
|
||||||
if (ulNumber != LogFile->OffsetInfo[0].EventNumber)
|
if (ulNumber != LogFile->OffsetInfo[0].EventNumber)
|
||||||
{
|
{
|
||||||
|
|
|
@ -190,24 +190,15 @@ interface eventlog
|
||||||
|
|
||||||
/* Function 19 */
|
/* Function 19 */
|
||||||
NTSTATUS ElfrRegisterClusterSvc(
|
NTSTATUS ElfrRegisterClusterSvc(
|
||||||
#ifndef __midl
|
[in] handle_t BindingHandle);
|
||||||
[in] handle_t BindingHandle
|
|
||||||
#endif
|
|
||||||
); /* FIXME */
|
|
||||||
|
|
||||||
/* Function 20 */
|
/* Function 20 */
|
||||||
NTSTATUS ElfrDeregisterClusterSvc(
|
NTSTATUS ElfrDeregisterClusterSvc(
|
||||||
#ifndef __midl
|
[in] handle_t BindingHandle);
|
||||||
[in] handle_t BindingHandle
|
|
||||||
#endif
|
|
||||||
); /* FIXME */
|
|
||||||
|
|
||||||
/* Function 21 */
|
/* Function 21 */
|
||||||
NTSTATUS ElfrWriteClusterEvents(
|
NTSTATUS ElfrWriteClusterEvents(
|
||||||
#ifndef __midl
|
[in] handle_t BindingHandle);
|
||||||
[in] handle_t BindingHandle
|
|
||||||
#endif
|
|
||||||
); /* FIXME */
|
|
||||||
|
|
||||||
/* Function 22 */
|
/* Function 22 */
|
||||||
NTSTATUS ElfrGetLogInformation(
|
NTSTATUS ElfrGetLogInformation(
|
||||||
|
|
Loading…
Reference in a new issue