#define global IID_IADsADSystemInfo "{5BB11929-AFD1-11D2-9CB9-0000F87A369E}"
#usecom global IADsADSystemInfo IID_IADsADSystemInfo "{}"
#comfunc global IADsADSystemInfo_get_UserName 7 var
#comfunc global IADsADSystemInfo_get_ComputerName 8 var
#comfunc global IADsADSystemInfo_get_SiteName 9 var
#comfunc global IADsADSystemInfo_get_DomainShortName 10 var
#comfunc global IADsADSystemInfo_get_DomainDNSName 11 var
#comfunc global IADsADSystemInfo_get_ForestDNSName 12 var
#comfunc global IADsADSystemInfo_get_PDCRoleOwner 13 var
#comfunc global IADsADSystemInfo_get_SchemaRoleOwner 14 var
#comfunc global IADsADSystemInfo_get_IsNativeMode 15 var
#comfunc global IADsADSystemInfo_GetAnyDCName 16 var
#comfunc global IADsADSystemInfo_GetDCSiteName 17 wstr,var
#comfunc global IADsADSystemInfo_RefreshSchemaCache 18
#comfunc global IADsADSystemInfo_GetTrees 19 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IADsADSystemInfo "{5BB11929-AFD1-11D2-9CB9-0000F87A369E}"
#usecom global IADsADSystemInfo IID_IADsADSystemInfo "{}"
#comfunc global IADsADSystemInfo_get_UserName 7 sptr
#comfunc global IADsADSystemInfo_get_ComputerName 8 sptr
#comfunc global IADsADSystemInfo_get_SiteName 9 sptr
#comfunc global IADsADSystemInfo_get_DomainShortName 10 sptr
#comfunc global IADsADSystemInfo_get_DomainDNSName 11 sptr
#comfunc global IADsADSystemInfo_get_ForestDNSName 12 sptr
#comfunc global IADsADSystemInfo_get_PDCRoleOwner 13 sptr
#comfunc global IADsADSystemInfo_get_SchemaRoleOwner 14 sptr
#comfunc global IADsADSystemInfo_get_IsNativeMode 15 sptr
#comfunc global IADsADSystemInfo_GetAnyDCName 16 sptr
#comfunc global IADsADSystemInfo_GetDCSiteName 17 wstr,sptr
#comfunc global IADsADSystemInfo_RefreshSchemaCache 18
#comfunc global IADsADSystemInfo_GetTrees 19 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。