QueryInformationJobObject function kernel32

int QueryInformationJobObject(
  1. int hJob,
  2. int JobObjectInformationClass,
  3. Pointer<NativeType> lpJobObjectInformation,
  4. int cbJobObjectInformationLength,
  5. Pointer<Uint32> lpReturnLength,
)

Retrieves limit and job state information from the job object.

BOOL QueryInformationJobObject(
  [in, optional]  HANDLE             hJob,
  [in]            JOBOBJECTINFOCLASS JobObjectInformationClass,
  [out]           LPVOID             lpJobObjectInformation,
  [in]            DWORD              cbJobObjectInformationLength,
  [out, optional] LPDWORD            lpReturnLength
);

Implementation

int QueryInformationJobObject(
        int hJob,
        int JobObjectInformationClass,
        Pointer lpJobObjectInformation,
        int cbJobObjectInformationLength,
        Pointer<Uint32> lpReturnLength) =>
    _QueryInformationJobObject(hJob, JobObjectInformationClass,
        lpJobObjectInformation, cbJobObjectInformationLength, lpReturnLength);