Skip to content

Timeout of EvtNext is set way too low #5

@ata4

Description

@ata4

This is a very useful library for me, but I've noticed some issues in my use case where EventLog.Query() almost immediately returns with a ERROR_TIMEOUT message. Turns out that the timeout argument of EvtNext is actually milliseconds, not seconds, so any operation taking longer than 60ms will fail. Changing it to 60000 fixed the issues for me, you should probably do the same. 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions