File Index Symbol Index

/******************************************************************************** * * * jobapiset2.h -- ApiSet Contract for api-ms-win-core-job-l2 * * * * Copyright (c) Microsoft Corporation. All rights reserved. * * * ********************************************************************************/
#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
{
LONG64
MaxIops
;
LONG64
MaxBandwidth
;
LONG64
ReservationIops
;
PCWSTR
VolumeName
;
ULONG
BaseIoSize
;
ULONG
ControlFlags
; }
JOBOBJECT_IO_RATE_CONTROL_INFORMATION
;
HANDLE
CreateJobObjectW
( );
FreeMemoryJobObject
( );
HANDLE
OpenJobObjectW
( );
BOOL
AssignProcessToJobObject
( );
BOOL
TerminateJobObject
( );
BOOL
SetInformationJobObject
( );
DWORD
SetIoRateControlInformationJobObject
( );
BOOL
QueryInformationJobObject
( );
DWORD
QueryIoRateControlInformationJobObject
( );
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#ifdef __cplusplus
}
#endif
#endif // _JOBAPISET2_H_