#define global IID_IDiskQuotaControl "{7988B572-EC89-11CF-9C00-00AA00A14F56}"
#usecom global IDiskQuotaControl IID_IDiskQuotaControl "{7988B571-EC89-11CF-9C00-00AA00A14F56}"
#comfunc global IDiskQuotaControl_Initialize 5 wstr,int
#comfunc global IDiskQuotaControl_SetQuotaState 6 int
#comfunc global IDiskQuotaControl_GetQuotaState 7 var
#comfunc global IDiskQuotaControl_SetQuotaLogFlags 8 int
#comfunc global IDiskQuotaControl_GetQuotaLogFlags 9 var
#comfunc global IDiskQuotaControl_SetDefaultQuotaThreshold 10 int64
#comfunc global IDiskQuotaControl_GetDefaultQuotaThreshold 11 var
#comfunc global IDiskQuotaControl_GetDefaultQuotaThresholdText 12 wstr,int
#comfunc global IDiskQuotaControl_SetDefaultQuotaLimit 13 int64
#comfunc global IDiskQuotaControl_GetDefaultQuotaLimit 14 var
#comfunc global IDiskQuotaControl_GetDefaultQuotaLimitText 15 wstr,int
#comfunc global IDiskQuotaControl_AddUserSid 16 sptr,int,sptr
#comfunc global IDiskQuotaControl_AddUserName 17 wstr,int,sptr
#comfunc global IDiskQuotaControl_DeleteUser 18 sptr
#comfunc global IDiskQuotaControl_FindUserSid 19 sptr,int,sptr
#comfunc global IDiskQuotaControl_FindUserName 20 wstr,sptr
#comfunc global IDiskQuotaControl_CreateEnumUsers 21 sptr,int,int,sptr
#comfunc global IDiskQuotaControl_CreateUserBatch 22 sptr
#comfunc global IDiskQuotaControl_InvalidateSidNameCache 23
#comfunc global IDiskQuotaControl_GiveUserNameResolutionPriority 24 sptr
#comfunc global IDiskQuotaControl_ShutdownNameResolution 25
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDiskQuotaControl "{7988B572-EC89-11CF-9C00-00AA00A14F56}"
#usecom global IDiskQuotaControl IID_IDiskQuotaControl "{7988B571-EC89-11CF-9C00-00AA00A14F56}"
#comfunc global IDiskQuotaControl_Initialize 5 wstr,int
#comfunc global IDiskQuotaControl_SetQuotaState 6 int
#comfunc global IDiskQuotaControl_GetQuotaState 7 sptr
#comfunc global IDiskQuotaControl_SetQuotaLogFlags 8 int
#comfunc global IDiskQuotaControl_GetQuotaLogFlags 9 sptr
#comfunc global IDiskQuotaControl_SetDefaultQuotaThreshold 10 int64
#comfunc global IDiskQuotaControl_GetDefaultQuotaThreshold 11 sptr
#comfunc global IDiskQuotaControl_GetDefaultQuotaThresholdText 12 wstr,int
#comfunc global IDiskQuotaControl_SetDefaultQuotaLimit 13 int64
#comfunc global IDiskQuotaControl_GetDefaultQuotaLimit 14 sptr
#comfunc global IDiskQuotaControl_GetDefaultQuotaLimitText 15 wstr,int
#comfunc global IDiskQuotaControl_AddUserSid 16 sptr,int,sptr
#comfunc global IDiskQuotaControl_AddUserName 17 wstr,int,sptr
#comfunc global IDiskQuotaControl_DeleteUser 18 sptr
#comfunc global IDiskQuotaControl_FindUserSid 19 sptr,int,sptr
#comfunc global IDiskQuotaControl_FindUserName 20 wstr,sptr
#comfunc global IDiskQuotaControl_CreateEnumUsers 21 sptr,int,int,sptr
#comfunc global IDiskQuotaControl_CreateUserBatch 22 sptr
#comfunc global IDiskQuotaControl_InvalidateSidNameCache 23
#comfunc global IDiskQuotaControl_GiveUserNameResolutionPriority 24 sptr
#comfunc global IDiskQuotaControl_ShutdownNameResolution 25
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。