Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

How to convert WinEventProc's dwmsEventTime parameter to DateTime?

$
0
0

MSDN says it's the event time in milliseconds but I'm unable to convert it to .NET datetime format. Anyone knows how to do that?

delegatevoidWinEventDelegate(IntPtrhWinEventHook,uinteventType,IntPtrhwnd,intidObject,intidChild,uintdwEventThread,uintdwmsEventTime);

From MSDN:

dwmsEventTime

Type: DWORD

Specifies the time, in milliseconds, that the event was generated.



Viewing all articles
Browse latest Browse all 1710

Trending Articles