Skip to content

Need help with writing wrapper for WTSQuerySessionInformationW using WTSSessionInfoEx #86

@avaidhyajc

Description

@avaidhyajc

Hi, I am creating an app which requires me to check system lock/unlock state . I cannot use system events as i need to know the current state.I came across https://learn.microsoft.com/en-us/windows/win32/api/wtsapi32/nf-wtsapi32-wtsquerysessioninformationw which when used with WTSSessionInfoEx(25) helps to get session state using sessionFlags.

Given that it's not implemented , i tried my hand to implement SessionInfoEx ; But unfortunately i am not able to do it as i'm quiet new to golang paradigm.

Any help on this with code will be of greater value to me.Thanks in Advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions