#pragma once
#ifndef _JOBAPISET2_H_
#define _JOBAPISET2_H_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#include <minwinbase.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
typedef
struct
{
;
;
;
;
;
;
}
JOBOBJECT_IO_RATE_CONTROL_INFORMATION
;
(
_In_opt_ LPSECURITY_ATTRIBUTES lpJobAttributes,
);
(
_In_ _Frees_ptr_ VOID* Buffer
);
(
_In_ DWORD dwDesiredAccess,
_In_ BOOL bInheritHandle,
);
(
);
(
);
(
_In_ JOBOBJECTINFOCLASS JobObjectInformationClass,
_In_reads_bytes_(cbJobObjectInformationLength) LPVOID lpJobObjectInformation,
_In_ DWORD cbJobObjectInformationLength
);
(
_In_ JOBOBJECT_IO_RATE_CONTROL_INFORMATION* IoRateControlInfo
JOBOBJECT_IO_RATE_CONTROL_INFORMATION
*
);
(
_In_ JOBOBJECTINFOCLASS JobObjectInformationClass,
_Out_writes_bytes_to_(cbJobObjectInformationLength,*lpReturnLength) LPVOID lpJobObjectInformation,
_In_ DWORD cbJobObjectInformationLength,
_Out_opt_ LPDWORD lpReturnLength
);
(
_In_opt_ PCWSTR VolumeName,
_Outptr_result_buffer_(*InfoBlockCount) JOBOBJECT_IO_RATE_CONTROL_INFORMATION** InfoBlocks,
JOBOBJECT_IO_RATE_CONTROL_INFORMATION
**
,
_Out_ ULONG* InfoBlockCount
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#ifdef __cplusplus
}
#endif
#endif // _JOBAPISET2_H_