GetUserObjectInformation function user32
Retrieves information about the specified window station or desktop object.
BOOL GetUserObjectInformationW(
HANDLE hObj,
int nIndex,
PVOID pvInfo,
DWORD nLength,
LPDWORD lpnLengthNeeded
);
Implementation
int GetUserObjectInformation(int hObj, int nIndex, Pointer pvInfo, int nLength,
Pointer<Uint32> lpnLengthNeeded) =>
_GetUserObjectInformation(hObj, nIndex, pvInfo, nLength, lpnLengthNeeded);