GetUserObjectInformation function Null safety user32

int GetUserObjectInformation(
  1. int hObj,
  2. int nIndex,
  3. Pointer<NativeType> pvInfo,
  4. int nLength,
  5. Pointer<Uint32> lpnLengthNeeded
)

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);