[EVENTLOG]

- Fix MSVC warnings

svn path=/trunk/; revision=52610
This commit is contained in:
Rafal Harabien 2011-07-10 15:39:32 +00:00
parent 0685c73a53
commit ce8c949828
3 changed files with 9 additions and 18 deletions

View file

@ -463,7 +463,7 @@ VOID SystemTimeToEventTime(SYSTEMTIME * pSystemTime, DWORD * pEventTime)
SystemTimeToFileTime(pSystemTime, &Time.ft);
SystemTimeToFileTime(&st1970, &u1970.ft);
*pEventTime = (Time.ll - u1970.ll) / 10000000;
*pEventTime = (DWORD)((Time.ll - u1970.ll) / 10000000ull);
}
VOID PRINT_HEADER(PEVENTLOGHEADER header)

View file

@ -896,7 +896,7 @@ DWORD LogfGetCurrentRecord(PLOGFILE LogFile)
BOOL LogfDeleteOffsetInformation(PLOGFILE LogFile, ULONG ulNumber)
{
int i;
DWORD i;
if (ulNumber != LogFile->OffsetInfo[0].EventNumber)
{

View file

@ -190,24 +190,15 @@ interface eventlog
/* Function 19 */
NTSTATUS ElfrRegisterClusterSvc(
#ifndef __midl
[in] handle_t BindingHandle
#endif
); /* FIXME */
[in] handle_t BindingHandle);
/* Function 20 */
NTSTATUS ElfrDeregisterClusterSvc(
#ifndef __midl
[in] handle_t BindingHandle
#endif
); /* FIXME */
[in] handle_t BindingHandle);
/* Function 21 */
NTSTATUS ElfrWriteClusterEvents(
#ifndef __midl
[in] handle_t BindingHandle
#endif
); /* FIXME */
[in] handle_t BindingHandle);
/* Function 22 */
NTSTATUS ElfrGetLogInformation(