winevet.h is a header file for Windows Events API, which was first appear in Windows Vista, so you probably need Windows Vista or Windows Server 2008 SDK.
Best regards,
Victor
Best regards,
Victor
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu| path | path to directory or file to check |
| pattern | pattern for file name matching |
| recursive | recursion flag; if set to 1 or true, agent will scan subdirectories |
| size | size filter (bytes); if < 0, only files with size less than abs(value) will match; if > 0, only files with size greater than value will match; if 0, all files will match |
| age | age filter (seconds); if < 0, only files created after now - abs(value) will match; if > 0, only files created before now - value will match; if 0, all files will match |
$1 == "httpd"
sub main()
{
return $1 == "httpd";
}
(http://msdn.microsoft.com/en-us/library/ms644905%28VS.85%29.aspx). I choose to use performance counter because timeGetTime has much bigger call cost - but I'm not sure that this really matters in our case. I could also build libnetxms.dll with timeGetTime variant to compare. Interestin also is that on my Windows 7 machine event GetSystemTimeAsFileTime, which was used before, gives 1ms accuracy.
nxdbmgr export export_file
nxdbmgr import export_file