16292 lines
855 KiB
Zig
16292 lines
855 KiB
Zig
//! NOTE: this file is autogenerated, DO NOT MODIFY
|
|
//--------------------------------------------------------------------------------
|
|
// Section: Constants (702)
|
|
//--------------------------------------------------------------------------------
|
|
pub const WM_ADSPROP_NOTIFY_PAGEINIT = @as(u32, 2125);
|
|
pub const WM_ADSPROP_NOTIFY_PAGEHWND = @as(u32, 2126);
|
|
pub const WM_ADSPROP_NOTIFY_CHANGE = @as(u32, 2127);
|
|
pub const WM_ADSPROP_NOTIFY_APPLY = @as(u32, 2128);
|
|
pub const WM_ADSPROP_NOTIFY_SETFOCUS = @as(u32, 2129);
|
|
pub const WM_ADSPROP_NOTIFY_FOREGROUND = @as(u32, 2130);
|
|
pub const WM_ADSPROP_NOTIFY_EXIT = @as(u32, 2131);
|
|
pub const WM_ADSPROP_NOTIFY_ERROR = @as(u32, 2134);
|
|
pub const CLSID_CommonQuery = Guid.initString("83bc5ec0-6f2a-11d0-a1c4-00aa00c16e65");
|
|
pub const QUERYFORM_CHANGESFORMLIST = @as(u64, 1);
|
|
pub const QUERYFORM_CHANGESOPTFORMLIST = @as(u64, 2);
|
|
pub const CQFF_NOGLOBALPAGES = @as(u32, 1);
|
|
pub const CQFF_ISOPTIONAL = @as(u32, 2);
|
|
pub const CQPM_INITIALIZE = @as(u32, 1);
|
|
pub const CQPM_RELEASE = @as(u32, 2);
|
|
pub const CQPM_ENABLE = @as(u32, 3);
|
|
pub const CQPM_GETPARAMETERS = @as(u32, 5);
|
|
pub const CQPM_CLEARFORM = @as(u32, 6);
|
|
pub const CQPM_PERSIST = @as(u32, 7);
|
|
pub const CQPM_HELP = @as(u32, 8);
|
|
pub const CQPM_SETDEFAULTPARAMETERS = @as(u32, 9);
|
|
pub const CQPM_HANDLERSPECIFIC = @as(u32, 268435456);
|
|
pub const OQWF_OKCANCEL = @as(u32, 1);
|
|
pub const OQWF_DEFAULTFORM = @as(u32, 2);
|
|
pub const OQWF_SINGLESELECT = @as(u32, 4);
|
|
pub const OQWF_LOADQUERY = @as(u32, 8);
|
|
pub const OQWF_REMOVESCOPES = @as(u32, 16);
|
|
pub const OQWF_REMOVEFORMS = @as(u32, 32);
|
|
pub const OQWF_ISSUEONOPEN = @as(u32, 64);
|
|
pub const OQWF_SHOWOPTIONAL = @as(u32, 128);
|
|
pub const OQWF_SAVEQUERYONOK = @as(u32, 512);
|
|
pub const OQWF_HIDEMENUS = @as(u32, 1024);
|
|
pub const OQWF_HIDESEARCHUI = @as(u32, 2048);
|
|
pub const OQWF_PARAMISPROPERTYBAG = @as(u32, 2147483648);
|
|
pub const CLSID_DsAdminCreateObj = Guid.initString("e301a009-f901-11d2-82b9-00c04f68928b");
|
|
pub const DSA_NEWOBJ_CTX_PRECOMMIT = @as(u32, 1);
|
|
pub const DSA_NEWOBJ_CTX_COMMIT = @as(u32, 2);
|
|
pub const DSA_NEWOBJ_CTX_POSTCOMMIT = @as(u32, 3);
|
|
pub const DSA_NEWOBJ_CTX_CLEANUP = @as(u32, 4);
|
|
pub const DSA_NOTIFY_DEL = @as(u32, 1);
|
|
pub const DSA_NOTIFY_REN = @as(u32, 2);
|
|
pub const DSA_NOTIFY_MOV = @as(u32, 4);
|
|
pub const DSA_NOTIFY_PROP = @as(u32, 8);
|
|
pub const DSA_NOTIFY_FLAG_ADDITIONAL_DATA = @as(u32, 2);
|
|
pub const DSA_NOTIFY_FLAG_FORCE_ADDITIONAL_DATA = @as(u32, 1);
|
|
pub const CLSID_MicrosoftDS = Guid.initString("fe1290f0-cfbd-11cf-a330-00aa00c16e65");
|
|
pub const CLSID_DsPropertyPages = Guid.initString("0d45d530-764b-11d0-a1ca-00aa00c16e65");
|
|
pub const CLSID_DsDomainTreeBrowser = Guid.initString("1698790a-e2b4-11d0-b0b1-00c04fd8dca6");
|
|
pub const CLSID_DsDisplaySpecifier = Guid.initString("1ab4a8c0-6a0b-11d2-ad49-00c04fa31a86");
|
|
pub const CLSID_DsFolderProperties = Guid.initString("9e51e0d0-6e0f-11d2-9601-00c04fa31a86");
|
|
pub const DSOBJECT_ISCONTAINER = @as(u32, 1);
|
|
pub const DSOBJECT_READONLYPAGES = @as(u32, 2147483648);
|
|
pub const DSPROVIDER_UNUSED_0 = @as(u32, 1);
|
|
pub const DSPROVIDER_UNUSED_1 = @as(u32, 2);
|
|
pub const DSPROVIDER_UNUSED_2 = @as(u32, 4);
|
|
pub const DSPROVIDER_UNUSED_3 = @as(u32, 8);
|
|
pub const DSPROVIDER_ADVANCED = @as(u32, 16);
|
|
pub const DSPROVIDER_AD_LDS = @as(u32, 32);
|
|
pub const CFSTR_DSOBJECTNAMES = "DsObjectNames";
|
|
pub const CFSTR_DS_DISPLAY_SPEC_OPTIONS = "DsDisplaySpecOptions";
|
|
pub const CFSTR_DSDISPLAYSPECOPTIONS = "DsDisplaySpecOptions";
|
|
pub const DS_PROP_SHELL_PREFIX = "shell";
|
|
pub const DS_PROP_ADMIN_PREFIX = "admin";
|
|
pub const DSDSOF_HASUSERANDSERVERINFO = @as(u32, 1);
|
|
pub const DSDSOF_SIMPLEAUTHENTICATE = @as(u32, 2);
|
|
pub const DSDSOF_DONTSIGNSEAL = @as(u32, 4);
|
|
pub const DSDSOF_DSAVAILABLE = @as(u32, 1073741824);
|
|
pub const CFSTR_DSPROPERTYPAGEINFO = "DsPropPageInfo";
|
|
pub const DSPROP_ATTRCHANGED_MSG = "DsPropAttrChanged";
|
|
pub const DBDTF_RETURNFQDN = @as(u32, 1);
|
|
pub const DBDTF_RETURNMIXEDDOMAINS = @as(u32, 2);
|
|
pub const DBDTF_RETURNEXTERNAL = @as(u32, 4);
|
|
pub const DBDTF_RETURNINBOUND = @as(u32, 8);
|
|
pub const DBDTF_RETURNINOUTBOUND = @as(u32, 16);
|
|
pub const DSSSF_SIMPLEAUTHENTICATE = @as(u32, 1);
|
|
pub const DSSSF_DONTSIGNSEAL = @as(u32, 2);
|
|
pub const DSSSF_DSAVAILABLE = @as(u32, 2147483648);
|
|
pub const DSGIF_ISNORMAL = @as(u32, 0);
|
|
pub const DSGIF_ISOPEN = @as(u32, 1);
|
|
pub const DSGIF_ISDISABLED = @as(u32, 2);
|
|
pub const DSGIF_ISMASK = @as(u32, 15);
|
|
pub const DSGIF_GETDEFAULTICON = @as(u32, 16);
|
|
pub const DSGIF_DEFAULTISCONTAINER = @as(u32, 32);
|
|
pub const DSICCF_IGNORETREATASLEAF = @as(u32, 1);
|
|
pub const DSECAF_NOTLISTED = @as(u32, 1);
|
|
pub const DSCCIF_HASWIZARDDIALOG = @as(u32, 1);
|
|
pub const DSCCIF_HASWIZARDPRIMARYPAGE = @as(u32, 2);
|
|
pub const DSBI_NOBUTTONS = @as(u32, 1);
|
|
pub const DSBI_NOLINES = @as(u32, 2);
|
|
pub const DSBI_NOLINESATROOT = @as(u32, 4);
|
|
pub const DSBI_CHECKBOXES = @as(u32, 256);
|
|
pub const DSBI_NOROOT = @as(u32, 65536);
|
|
pub const DSBI_INCLUDEHIDDEN = @as(u32, 131072);
|
|
pub const DSBI_EXPANDONOPEN = @as(u32, 262144);
|
|
pub const DSBI_ENTIREDIRECTORY = @as(u32, 589824);
|
|
pub const DSBI_RETURN_FORMAT = @as(u32, 1048576);
|
|
pub const DSBI_HASCREDENTIALS = @as(u32, 2097152);
|
|
pub const DSBI_IGNORETREATASLEAF = @as(u32, 4194304);
|
|
pub const DSBI_SIMPLEAUTHENTICATE = @as(u32, 8388608);
|
|
pub const DSBI_RETURNOBJECTCLASS = @as(u32, 16777216);
|
|
pub const DSBI_DONTSIGNSEAL = @as(u32, 33554432);
|
|
pub const DSB_MAX_DISPLAYNAME_CHARS = @as(u32, 64);
|
|
pub const DSBF_STATE = @as(u32, 1);
|
|
pub const DSBF_ICONLOCATION = @as(u32, 2);
|
|
pub const DSBF_DISPLAYNAME = @as(u32, 4);
|
|
pub const DSBS_CHECKED = @as(u32, 1);
|
|
pub const DSBS_HIDDEN = @as(u32, 2);
|
|
pub const DSBS_ROOT = @as(u32, 4);
|
|
pub const DSBM_QUERYINSERTW = @as(u32, 100);
|
|
pub const DSBM_QUERYINSERTA = @as(u32, 101);
|
|
pub const DSBM_QUERYINSERT = @as(u32, 100);
|
|
pub const DSBM_CHANGEIMAGESTATE = @as(u32, 102);
|
|
pub const DSBM_HELP = @as(u32, 103);
|
|
pub const DSBM_CONTEXTMENU = @as(u32, 104);
|
|
pub const DSBID_BANNER = @as(u32, 256);
|
|
pub const DSBID_CONTAINERLIST = @as(u32, 257);
|
|
pub const DS_FORCE_REDISCOVERY = @as(u32, 1);
|
|
pub const DS_DIRECTORY_SERVICE_REQUIRED = @as(u32, 16);
|
|
pub const DS_DIRECTORY_SERVICE_PREFERRED = @as(u32, 32);
|
|
pub const DS_GC_SERVER_REQUIRED = @as(u32, 64);
|
|
pub const DS_PDC_REQUIRED = @as(u32, 128);
|
|
pub const DS_BACKGROUND_ONLY = @as(u32, 256);
|
|
pub const DS_IP_REQUIRED = @as(u32, 512);
|
|
pub const DS_KDC_REQUIRED = @as(u32, 1024);
|
|
pub const DS_TIMESERV_REQUIRED = @as(u32, 2048);
|
|
pub const DS_WRITABLE_REQUIRED = @as(u32, 4096);
|
|
pub const DS_GOOD_TIMESERV_PREFERRED = @as(u32, 8192);
|
|
pub const DS_AVOID_SELF = @as(u32, 16384);
|
|
pub const DS_ONLY_LDAP_NEEDED = @as(u32, 32768);
|
|
pub const DS_IS_FLAT_NAME = @as(u32, 65536);
|
|
pub const DS_IS_DNS_NAME = @as(u32, 131072);
|
|
pub const DS_TRY_NEXTCLOSEST_SITE = @as(u32, 262144);
|
|
pub const DS_DIRECTORY_SERVICE_6_REQUIRED = @as(u32, 524288);
|
|
pub const DS_WEB_SERVICE_REQUIRED = @as(u32, 1048576);
|
|
pub const DS_DIRECTORY_SERVICE_8_REQUIRED = @as(u32, 2097152);
|
|
pub const DS_DIRECTORY_SERVICE_9_REQUIRED = @as(u32, 4194304);
|
|
pub const DS_DIRECTORY_SERVICE_10_REQUIRED = @as(u32, 8388608);
|
|
pub const DS_KEY_LIST_SUPPORT_REQUIRED = @as(u32, 16777216);
|
|
pub const DS_RETURN_DNS_NAME = @as(u32, 1073741824);
|
|
pub const DS_RETURN_FLAT_NAME = @as(u32, 2147483648);
|
|
pub const DS_PDC_FLAG = @as(u32, 1);
|
|
pub const DS_GC_FLAG = @as(u32, 4);
|
|
pub const DS_LDAP_FLAG = @as(u32, 8);
|
|
pub const DS_DS_FLAG = @as(u32, 16);
|
|
pub const DS_KDC_FLAG = @as(u32, 32);
|
|
pub const DS_TIMESERV_FLAG = @as(u32, 64);
|
|
pub const DS_CLOSEST_FLAG = @as(u32, 128);
|
|
pub const DS_WRITABLE_FLAG = @as(u32, 256);
|
|
pub const DS_GOOD_TIMESERV_FLAG = @as(u32, 512);
|
|
pub const DS_NDNC_FLAG = @as(u32, 1024);
|
|
pub const DS_SELECT_SECRET_DOMAIN_6_FLAG = @as(u32, 2048);
|
|
pub const DS_FULL_SECRET_DOMAIN_6_FLAG = @as(u32, 4096);
|
|
pub const DS_WS_FLAG = @as(u32, 8192);
|
|
pub const DS_DS_8_FLAG = @as(u32, 16384);
|
|
pub const DS_DS_9_FLAG = @as(u32, 32768);
|
|
pub const DS_DS_10_FLAG = @as(u32, 65536);
|
|
pub const DS_KEY_LIST_FLAG = @as(u32, 131072);
|
|
pub const DS_PING_FLAGS = @as(u32, 1048575);
|
|
pub const DS_DNS_CONTROLLER_FLAG = @as(u32, 536870912);
|
|
pub const DS_DNS_DOMAIN_FLAG = @as(u32, 1073741824);
|
|
pub const DS_DNS_FOREST_FLAG = @as(u32, 2147483648);
|
|
pub const DS_DOMAIN_IN_FOREST = @as(u32, 1);
|
|
pub const DS_DOMAIN_DIRECT_OUTBOUND = @as(u32, 2);
|
|
pub const DS_DOMAIN_TREE_ROOT = @as(u32, 4);
|
|
pub const DS_DOMAIN_PRIMARY = @as(u32, 8);
|
|
pub const DS_DOMAIN_NATIVE_MODE = @as(u32, 16);
|
|
pub const DS_DOMAIN_DIRECT_INBOUND = @as(u32, 32);
|
|
pub const DS_GFTI_UPDATE_TDO = @as(u32, 1);
|
|
pub const DS_GFTI_VALID_FLAGS = @as(u32, 1);
|
|
pub const DS_ONLY_DO_SITE_NAME = @as(u32, 1);
|
|
pub const DS_NOTIFY_AFTER_SITE_RECORDS = @as(u32, 2);
|
|
pub const CLSID_DsQuery = Guid.initString("8a23e65e-31c2-11d0-891c-00a024ab2dbb");
|
|
pub const CLSID_DsFindObjects = Guid.initString("83ee3fe1-57d9-11d0-b932-00a024ab2dbb");
|
|
pub const CLSID_DsFindPeople = Guid.initString("83ee3fe2-57d9-11d0-b932-00a024ab2dbb");
|
|
pub const CLSID_DsFindPrinter = Guid.initString("b577f070-7ee2-11d0-913f-00aa00c16e65");
|
|
pub const CLSID_DsFindComputer = Guid.initString("16006700-87ad-11d0-9140-00aa00c16e65");
|
|
pub const CLSID_DsFindVolume = Guid.initString("c1b3cbf1-886a-11d0-9140-00aa00c16e65");
|
|
pub const CLSID_DsFindContainer = Guid.initString("c1b3cbf2-886a-11d0-9140-00aa00c16e65");
|
|
pub const CLSID_DsFindAdvanced = Guid.initString("83ee3fe3-57d9-11d0-b932-00a024ab2dbb");
|
|
pub const CLSID_DsFindDomainController = Guid.initString("538c7b7e-d25e-11d0-9742-00a0c906af45");
|
|
pub const CLSID_DsFindWriteableDomainController = Guid.initString("7cbef079-aa84-444b-bc70-68e41283eabc");
|
|
pub const CLSID_DsFindFrsMembers = Guid.initString("94ce4b18-b3d3-11d1-b9b4-00c04fd8d5b0");
|
|
pub const DSQPF_NOSAVE = @as(u32, 1);
|
|
pub const DSQPF_SAVELOCATION = @as(u32, 2);
|
|
pub const DSQPF_SHOWHIDDENOBJECTS = @as(u32, 4);
|
|
pub const DSQPF_ENABLEADMINFEATURES = @as(u32, 8);
|
|
pub const DSQPF_ENABLEADVANCEDFEATURES = @as(u32, 16);
|
|
pub const DSQPF_HASCREDENTIALS = @as(u32, 32);
|
|
pub const DSQPF_NOCHOOSECOLUMNS = @as(u32, 64);
|
|
pub const CFSTR_DSQUERYPARAMS = "DsQueryParameters";
|
|
pub const CFSTR_DSQUERYSCOPE = "DsQueryScope";
|
|
pub const DSQPM_GETCLASSLIST = @as(u32, 268435456);
|
|
pub const DSQPM_HELPTOPICS = @as(u32, 268435457);
|
|
pub const DSROLE_PRIMARY_DS_RUNNING = @as(u32, 1);
|
|
pub const DSROLE_PRIMARY_DS_MIXED_MODE = @as(u32, 2);
|
|
pub const DSROLE_UPGRADE_IN_PROGRESS = @as(u32, 4);
|
|
pub const DSROLE_PRIMARY_DS_READONLY = @as(u32, 8);
|
|
pub const DSROLE_PRIMARY_DOMAIN_GUID_PRESENT = @as(u32, 16777216);
|
|
pub const ADS_ATTR_CLEAR = @as(u32, 1);
|
|
pub const ADS_ATTR_UPDATE = @as(u32, 2);
|
|
pub const ADS_ATTR_APPEND = @as(u32, 3);
|
|
pub const ADS_ATTR_DELETE = @as(u32, 4);
|
|
pub const ADS_EXT_MINEXTDISPID = @as(u32, 1);
|
|
pub const ADS_EXT_MAXEXTDISPID = @as(u32, 16777215);
|
|
pub const ADS_EXT_INITCREDENTIALS = @as(u32, 1);
|
|
pub const ADS_EXT_INITIALIZE_COMPLETE = @as(u32, 2);
|
|
pub const DS_BEHAVIOR_WIN2000 = @as(u32, 0);
|
|
pub const DS_BEHAVIOR_WIN2003_WITH_MIXED_DOMAINS = @as(u32, 1);
|
|
pub const DS_BEHAVIOR_WIN2003 = @as(u32, 2);
|
|
pub const DS_BEHAVIOR_WIN2008 = @as(u32, 3);
|
|
pub const DS_BEHAVIOR_WIN2008R2 = @as(u32, 4);
|
|
pub const DS_BEHAVIOR_WIN2012 = @as(u32, 5);
|
|
pub const DS_BEHAVIOR_WIN2012R2 = @as(u32, 6);
|
|
pub const DS_BEHAVIOR_WIN2016 = @as(u32, 7);
|
|
pub const DS_BEHAVIOR_LONGHORN = @as(u32, 3);
|
|
pub const DS_BEHAVIOR_WIN7 = @as(u32, 4);
|
|
pub const DS_BEHAVIOR_WIN8 = @as(u32, 5);
|
|
pub const DS_BEHAVIOR_WINBLUE = @as(u32, 6);
|
|
pub const DS_BEHAVIOR_WINTHRESHOLD = @as(u32, 7);
|
|
pub const DS_SYNCED_EVENT_NAME = "NTDSInitialSyncsCompleted";
|
|
pub const DS_SYNCED_EVENT_NAME_W = "NTDSInitialSyncsCompleted";
|
|
pub const ACTRL_DS_OPEN = @as(u32, 0);
|
|
pub const ACTRL_DS_CREATE_CHILD = @as(u32, 1);
|
|
pub const ACTRL_DS_DELETE_CHILD = @as(u32, 2);
|
|
pub const ACTRL_DS_LIST = @as(u32, 4);
|
|
pub const ACTRL_DS_SELF = @as(u32, 8);
|
|
pub const ACTRL_DS_READ_PROP = @as(u32, 16);
|
|
pub const ACTRL_DS_WRITE_PROP = @as(u32, 32);
|
|
pub const ACTRL_DS_DELETE_TREE = @as(u32, 64);
|
|
pub const ACTRL_DS_LIST_OBJECT = @as(u32, 128);
|
|
pub const ACTRL_DS_CONTROL_ACCESS = @as(u32, 256);
|
|
pub const NTDSAPI_BIND_ALLOW_DELEGATION = @as(u32, 1);
|
|
pub const NTDSAPI_BIND_FIND_BINDING = @as(u32, 2);
|
|
pub const NTDSAPI_BIND_FORCE_KERBEROS = @as(u32, 4);
|
|
pub const DS_REPSYNC_ASYNCHRONOUS_OPERATION = @as(u32, 1);
|
|
pub const DS_REPSYNC_WRITEABLE = @as(u32, 2);
|
|
pub const DS_REPSYNC_PERIODIC = @as(u32, 4);
|
|
pub const DS_REPSYNC_INTERSITE_MESSAGING = @as(u32, 8);
|
|
pub const DS_REPSYNC_FULL = @as(u32, 32);
|
|
pub const DS_REPSYNC_URGENT = @as(u32, 64);
|
|
pub const DS_REPSYNC_NO_DISCARD = @as(u32, 128);
|
|
pub const DS_REPSYNC_FORCE = @as(u32, 256);
|
|
pub const DS_REPSYNC_ADD_REFERENCE = @as(u32, 512);
|
|
pub const DS_REPSYNC_NEVER_COMPLETED = @as(u32, 1024);
|
|
pub const DS_REPSYNC_TWO_WAY = @as(u32, 2048);
|
|
pub const DS_REPSYNC_NEVER_NOTIFY = @as(u32, 4096);
|
|
pub const DS_REPSYNC_INITIAL = @as(u32, 8192);
|
|
pub const DS_REPSYNC_USE_COMPRESSION = @as(u32, 16384);
|
|
pub const DS_REPSYNC_ABANDONED = @as(u32, 32768);
|
|
pub const DS_REPSYNC_SELECT_SECRETS = @as(u32, 32768);
|
|
pub const DS_REPSYNC_INITIAL_IN_PROGRESS = @as(u32, 65536);
|
|
pub const DS_REPSYNC_PARTIAL_ATTRIBUTE_SET = @as(u32, 131072);
|
|
pub const DS_REPSYNC_REQUEUE = @as(u32, 262144);
|
|
pub const DS_REPSYNC_NOTIFICATION = @as(u32, 524288);
|
|
pub const DS_REPSYNC_ASYNCHRONOUS_REPLICA = @as(u32, 1048576);
|
|
pub const DS_REPSYNC_CRITICAL = @as(u32, 2097152);
|
|
pub const DS_REPSYNC_FULL_IN_PROGRESS = @as(u32, 4194304);
|
|
pub const DS_REPSYNC_PREEMPTED = @as(u32, 8388608);
|
|
pub const DS_REPSYNC_NONGC_RO_REPLICA = @as(u32, 16777216);
|
|
pub const DS_REPADD_ASYNCHRONOUS_OPERATION = @as(u32, 1);
|
|
pub const DS_REPADD_WRITEABLE = @as(u32, 2);
|
|
pub const DS_REPADD_INITIAL = @as(u32, 4);
|
|
pub const DS_REPADD_PERIODIC = @as(u32, 8);
|
|
pub const DS_REPADD_INTERSITE_MESSAGING = @as(u32, 16);
|
|
pub const DS_REPADD_ASYNCHRONOUS_REPLICA = @as(u32, 32);
|
|
pub const DS_REPADD_DISABLE_NOTIFICATION = @as(u32, 64);
|
|
pub const DS_REPADD_DISABLE_PERIODIC = @as(u32, 128);
|
|
pub const DS_REPADD_USE_COMPRESSION = @as(u32, 256);
|
|
pub const DS_REPADD_NEVER_NOTIFY = @as(u32, 512);
|
|
pub const DS_REPADD_TWO_WAY = @as(u32, 1024);
|
|
pub const DS_REPADD_CRITICAL = @as(u32, 2048);
|
|
pub const DS_REPADD_SELECT_SECRETS = @as(u32, 4096);
|
|
pub const DS_REPADD_NONGC_RO_REPLICA = @as(u32, 16777216);
|
|
pub const DS_REPDEL_ASYNCHRONOUS_OPERATION = @as(u32, 1);
|
|
pub const DS_REPDEL_WRITEABLE = @as(u32, 2);
|
|
pub const DS_REPDEL_INTERSITE_MESSAGING = @as(u32, 4);
|
|
pub const DS_REPDEL_IGNORE_ERRORS = @as(u32, 8);
|
|
pub const DS_REPDEL_LOCAL_ONLY = @as(u32, 16);
|
|
pub const DS_REPDEL_NO_SOURCE = @as(u32, 32);
|
|
pub const DS_REPDEL_REF_OK = @as(u32, 64);
|
|
pub const DS_REPMOD_ASYNCHRONOUS_OPERATION = @as(u32, 1);
|
|
pub const DS_REPMOD_WRITEABLE = @as(u32, 2);
|
|
pub const DS_REPMOD_UPDATE_FLAGS = @as(u32, 1);
|
|
pub const DS_REPMOD_UPDATE_INSTANCE = @as(u32, 2);
|
|
pub const DS_REPMOD_UPDATE_ADDRESS = @as(u32, 2);
|
|
pub const DS_REPMOD_UPDATE_SCHEDULE = @as(u32, 4);
|
|
pub const DS_REPMOD_UPDATE_RESULT = @as(u32, 8);
|
|
pub const DS_REPMOD_UPDATE_TRANSPORT = @as(u32, 16);
|
|
pub const DS_REPUPD_ASYNCHRONOUS_OPERATION = @as(u32, 1);
|
|
pub const DS_REPUPD_WRITEABLE = @as(u32, 2);
|
|
pub const DS_REPUPD_ADD_REFERENCE = @as(u32, 4);
|
|
pub const DS_REPUPD_DELETE_REFERENCE = @as(u32, 8);
|
|
pub const DS_REPUPD_REFERENCE_GCSPN = @as(u32, 16);
|
|
pub const DS_INSTANCETYPE_IS_NC_HEAD = @as(u32, 1);
|
|
pub const DS_INSTANCETYPE_NC_IS_WRITEABLE = @as(u32, 4);
|
|
pub const DS_INSTANCETYPE_NC_COMING = @as(u32, 16);
|
|
pub const DS_INSTANCETYPE_NC_GOING = @as(u32, 32);
|
|
pub const NTDSDSA_OPT_IS_GC = @as(u32, 1);
|
|
pub const NTDSDSA_OPT_DISABLE_INBOUND_REPL = @as(u32, 2);
|
|
pub const NTDSDSA_OPT_DISABLE_OUTBOUND_REPL = @as(u32, 4);
|
|
pub const NTDSDSA_OPT_DISABLE_NTDSCONN_XLATE = @as(u32, 8);
|
|
pub const NTDSDSA_OPT_DISABLE_SPN_REGISTRATION = @as(u32, 16);
|
|
pub const NTDSDSA_OPT_GENERATE_OWN_TOPO = @as(u32, 32);
|
|
pub const NTDSDSA_OPT_BLOCK_RPC = @as(u32, 64);
|
|
pub const NTDSCONN_OPT_IS_GENERATED = @as(u32, 1);
|
|
pub const NTDSCONN_OPT_TWOWAY_SYNC = @as(u32, 2);
|
|
pub const NTDSCONN_OPT_OVERRIDE_NOTIFY_DEFAULT = @as(u32, 4);
|
|
pub const NTDSCONN_OPT_USE_NOTIFY = @as(u32, 8);
|
|
pub const NTDSCONN_OPT_DISABLE_INTERSITE_COMPRESSION = @as(u32, 16);
|
|
pub const NTDSCONN_OPT_USER_OWNED_SCHEDULE = @as(u32, 32);
|
|
pub const NTDSCONN_OPT_RODC_TOPOLOGY = @as(u32, 64);
|
|
pub const NTDSCONN_KCC_NO_REASON = @as(u32, 0);
|
|
pub const NTDSCONN_KCC_GC_TOPOLOGY = @as(u32, 1);
|
|
pub const NTDSCONN_KCC_RING_TOPOLOGY = @as(u32, 2);
|
|
pub const NTDSCONN_KCC_MINIMIZE_HOPS_TOPOLOGY = @as(u32, 4);
|
|
pub const NTDSCONN_KCC_STALE_SERVERS_TOPOLOGY = @as(u32, 8);
|
|
pub const NTDSCONN_KCC_OSCILLATING_CONNECTION_TOPOLOGY = @as(u32, 16);
|
|
pub const NTDSCONN_KCC_INTERSITE_GC_TOPOLOGY = @as(u32, 32);
|
|
pub const NTDSCONN_KCC_INTERSITE_TOPOLOGY = @as(u32, 64);
|
|
pub const NTDSCONN_KCC_SERVER_FAILOVER_TOPOLOGY = @as(u32, 128);
|
|
pub const NTDSCONN_KCC_SITE_FAILOVER_TOPOLOGY = @as(u32, 256);
|
|
pub const NTDSCONN_KCC_REDUNDANT_SERVER_TOPOLOGY = @as(u32, 512);
|
|
pub const FRSCONN_PRIORITY_MASK = @as(u32, 1879048192);
|
|
pub const FRSCONN_MAX_PRIORITY = @as(u32, 8);
|
|
pub const NTDSCONN_OPT_IGNORE_SCHEDULE_MASK = @as(u32, 2147483648);
|
|
pub const NTDSSETTINGS_OPT_IS_AUTO_TOPOLOGY_DISABLED = @as(u32, 1);
|
|
pub const NTDSSETTINGS_OPT_IS_TOPL_CLEANUP_DISABLED = @as(u32, 2);
|
|
pub const NTDSSETTINGS_OPT_IS_TOPL_MIN_HOPS_DISABLED = @as(u32, 4);
|
|
pub const NTDSSETTINGS_OPT_IS_TOPL_DETECT_STALE_DISABLED = @as(u32, 8);
|
|
pub const NTDSSETTINGS_OPT_IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED = @as(u32, 16);
|
|
pub const NTDSSETTINGS_OPT_IS_GROUP_CACHING_ENABLED = @as(u32, 32);
|
|
pub const NTDSSETTINGS_OPT_FORCE_KCC_WHISTLER_BEHAVIOR = @as(u32, 64);
|
|
pub const NTDSSETTINGS_OPT_FORCE_KCC_W2K_ELECTION = @as(u32, 128);
|
|
pub const NTDSSETTINGS_OPT_IS_RAND_BH_SELECTION_DISABLED = @as(u32, 256);
|
|
pub const NTDSSETTINGS_OPT_IS_SCHEDULE_HASHING_ENABLED = @as(u32, 512);
|
|
pub const NTDSSETTINGS_OPT_IS_REDUNDANT_SERVER_TOPOLOGY_ENABLED = @as(u32, 1024);
|
|
pub const NTDSSETTINGS_OPT_W2K3_IGNORE_SCHEDULES = @as(u32, 2048);
|
|
pub const NTDSSETTINGS_OPT_W2K3_BRIDGES_REQUIRED = @as(u32, 4096);
|
|
pub const NTDSSETTINGS_DEFAULT_SERVER_REDUNDANCY = @as(u32, 2);
|
|
pub const NTDSTRANSPORT_OPT_IGNORE_SCHEDULES = @as(u32, 1);
|
|
pub const NTDSTRANSPORT_OPT_BRIDGES_REQUIRED = @as(u32, 2);
|
|
pub const NTDSSITECONN_OPT_USE_NOTIFY = @as(u32, 1);
|
|
pub const NTDSSITECONN_OPT_TWOWAY_SYNC = @as(u32, 2);
|
|
pub const NTDSSITECONN_OPT_DISABLE_COMPRESSION = @as(u32, 4);
|
|
pub const NTDSSITELINK_OPT_USE_NOTIFY = @as(u32, 1);
|
|
pub const NTDSSITELINK_OPT_TWOWAY_SYNC = @as(u32, 2);
|
|
pub const NTDSSITELINK_OPT_DISABLE_COMPRESSION = @as(u32, 4);
|
|
pub const GUID_USERS_CONTAINER_A = "a9d1ca15768811d1aded00c04fd8d5cd";
|
|
pub const GUID_COMPUTRS_CONTAINER_A = "aa312825768811d1aded00c04fd8d5cd";
|
|
pub const GUID_SYSTEMS_CONTAINER_A = "ab1d30f3768811d1aded00c04fd8d5cd";
|
|
pub const GUID_DOMAIN_CONTROLLERS_CONTAINER_A = "a361b2ffffd211d1aa4b00c04fd7d83a";
|
|
pub const GUID_INFRASTRUCTURE_CONTAINER_A = "2fbac1870ade11d297c400c04fd8d5cd";
|
|
pub const GUID_DELETED_OBJECTS_CONTAINER_A = "18e2ea80684f11d2b9aa00c04f79f805";
|
|
pub const GUID_LOSTANDFOUND_CONTAINER_A = "ab8153b7768811d1aded00c04fd8d5cd";
|
|
pub const GUID_FOREIGNSECURITYPRINCIPALS_CONTAINER_A = "22b70c67d56e4efb91e9300fca3dc1aa";
|
|
pub const GUID_PROGRAM_DATA_CONTAINER_A = "09460c08ae1e4a4ea0f64aee7daa1e5a";
|
|
pub const GUID_MICROSOFT_PROGRAM_DATA_CONTAINER_A = "f4be92a4c777485e878e9421d53087db";
|
|
pub const GUID_NTDS_QUOTAS_CONTAINER_A = "6227f0af1fc2410d8e3bb10615bb5b0f";
|
|
pub const GUID_USERS_CONTAINER_W = "a9d1ca15768811d1aded00c04fd8d5cd";
|
|
pub const GUID_COMPUTRS_CONTAINER_W = "aa312825768811d1aded00c04fd8d5cd";
|
|
pub const GUID_SYSTEMS_CONTAINER_W = "ab1d30f3768811d1aded00c04fd8d5cd";
|
|
pub const GUID_DOMAIN_CONTROLLERS_CONTAINER_W = "a361b2ffffd211d1aa4b00c04fd7d83a";
|
|
pub const GUID_INFRASTRUCTURE_CONTAINER_W = "2fbac1870ade11d297c400c04fd8d5cd";
|
|
pub const GUID_DELETED_OBJECTS_CONTAINER_W = "18e2ea80684f11d2b9aa00c04f79f805";
|
|
pub const GUID_LOSTANDFOUND_CONTAINER_W = "ab8153b7768811d1aded00c04fd8d5cd";
|
|
pub const GUID_FOREIGNSECURITYPRINCIPALS_CONTAINER_W = "22b70c67d56e4efb91e9300fca3dc1aa";
|
|
pub const GUID_PROGRAM_DATA_CONTAINER_W = "09460c08ae1e4a4ea0f64aee7daa1e5a";
|
|
pub const GUID_MICROSOFT_PROGRAM_DATA_CONTAINER_W = "f4be92a4c777485e878e9421d53087db";
|
|
pub const GUID_NTDS_QUOTAS_CONTAINER_W = "6227f0af1fc2410d8e3bb10615bb5b0f";
|
|
pub const GUID_MANAGED_SERVICE_ACCOUNTS_CONTAINER_W = "1EB93889E40C45DF9F0C64D23BBB6237";
|
|
pub const GUID_KEYS_CONTAINER_W = "683A24E2E8164BD3AF86AC3C2CF3F981";
|
|
pub const DS_REPSYNCALL_NO_OPTIONS = @as(u32, 0);
|
|
pub const DS_REPSYNCALL_ABORT_IF_SERVER_UNAVAILABLE = @as(u32, 1);
|
|
pub const DS_REPSYNCALL_SYNC_ADJACENT_SERVERS_ONLY = @as(u32, 2);
|
|
pub const DS_REPSYNCALL_ID_SERVERS_BY_DN = @as(u32, 4);
|
|
pub const DS_REPSYNCALL_DO_NOT_SYNC = @as(u32, 8);
|
|
pub const DS_REPSYNCALL_SKIP_INITIAL_CHECK = @as(u32, 16);
|
|
pub const DS_REPSYNCALL_PUSH_CHANGES_OUTWARD = @as(u32, 32);
|
|
pub const DS_REPSYNCALL_CROSS_SITE_BOUNDARIES = @as(u32, 64);
|
|
pub const DS_LIST_DSA_OBJECT_FOR_SERVER = @as(u32, 0);
|
|
pub const DS_LIST_DNS_HOST_NAME_FOR_SERVER = @as(u32, 1);
|
|
pub const DS_LIST_ACCOUNT_OBJECT_FOR_SERVER = @as(u32, 2);
|
|
pub const DS_ROLE_SCHEMA_OWNER = @as(u32, 0);
|
|
pub const DS_ROLE_DOMAIN_OWNER = @as(u32, 1);
|
|
pub const DS_ROLE_PDC_OWNER = @as(u32, 2);
|
|
pub const DS_ROLE_RID_OWNER = @as(u32, 3);
|
|
pub const DS_ROLE_INFRASTRUCTURE_OWNER = @as(u32, 4);
|
|
pub const DS_SCHEMA_GUID_NOT_FOUND = @as(u32, 0);
|
|
pub const DS_SCHEMA_GUID_ATTR = @as(u32, 1);
|
|
pub const DS_SCHEMA_GUID_ATTR_SET = @as(u32, 2);
|
|
pub const DS_SCHEMA_GUID_CLASS = @as(u32, 3);
|
|
pub const DS_SCHEMA_GUID_CONTROL_RIGHT = @as(u32, 4);
|
|
pub const DS_KCC_FLAG_ASYNC_OP = @as(u32, 1);
|
|
pub const DS_KCC_FLAG_DAMPED = @as(u32, 2);
|
|
pub const DS_EXIST_ADVISORY_MODE = @as(u32, 1);
|
|
pub const DS_REPL_INFO_FLAG_IMPROVE_LINKED_ATTRS = @as(u32, 1);
|
|
pub const DS_REPL_NBR_WRITEABLE = @as(u32, 16);
|
|
pub const DS_REPL_NBR_SYNC_ON_STARTUP = @as(u32, 32);
|
|
pub const DS_REPL_NBR_DO_SCHEDULED_SYNCS = @as(u32, 64);
|
|
pub const DS_REPL_NBR_USE_ASYNC_INTERSITE_TRANSPORT = @as(u32, 128);
|
|
pub const DS_REPL_NBR_TWO_WAY_SYNC = @as(u32, 512);
|
|
pub const DS_REPL_NBR_NONGC_RO_REPLICA = @as(u32, 1024);
|
|
pub const DS_REPL_NBR_RETURN_OBJECT_PARENTS = @as(u32, 2048);
|
|
pub const DS_REPL_NBR_SELECT_SECRETS = @as(u32, 4096);
|
|
pub const DS_REPL_NBR_FULL_SYNC_IN_PROGRESS = @as(u32, 65536);
|
|
pub const DS_REPL_NBR_FULL_SYNC_NEXT_PACKET = @as(u32, 131072);
|
|
pub const DS_REPL_NBR_GCSPN = @as(u32, 1048576);
|
|
pub const DS_REPL_NBR_NEVER_SYNCED = @as(u32, 2097152);
|
|
pub const DS_REPL_NBR_PREEMPTED = @as(u32, 16777216);
|
|
pub const DS_REPL_NBR_IGNORE_CHANGE_NOTIFICATIONS = @as(u32, 67108864);
|
|
pub const DS_REPL_NBR_DISABLE_SCHEDULED_SYNC = @as(u32, 134217728);
|
|
pub const DS_REPL_NBR_COMPRESS_CHANGES = @as(u32, 268435456);
|
|
pub const DS_REPL_NBR_NO_CHANGE_NOTIFICATIONS = @as(u32, 536870912);
|
|
pub const DS_REPL_NBR_PARTIAL_ATTRIBUTE_SET = @as(u32, 1073741824);
|
|
pub const ADAM_SCP_SITE_NAME_STRING = "site:";
|
|
pub const ADAM_SCP_SITE_NAME_STRING_W = "site:";
|
|
pub const ADAM_SCP_PARTITION_STRING = "partition:";
|
|
pub const ADAM_SCP_PARTITION_STRING_W = "partition:";
|
|
pub const ADAM_SCP_INSTANCE_NAME_STRING = "instance:";
|
|
pub const ADAM_SCP_INSTANCE_NAME_STRING_W = "instance:";
|
|
pub const ADAM_SCP_FSMO_STRING = "fsmo:";
|
|
pub const ADAM_SCP_FSMO_STRING_W = "fsmo:";
|
|
pub const ADAM_SCP_FSMO_NAMING_STRING = "naming";
|
|
pub const ADAM_SCP_FSMO_NAMING_STRING_W = "naming";
|
|
pub const ADAM_SCP_FSMO_SCHEMA_STRING = "schema";
|
|
pub const ADAM_SCP_FSMO_SCHEMA_STRING_W = "schema";
|
|
pub const ADAM_REPL_AUTHENTICATION_MODE_NEGOTIATE_PASS_THROUGH = @as(u32, 0);
|
|
pub const ADAM_REPL_AUTHENTICATION_MODE_NEGOTIATE = @as(u32, 1);
|
|
pub const ADAM_REPL_AUTHENTICATION_MODE_MUTUAL_AUTH_REQUIRED = @as(u32, 2);
|
|
pub const FLAG_FOREST_OPTIONAL_FEATURE = @as(u32, 1);
|
|
pub const FLAG_DOMAIN_OPTIONAL_FEATURE = @as(u32, 2);
|
|
pub const FLAG_DISABLABLE_OPTIONAL_FEATURE = @as(u32, 4);
|
|
pub const FLAG_SERVER_OPTIONAL_FEATURE = @as(u32, 8);
|
|
pub const GUID_RECYCLE_BIN_OPTIONAL_FEATURE_A = "d8dc6d76d0ac5e44f3b9a7f9b6744f2a";
|
|
pub const GUID_RECYCLE_BIN_OPTIONAL_FEATURE_W = "d8dc6d76d0ac5e44f3b9a7f9b6744f2a";
|
|
pub const GUID_PRIVILEGED_ACCESS_MANAGEMENT_OPTIONAL_FEATURE_A = "73e843ece8cc4046b4ab07ffe4ab5bcd";
|
|
pub const GUID_PRIVILEGED_ACCESS_MANAGEMENT_OPTIONAL_FEATURE_W = "73e843ece8cc4046b4ab07ffe4ab5bcd";
|
|
pub const CFSTR_DSOP_DS_SELECTION_LIST = "CFSTR_DSOP_DS_SELECTION_LIST";
|
|
pub const DSOP_SCOPE_TYPE_TARGET_COMPUTER = @as(u32, 1);
|
|
pub const DSOP_SCOPE_TYPE_UPLEVEL_JOINED_DOMAIN = @as(u32, 2);
|
|
pub const DSOP_SCOPE_TYPE_DOWNLEVEL_JOINED_DOMAIN = @as(u32, 4);
|
|
pub const DSOP_SCOPE_TYPE_ENTERPRISE_DOMAIN = @as(u32, 8);
|
|
pub const DSOP_SCOPE_TYPE_GLOBAL_CATALOG = @as(u32, 16);
|
|
pub const DSOP_SCOPE_TYPE_EXTERNAL_UPLEVEL_DOMAIN = @as(u32, 32);
|
|
pub const DSOP_SCOPE_TYPE_EXTERNAL_DOWNLEVEL_DOMAIN = @as(u32, 64);
|
|
pub const DSOP_SCOPE_TYPE_WORKGROUP = @as(u32, 128);
|
|
pub const DSOP_SCOPE_TYPE_USER_ENTERED_UPLEVEL_SCOPE = @as(u32, 256);
|
|
pub const DSOP_SCOPE_TYPE_USER_ENTERED_DOWNLEVEL_SCOPE = @as(u32, 512);
|
|
pub const DSOP_SCOPE_FLAG_STARTING_SCOPE = @as(u32, 1);
|
|
pub const DSOP_SCOPE_FLAG_WANT_PROVIDER_WINNT = @as(u32, 2);
|
|
pub const DSOP_SCOPE_FLAG_WANT_PROVIDER_LDAP = @as(u32, 4);
|
|
pub const DSOP_SCOPE_FLAG_WANT_PROVIDER_GC = @as(u32, 8);
|
|
pub const DSOP_SCOPE_FLAG_WANT_SID_PATH = @as(u32, 16);
|
|
pub const DSOP_SCOPE_FLAG_WANT_DOWNLEVEL_BUILTIN_PATH = @as(u32, 32);
|
|
pub const DSOP_SCOPE_FLAG_DEFAULT_FILTER_USERS = @as(u32, 64);
|
|
pub const DSOP_SCOPE_FLAG_DEFAULT_FILTER_GROUPS = @as(u32, 128);
|
|
pub const DSOP_SCOPE_FLAG_DEFAULT_FILTER_COMPUTERS = @as(u32, 256);
|
|
pub const DSOP_SCOPE_FLAG_DEFAULT_FILTER_CONTACTS = @as(u32, 512);
|
|
pub const DSOP_SCOPE_FLAG_DEFAULT_FILTER_SERVICE_ACCOUNTS = @as(u32, 1024);
|
|
pub const DSOP_SCOPE_FLAG_DEFAULT_FILTER_PASSWORDSETTINGS_OBJECTS = @as(u32, 2048);
|
|
pub const DSOP_FILTER_INCLUDE_ADVANCED_VIEW = @as(u32, 1);
|
|
pub const DSOP_FILTER_USERS = @as(u32, 2);
|
|
pub const DSOP_FILTER_BUILTIN_GROUPS = @as(u32, 4);
|
|
pub const DSOP_FILTER_WELL_KNOWN_PRINCIPALS = @as(u32, 8);
|
|
pub const DSOP_FILTER_UNIVERSAL_GROUPS_DL = @as(u32, 16);
|
|
pub const DSOP_FILTER_UNIVERSAL_GROUPS_SE = @as(u32, 32);
|
|
pub const DSOP_FILTER_GLOBAL_GROUPS_DL = @as(u32, 64);
|
|
pub const DSOP_FILTER_GLOBAL_GROUPS_SE = @as(u32, 128);
|
|
pub const DSOP_FILTER_DOMAIN_LOCAL_GROUPS_DL = @as(u32, 256);
|
|
pub const DSOP_FILTER_DOMAIN_LOCAL_GROUPS_SE = @as(u32, 512);
|
|
pub const DSOP_FILTER_CONTACTS = @as(u32, 1024);
|
|
pub const DSOP_FILTER_COMPUTERS = @as(u32, 2048);
|
|
pub const DSOP_FILTER_SERVICE_ACCOUNTS = @as(u32, 4096);
|
|
pub const DSOP_FILTER_PASSWORDSETTINGS_OBJECTS = @as(u32, 8192);
|
|
pub const DSOP_DOWNLEVEL_FILTER_USERS = @as(u32, 2147483649);
|
|
pub const DSOP_DOWNLEVEL_FILTER_LOCAL_GROUPS = @as(u32, 2147483650);
|
|
pub const DSOP_DOWNLEVEL_FILTER_GLOBAL_GROUPS = @as(u32, 2147483652);
|
|
pub const DSOP_DOWNLEVEL_FILTER_COMPUTERS = @as(u32, 2147483656);
|
|
pub const DSOP_DOWNLEVEL_FILTER_WORLD = @as(u32, 2147483664);
|
|
pub const DSOP_DOWNLEVEL_FILTER_AUTHENTICATED_USER = @as(u32, 2147483680);
|
|
pub const DSOP_DOWNLEVEL_FILTER_ANONYMOUS = @as(u32, 2147483712);
|
|
pub const DSOP_DOWNLEVEL_FILTER_BATCH = @as(u32, 2147483776);
|
|
pub const DSOP_DOWNLEVEL_FILTER_CREATOR_OWNER = @as(u32, 2147483904);
|
|
pub const DSOP_DOWNLEVEL_FILTER_CREATOR_GROUP = @as(u32, 2147484160);
|
|
pub const DSOP_DOWNLEVEL_FILTER_DIALUP = @as(u32, 2147484672);
|
|
pub const DSOP_DOWNLEVEL_FILTER_INTERACTIVE = @as(u32, 2147485696);
|
|
pub const DSOP_DOWNLEVEL_FILTER_NETWORK = @as(u32, 2147487744);
|
|
pub const DSOP_DOWNLEVEL_FILTER_SERVICE = @as(u32, 2147491840);
|
|
pub const DSOP_DOWNLEVEL_FILTER_SYSTEM = @as(u32, 2147500032);
|
|
pub const DSOP_DOWNLEVEL_FILTER_EXCLUDE_BUILTIN_GROUPS = @as(u32, 2147516416);
|
|
pub const DSOP_DOWNLEVEL_FILTER_TERMINAL_SERVER = @as(u32, 2147549184);
|
|
pub const DSOP_DOWNLEVEL_FILTER_ALL_WELLKNOWN_SIDS = @as(u32, 2147614720);
|
|
pub const DSOP_DOWNLEVEL_FILTER_LOCAL_SERVICE = @as(u32, 2147745792);
|
|
pub const DSOP_DOWNLEVEL_FILTER_NETWORK_SERVICE = @as(u32, 2148007936);
|
|
pub const DSOP_DOWNLEVEL_FILTER_REMOTE_LOGON = @as(u32, 2148532224);
|
|
pub const DSOP_DOWNLEVEL_FILTER_INTERNET_USER = @as(u32, 2149580800);
|
|
pub const DSOP_DOWNLEVEL_FILTER_OWNER_RIGHTS = @as(u32, 2151677952);
|
|
pub const DSOP_DOWNLEVEL_FILTER_SERVICES = @as(u32, 2155872256);
|
|
pub const DSOP_DOWNLEVEL_FILTER_LOCAL_LOGON = @as(u32, 2164260864);
|
|
pub const DSOP_DOWNLEVEL_FILTER_THIS_ORG_CERT = @as(u32, 2181038080);
|
|
pub const DSOP_DOWNLEVEL_FILTER_IIS_APP_POOL = @as(u32, 2214592512);
|
|
pub const DSOP_DOWNLEVEL_FILTER_ALL_APP_PACKAGES = @as(u32, 2281701376);
|
|
pub const DSOP_DOWNLEVEL_FILTER_LOCAL_ACCOUNTS = @as(u32, 2415919104);
|
|
pub const DSOP_FLAG_MULTISELECT = @as(u32, 1);
|
|
pub const DSOP_FLAG_SKIP_TARGET_COMPUTER_DC_CHECK = @as(u32, 2);
|
|
pub const SCHEDULE_INTERVAL = @as(u32, 0);
|
|
pub const SCHEDULE_BANDWIDTH = @as(u32, 1);
|
|
pub const SCHEDULE_PRIORITY = @as(u32, 2);
|
|
pub const FACILITY_NTDSB = @as(u32, 2048);
|
|
pub const FACILITY_BACKUP = @as(u32, 2047);
|
|
pub const FACILITY_SYSTEM = @as(u32, 0);
|
|
pub const STATUS_SEVERITY_SUCCESS = @as(u32, 0);
|
|
pub const STATUS_SEVERITY_INFORMATIONAL = @as(u32, 1);
|
|
pub const STATUS_SEVERITY_WARNING = @as(u32, 2);
|
|
pub const STATUS_SEVERITY_ERROR = @as(u32, 3);
|
|
pub const hrNone = @import("../zig.zig").typedConst(HRESULT, @as(i32, 0));
|
|
pub const hrNyi = @import("../zig.zig").typedConst(HRESULT, @as(i32, -1073741823));
|
|
pub const hrInvalidParam = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589631));
|
|
pub const hrError = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589630));
|
|
pub const hrInvalidHandle = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589629));
|
|
pub const hrRestoreInProgress = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589628));
|
|
pub const hrAlreadyOpen = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589627));
|
|
pub const hrInvalidRecips = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589626));
|
|
pub const hrCouldNotConnect = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589625));
|
|
pub const hrRestoreMapExists = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589624));
|
|
pub const hrIncrementalBackupDisabled = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589623));
|
|
pub const hrLogFileNotFound = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589622));
|
|
pub const hrCircularLogging = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589621));
|
|
pub const hrNoFullRestore = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589620));
|
|
pub const hrCommunicationError = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589619));
|
|
pub const hrFullBackupNotTaken = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589618));
|
|
pub const hrMissingExpiryToken = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589617));
|
|
pub const hrUnknownExpiryTokenFormat = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589616));
|
|
pub const hrContentsExpired = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939589615));
|
|
pub const hrFileClose = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523994));
|
|
pub const hrOutOfThreads = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523993));
|
|
pub const hrTooManyIO = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523991));
|
|
pub const hrBFNotSynchronous = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013265720));
|
|
pub const hrBFPageNotFound = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013265719));
|
|
pub const hrBFInUse = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523894));
|
|
pub const hrPMRecDeleted = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523794));
|
|
pub const hrRemainingVersions = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013265599));
|
|
pub const hrFLDKeyTooBig = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013265520));
|
|
pub const hrFLDTooManySegments = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523695));
|
|
pub const hrFLDNullKey = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013265518));
|
|
pub const hrLogFileCorrupt = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523595));
|
|
pub const hrNoBackupDirectory = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523593));
|
|
pub const hrBackupDirectoryNotEmpty = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523592));
|
|
pub const hrBackupInProgress = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523591));
|
|
pub const hrMissingPreviousLogFile = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523587));
|
|
pub const hrLogWriteFail = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523586));
|
|
pub const hrBadLogVersion = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523582));
|
|
pub const hrInvalidLogSequence = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523581));
|
|
pub const hrLoggingDisabled = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523580));
|
|
pub const hrLogBufferTooSmall = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523579));
|
|
pub const hrLogSequenceEnd = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523577));
|
|
pub const hrNoBackup = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523576));
|
|
pub const hrInvalidBackupSequence = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523575));
|
|
pub const hrBackupNotAllowedYet = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523573));
|
|
pub const hrDeleteBackupFileFail = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523572));
|
|
pub const hrMakeBackupDirectoryFail = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523571));
|
|
pub const hrInvalidBackup = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523570));
|
|
pub const hrRecoveredWithErrors = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523569));
|
|
pub const hrMissingLogFile = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523568));
|
|
pub const hrLogDiskFull = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523567));
|
|
pub const hrBadLogSignature = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523566));
|
|
pub const hrBadDbSignature = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523565));
|
|
pub const hrBadCheckpointSignature = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523564));
|
|
pub const hrCheckpointCorrupt = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523563));
|
|
pub const hrDatabaseInconsistent = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523546));
|
|
pub const hrConsistentTimeMismatch = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523545));
|
|
pub const hrPatchFileMismatch = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523544));
|
|
pub const hrRestoreLogTooLow = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523543));
|
|
pub const hrRestoreLogTooHigh = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523542));
|
|
pub const hrGivenLogFileHasBadSignature = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523541));
|
|
pub const hrGivenLogFileIsNotContiguous = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523540));
|
|
pub const hrMissingRestoreLogFiles = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523539));
|
|
pub const hrExistingLogFileHasBadSignature = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013265362));
|
|
pub const hrExistingLogFileIsNotContiguous = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013265361));
|
|
pub const hrMissingFullBackup = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523536));
|
|
pub const hrBadBackupDatabaseSize = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523535));
|
|
pub const hrTermInProgress = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523096));
|
|
pub const hrFeatureNotAvailable = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523095));
|
|
pub const hrInvalidName = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523094));
|
|
pub const hrInvalidParameter = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523093));
|
|
pub const hrColumnNull = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264916));
|
|
pub const hrBufferTruncated = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264914));
|
|
pub const hrDatabaseAttached = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264913));
|
|
pub const hrInvalidDatabaseId = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523086));
|
|
pub const hrOutOfMemory = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523085));
|
|
pub const hrOutOfDatabaseSpace = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523084));
|
|
pub const hrOutOfCursors = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523083));
|
|
pub const hrOutOfBuffers = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523082));
|
|
pub const hrTooManyIndexes = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523081));
|
|
pub const hrTooManyKeys = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523080));
|
|
pub const hrRecordDeleted = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523079));
|
|
pub const hrReadVerifyFailure = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523078));
|
|
pub const hrOutOfFileHandles = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523076));
|
|
pub const hrDiskIO = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523074));
|
|
pub const hrInvalidPath = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523073));
|
|
pub const hrRecordTooBig = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523070));
|
|
pub const hrTooManyOpenDatabases = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523069));
|
|
pub const hrInvalidDatabase = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523068));
|
|
pub const hrNotInitialized = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523067));
|
|
pub const hrAlreadyInitialized = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523066));
|
|
pub const hrFileAccessDenied = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523064));
|
|
pub const hrBufferTooSmall = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523058));
|
|
pub const hrSeekNotEqual = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264881));
|
|
pub const hrTooManyColumns = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523056));
|
|
pub const hrContainerNotEmpty = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523053));
|
|
pub const hrInvalidFilename = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523052));
|
|
pub const hrInvalidBookmark = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523051));
|
|
pub const hrColumnInUse = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523050));
|
|
pub const hrInvalidBufferSize = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523049));
|
|
pub const hrColumnNotUpdatable = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523048));
|
|
pub const hrIndexInUse = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523045));
|
|
pub const hrNullKeyDisallowed = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523043));
|
|
pub const hrNotInTransaction = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523042));
|
|
pub const hrNoIdleActivity = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264862));
|
|
pub const hrTooManyActiveUsers = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523037));
|
|
pub const hrInvalidCountry = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523035));
|
|
pub const hrInvalidLanguageId = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523034));
|
|
pub const hrInvalidCodePage = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523033));
|
|
pub const hrNoWriteLock = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264853));
|
|
pub const hrColumnSetNull = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264852));
|
|
pub const hrVersionStoreOutOfMemory = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523027));
|
|
pub const hrCurrencyStackOutOfMemory = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939523026));
|
|
pub const hrOutOfSessions = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522995));
|
|
pub const hrWriteConflict = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522994));
|
|
pub const hrTransTooDeep = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522993));
|
|
pub const hrInvalidSesid = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522992));
|
|
pub const hrSessionWriteConflict = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522989));
|
|
pub const hrInTransaction = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522988));
|
|
pub const hrDatabaseDuplicate = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522895));
|
|
pub const hrDatabaseInUse = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522894));
|
|
pub const hrDatabaseNotFound = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522893));
|
|
pub const hrDatabaseInvalidName = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522892));
|
|
pub const hrDatabaseInvalidPages = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522891));
|
|
pub const hrDatabaseCorrupted = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522890));
|
|
pub const hrDatabaseLocked = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522889));
|
|
pub const hrTableEmpty = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264619));
|
|
pub const hrTableLocked = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522794));
|
|
pub const hrTableDuplicate = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522793));
|
|
pub const hrTableInUse = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522792));
|
|
pub const hrObjectNotFound = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522791));
|
|
pub const hrCannotRename = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522790));
|
|
pub const hrDensityInvalid = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522789));
|
|
pub const hrTableNotEmpty = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522788));
|
|
pub const hrInvalidTableId = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522786));
|
|
pub const hrTooManyOpenTables = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522785));
|
|
pub const hrIllegalOperation = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522784));
|
|
pub const hrObjectDuplicate = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522782));
|
|
pub const hrInvalidObject = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522780));
|
|
pub const hrIndexCantBuild = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522695));
|
|
pub const hrIndexHasPrimary = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522694));
|
|
pub const hrIndexDuplicate = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522693));
|
|
pub const hrIndexNotFound = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522692));
|
|
pub const hrIndexMustStay = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522691));
|
|
pub const hrIndexInvalidDef = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522690));
|
|
pub const hrIndexHasClustered = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522688));
|
|
pub const hrCreateIndexFailed = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264511));
|
|
pub const hrTooManyOpenIndexes = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522686));
|
|
pub const hrColumnLong = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522595));
|
|
pub const hrColumnDoesNotFit = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522593));
|
|
pub const hrNullInvalid = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522592));
|
|
pub const hrColumnIndexed = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522591));
|
|
pub const hrColumnTooBig = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522590));
|
|
pub const hrColumnNotFound = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522589));
|
|
pub const hrColumnDuplicate = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522588));
|
|
pub const hrColumn2ndSysMaint = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522586));
|
|
pub const hrInvalidColumnType = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522585));
|
|
pub const hrColumnMaxTruncated = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264408));
|
|
pub const hrColumnCannotIndex = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522583));
|
|
pub const hrTaggedNotNULL = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522582));
|
|
pub const hrNoCurrentIndex = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522581));
|
|
pub const hrKeyIsMade = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522580));
|
|
pub const hrBadColumnId = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522579));
|
|
pub const hrBadItagSequence = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522578));
|
|
pub const hrCannotBeTagged = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522575));
|
|
pub const hrRecordNotFound = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522495));
|
|
pub const hrNoCurrentRecord = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522493));
|
|
pub const hrRecordClusteredChanged = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522492));
|
|
pub const hrKeyDuplicate = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522491));
|
|
pub const hrAlreadyPrepared = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522489));
|
|
pub const hrKeyNotMade = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522488));
|
|
pub const hrUpdateNotPrepared = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522487));
|
|
pub const hrwrnDataHasChanged = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264310));
|
|
pub const hrerrDataHasChanged = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522485));
|
|
pub const hrKeyChanged = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264302));
|
|
pub const hrTooManySorts = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522395));
|
|
pub const hrInvalidOnSort = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522394));
|
|
pub const hrTempFileOpenError = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522293));
|
|
pub const hrTooManyAttachedDatabases = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522291));
|
|
pub const hrDiskFull = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522288));
|
|
pub const hrPermissionDenied = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522287));
|
|
pub const hrFileNotFound = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522285));
|
|
pub const hrFileOpenReadOnly = @import("../zig.zig").typedConst(HRESULT, @as(i32, -2013264107));
|
|
pub const hrAfterInitialization = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522246));
|
|
pub const hrLogCorrupted = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522244));
|
|
pub const hrInvalidOperation = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522190));
|
|
pub const hrAccessDenied = @import("../zig.zig").typedConst(HRESULT, @as(i32, -939522189));
|
|
pub const CLSID_DsObjectPicker = Guid.initString("17d6ccd8-3b7b-11d2-b9e0-00c04fd8dbf7");
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Section: Types (264)
|
|
//--------------------------------------------------------------------------------
|
|
pub const CQFORM = extern struct {
|
|
cbStruct: u32,
|
|
dwFlags: u32,
|
|
clsid: Guid,
|
|
hIcon: ?HICON,
|
|
pszTitle: ?[*:0]const u16,
|
|
};
|
|
|
|
pub const LPCQADDFORMSPROC = switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
lParam: LPARAM,
|
|
pForm: ?*CQFORM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
lParam: LPARAM,
|
|
pForm: ?*CQFORM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
} ;
|
|
|
|
pub const LPCQADDPAGESPROC = switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
lParam: LPARAM,
|
|
clsidForm: ?*const Guid,
|
|
pPage: ?*CQPAGE,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
lParam: LPARAM,
|
|
clsidForm: ?*const Guid,
|
|
pPage: ?*CQPAGE,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
} ;
|
|
|
|
pub const LPCQPAGEPROC = switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
pPage: ?*CQPAGE,
|
|
hwnd: ?HWND,
|
|
uMsg: u32,
|
|
wParam: WPARAM,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
pPage: ?*CQPAGE,
|
|
hwnd: ?HWND,
|
|
uMsg: u32,
|
|
wParam: WPARAM,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
} ;
|
|
|
|
pub const CQPAGE = extern struct {
|
|
cbStruct: u32,
|
|
dwFlags: u32,
|
|
pPageProc: ?LPCQPAGEPROC,
|
|
hInstance: ?HINSTANCE,
|
|
idPageName: i32,
|
|
idPageTemplate: i32,
|
|
pDlgProc: ?DLGPROC,
|
|
lParam: LPARAM,
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IQueryForm_Value = Guid.initString("8cfcee30-39bd-11d0-b8d1-00a024ab2dbb");
|
|
pub const IID_IQueryForm = &IID_IQueryForm_Value;
|
|
pub const IQueryForm = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
Initialize: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IQueryForm,
|
|
hkForm: ?HKEY,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IQueryForm,
|
|
hkForm: ?HKEY,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
AddForms: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IQueryForm,
|
|
pAddFormsProc: ?LPCQADDFORMSPROC,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IQueryForm,
|
|
pAddFormsProc: ?LPCQADDFORMSPROC,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
AddPages: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IQueryForm,
|
|
pAddPagesProc: ?LPCQADDPAGESPROC,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IQueryForm,
|
|
pAddPagesProc: ?LPCQADDPAGESPROC,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IQueryForm_Initialize(self: *const T, hkForm: ?HKEY) callconv(.Inline) HRESULT {
|
|
return @as(*const IQueryForm.VTable, @ptrCast(self.vtable)).Initialize(@as(*const IQueryForm, @ptrCast(self)), hkForm);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IQueryForm_AddForms(self: *const T, pAddFormsProc: ?LPCQADDFORMSPROC, lParam: LPARAM) callconv(.Inline) HRESULT {
|
|
return @as(*const IQueryForm.VTable, @ptrCast(self.vtable)).AddForms(@as(*const IQueryForm, @ptrCast(self)), pAddFormsProc, lParam);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IQueryForm_AddPages(self: *const T, pAddPagesProc: ?LPCQADDPAGESPROC, lParam: LPARAM) callconv(.Inline) HRESULT {
|
|
return @as(*const IQueryForm.VTable, @ptrCast(self.vtable)).AddPages(@as(*const IQueryForm, @ptrCast(self)), pAddPagesProc, lParam);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IPersistQuery_Value = Guid.initString("1a3114b8-a62e-11d0-a6c5-00a0c906af45");
|
|
pub const IID_IPersistQuery = &IID_IPersistQuery_Value;
|
|
pub const IPersistQuery = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IPersist.VTable,
|
|
WriteString: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pValue: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pValue: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ReadString: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pBuffer: ?PWSTR,
|
|
cchBuffer: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pBuffer: ?PWSTR,
|
|
cchBuffer: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
WriteInt: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
value: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
value: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ReadInt: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pValue: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pValue: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
WriteStruct: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pStruct: ?*anyopaque,
|
|
cbStruct: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pStruct: ?*anyopaque,
|
|
cbStruct: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ReadStruct: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pStruct: ?*anyopaque,
|
|
cbStruct: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPersistQuery,
|
|
pSection: ?[*:0]const u16,
|
|
pValueName: ?[*:0]const u16,
|
|
pStruct: ?*anyopaque,
|
|
cbStruct: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Clear: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPersistQuery,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPersistQuery,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IPersist.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPersistQuery_WriteString(self: *const T, pSection: ?[*:0]const u16, pValueName: ?[*:0]const u16, pValue: ?[*:0]const u16) callconv(.Inline) HRESULT {
|
|
return @as(*const IPersistQuery.VTable, @ptrCast(self.vtable)).WriteString(@as(*const IPersistQuery, @ptrCast(self)), pSection, pValueName, pValue);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPersistQuery_ReadString(self: *const T, pSection: ?[*:0]const u16, pValueName: ?[*:0]const u16, pBuffer: ?PWSTR, cchBuffer: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPersistQuery.VTable, @ptrCast(self.vtable)).ReadString(@as(*const IPersistQuery, @ptrCast(self)), pSection, pValueName, pBuffer, cchBuffer);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPersistQuery_WriteInt(self: *const T, pSection: ?[*:0]const u16, pValueName: ?[*:0]const u16, value: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPersistQuery.VTable, @ptrCast(self.vtable)).WriteInt(@as(*const IPersistQuery, @ptrCast(self)), pSection, pValueName, value);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPersistQuery_ReadInt(self: *const T, pSection: ?[*:0]const u16, pValueName: ?[*:0]const u16, pValue: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPersistQuery.VTable, @ptrCast(self.vtable)).ReadInt(@as(*const IPersistQuery, @ptrCast(self)), pSection, pValueName, pValue);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPersistQuery_WriteStruct(self: *const T, pSection: ?[*:0]const u16, pValueName: ?[*:0]const u16, pStruct: ?*anyopaque, cbStruct: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPersistQuery.VTable, @ptrCast(self.vtable)).WriteStruct(@as(*const IPersistQuery, @ptrCast(self)), pSection, pValueName, pStruct, cbStruct);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPersistQuery_ReadStruct(self: *const T, pSection: ?[*:0]const u16, pValueName: ?[*:0]const u16, pStruct: ?*anyopaque, cbStruct: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPersistQuery.VTable, @ptrCast(self.vtable)).ReadStruct(@as(*const IPersistQuery, @ptrCast(self)), pSection, pValueName, pStruct, cbStruct);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPersistQuery_Clear(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IPersistQuery.VTable, @ptrCast(self.vtable)).Clear(@as(*const IPersistQuery, @ptrCast(self)));
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
pub const OPENQUERYWINDOW = extern struct {
|
|
cbStruct: u32,
|
|
dwFlags: u32,
|
|
clsidHandler: Guid,
|
|
pHandlerParameters: ?*anyopaque,
|
|
clsidDefaultForm: Guid,
|
|
pPersistQuery: ?*IPersistQuery,
|
|
Anonymous: extern union {
|
|
pFormParameters: ?*anyopaque,
|
|
ppbFormParameters: ?*IPropertyBag,
|
|
},
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_ICommonQuery_Value = Guid.initString("ab50dec0-6f1d-11d0-a1c4-00aa00c16e65");
|
|
pub const IID_ICommonQuery = &IID_ICommonQuery_Value;
|
|
pub const ICommonQuery = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
OpenQueryWindow: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const ICommonQuery,
|
|
hwndParent: ?HWND,
|
|
pQueryWnd: ?*OPENQUERYWINDOW,
|
|
ppDataObject: ?*?*IDataObject,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const ICommonQuery,
|
|
hwndParent: ?HWND,
|
|
pQueryWnd: ?*OPENQUERYWINDOW,
|
|
ppDataObject: ?*?*IDataObject,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn ICommonQuery_OpenQueryWindow(self: *const T, hwndParent: ?HWND, pQueryWnd: ?*OPENQUERYWINDOW, ppDataObject: ?*?*IDataObject) callconv(.Inline) HRESULT {
|
|
return @as(*const ICommonQuery.VTable, @ptrCast(self.vtable)).OpenQueryWindow(@as(*const ICommonQuery, @ptrCast(self)), hwndParent, pQueryWnd, ppDataObject);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
const CLSID_PropertyEntry_Value = Guid.initString("72d3edc2-a4c4-11d0-8533-00c04fd8d503");
|
|
pub const CLSID_PropertyEntry = &CLSID_PropertyEntry_Value;
|
|
|
|
const CLSID_PropertyValue_Value = Guid.initString("7b9e38b0-a97c-11d0-8534-00c04fd8d503");
|
|
pub const CLSID_PropertyValue = &CLSID_PropertyValue_Value;
|
|
|
|
const CLSID_AccessControlEntry_Value = Guid.initString("b75ac000-9bdd-11d0-852c-00c04fd8d503");
|
|
pub const CLSID_AccessControlEntry = &CLSID_AccessControlEntry_Value;
|
|
|
|
const CLSID_AccessControlList_Value = Guid.initString("b85ea052-9bdd-11d0-852c-00c04fd8d503");
|
|
pub const CLSID_AccessControlList = &CLSID_AccessControlList_Value;
|
|
|
|
const CLSID_SecurityDescriptor_Value = Guid.initString("b958f73c-9bdd-11d0-852c-00c04fd8d503");
|
|
pub const CLSID_SecurityDescriptor = &CLSID_SecurityDescriptor_Value;
|
|
|
|
const CLSID_LargeInteger_Value = Guid.initString("927971f5-0939-11d1-8be1-00c04fd8d503");
|
|
pub const CLSID_LargeInteger = &CLSID_LargeInteger_Value;
|
|
|
|
const CLSID_NameTranslate_Value = Guid.initString("274fae1f-3626-11d1-a3a4-00c04fb950dc");
|
|
pub const CLSID_NameTranslate = &CLSID_NameTranslate_Value;
|
|
|
|
const CLSID_CaseIgnoreList_Value = Guid.initString("15f88a55-4680-11d1-a3b4-00c04fb950dc");
|
|
pub const CLSID_CaseIgnoreList = &CLSID_CaseIgnoreList_Value;
|
|
|
|
const CLSID_FaxNumber_Value = Guid.initString("a5062215-4681-11d1-a3b4-00c04fb950dc");
|
|
pub const CLSID_FaxNumber = &CLSID_FaxNumber_Value;
|
|
|
|
const CLSID_NetAddress_Value = Guid.initString("b0b71247-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const CLSID_NetAddress = &CLSID_NetAddress_Value;
|
|
|
|
const CLSID_OctetList_Value = Guid.initString("1241400f-4680-11d1-a3b4-00c04fb950dc");
|
|
pub const CLSID_OctetList = &CLSID_OctetList_Value;
|
|
|
|
const CLSID_Email_Value = Guid.initString("8f92a857-478e-11d1-a3b4-00c04fb950dc");
|
|
pub const CLSID_Email = &CLSID_Email_Value;
|
|
|
|
const CLSID_Path_Value = Guid.initString("b2538919-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const CLSID_Path = &CLSID_Path_Value;
|
|
|
|
const CLSID_ReplicaPointer_Value = Guid.initString("f5d1badf-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const CLSID_ReplicaPointer = &CLSID_ReplicaPointer_Value;
|
|
|
|
const CLSID_Timestamp_Value = Guid.initString("b2bed2eb-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const CLSID_Timestamp = &CLSID_Timestamp_Value;
|
|
|
|
const CLSID_PostalAddress_Value = Guid.initString("0a75afcd-4680-11d1-a3b4-00c04fb950dc");
|
|
pub const CLSID_PostalAddress = &CLSID_PostalAddress_Value;
|
|
|
|
const CLSID_BackLink_Value = Guid.initString("fcbf906f-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const CLSID_BackLink = &CLSID_BackLink_Value;
|
|
|
|
const CLSID_TypedName_Value = Guid.initString("b33143cb-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const CLSID_TypedName = &CLSID_TypedName_Value;
|
|
|
|
const CLSID_Hold_Value = Guid.initString("b3ad3e13-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const CLSID_Hold = &CLSID_Hold_Value;
|
|
|
|
const CLSID_Pathname_Value = Guid.initString("080d0d78-f421-11d0-a36e-00c04fb950dc");
|
|
pub const CLSID_Pathname = &CLSID_Pathname_Value;
|
|
|
|
const CLSID_ADSystemInfo_Value = Guid.initString("50b6327f-afd1-11d2-9cb9-0000f87a369e");
|
|
pub const CLSID_ADSystemInfo = &CLSID_ADSystemInfo_Value;
|
|
|
|
const CLSID_WinNTSystemInfo_Value = Guid.initString("66182ec4-afd1-11d2-9cb9-0000f87a369e");
|
|
pub const CLSID_WinNTSystemInfo = &CLSID_WinNTSystemInfo_Value;
|
|
|
|
const CLSID_DNWithBinary_Value = Guid.initString("7e99c0a3-f935-11d2-ba96-00c04fb6d0d1");
|
|
pub const CLSID_DNWithBinary = &CLSID_DNWithBinary_Value;
|
|
|
|
const CLSID_DNWithString_Value = Guid.initString("334857cc-f934-11d2-ba96-00c04fb6d0d1");
|
|
pub const CLSID_DNWithString = &CLSID_DNWithString_Value;
|
|
|
|
const CLSID_ADsSecurityUtility_Value = Guid.initString("f270c64a-ffb8-4ae4-85fe-3a75e5347966");
|
|
pub const CLSID_ADsSecurityUtility = &CLSID_ADsSecurityUtility_Value;
|
|
|
|
pub const ADSTYPEENUM = enum(i32) {
|
|
INVALID = 0,
|
|
DN_STRING = 1,
|
|
CASE_EXACT_STRING = 2,
|
|
CASE_IGNORE_STRING = 3,
|
|
PRINTABLE_STRING = 4,
|
|
NUMERIC_STRING = 5,
|
|
BOOLEAN = 6,
|
|
INTEGER = 7,
|
|
OCTET_STRING = 8,
|
|
UTC_TIME = 9,
|
|
LARGE_INTEGER = 10,
|
|
PROV_SPECIFIC = 11,
|
|
OBJECT_CLASS = 12,
|
|
CASEIGNORE_LIST = 13,
|
|
OCTET_LIST = 14,
|
|
PATH = 15,
|
|
POSTALADDRESS = 16,
|
|
TIMESTAMP = 17,
|
|
BACKLINK = 18,
|
|
TYPEDNAME = 19,
|
|
HOLD = 20,
|
|
NETADDRESS = 21,
|
|
REPLICAPOINTER = 22,
|
|
FAXNUMBER = 23,
|
|
EMAIL = 24,
|
|
NT_SECURITY_DESCRIPTOR = 25,
|
|
UNKNOWN = 26,
|
|
DN_WITH_BINARY = 27,
|
|
DN_WITH_STRING = 28,
|
|
};
|
|
pub const ADSTYPE_INVALID = ADSTYPEENUM.INVALID;
|
|
pub const ADSTYPE_DN_STRING = ADSTYPEENUM.DN_STRING;
|
|
pub const ADSTYPE_CASE_EXACT_STRING = ADSTYPEENUM.CASE_EXACT_STRING;
|
|
pub const ADSTYPE_CASE_IGNORE_STRING = ADSTYPEENUM.CASE_IGNORE_STRING;
|
|
pub const ADSTYPE_PRINTABLE_STRING = ADSTYPEENUM.PRINTABLE_STRING;
|
|
pub const ADSTYPE_NUMERIC_STRING = ADSTYPEENUM.NUMERIC_STRING;
|
|
pub const ADSTYPE_BOOLEAN = ADSTYPEENUM.BOOLEAN;
|
|
pub const ADSTYPE_INTEGER = ADSTYPEENUM.INTEGER;
|
|
pub const ADSTYPE_OCTET_STRING = ADSTYPEENUM.OCTET_STRING;
|
|
pub const ADSTYPE_UTC_TIME = ADSTYPEENUM.UTC_TIME;
|
|
pub const ADSTYPE_LARGE_INTEGER = ADSTYPEENUM.LARGE_INTEGER;
|
|
pub const ADSTYPE_PROV_SPECIFIC = ADSTYPEENUM.PROV_SPECIFIC;
|
|
pub const ADSTYPE_OBJECT_CLASS = ADSTYPEENUM.OBJECT_CLASS;
|
|
pub const ADSTYPE_CASEIGNORE_LIST = ADSTYPEENUM.CASEIGNORE_LIST;
|
|
pub const ADSTYPE_OCTET_LIST = ADSTYPEENUM.OCTET_LIST;
|
|
pub const ADSTYPE_PATH = ADSTYPEENUM.PATH;
|
|
pub const ADSTYPE_POSTALADDRESS = ADSTYPEENUM.POSTALADDRESS;
|
|
pub const ADSTYPE_TIMESTAMP = ADSTYPEENUM.TIMESTAMP;
|
|
pub const ADSTYPE_BACKLINK = ADSTYPEENUM.BACKLINK;
|
|
pub const ADSTYPE_TYPEDNAME = ADSTYPEENUM.TYPEDNAME;
|
|
pub const ADSTYPE_HOLD = ADSTYPEENUM.HOLD;
|
|
pub const ADSTYPE_NETADDRESS = ADSTYPEENUM.NETADDRESS;
|
|
pub const ADSTYPE_REPLICAPOINTER = ADSTYPEENUM.REPLICAPOINTER;
|
|
pub const ADSTYPE_FAXNUMBER = ADSTYPEENUM.FAXNUMBER;
|
|
pub const ADSTYPE_EMAIL = ADSTYPEENUM.EMAIL;
|
|
pub const ADSTYPE_NT_SECURITY_DESCRIPTOR = ADSTYPEENUM.NT_SECURITY_DESCRIPTOR;
|
|
pub const ADSTYPE_UNKNOWN = ADSTYPEENUM.UNKNOWN;
|
|
pub const ADSTYPE_DN_WITH_BINARY = ADSTYPEENUM.DN_WITH_BINARY;
|
|
pub const ADSTYPE_DN_WITH_STRING = ADSTYPEENUM.DN_WITH_STRING;
|
|
|
|
pub const ADS_OCTET_STRING = extern struct {
|
|
dwLength: u32,
|
|
lpValue: ?*u8,
|
|
};
|
|
|
|
pub const ADS_NT_SECURITY_DESCRIPTOR = extern struct {
|
|
dwLength: u32,
|
|
lpValue: ?*u8,
|
|
};
|
|
|
|
pub const ADS_PROV_SPECIFIC = extern struct {
|
|
dwLength: u32,
|
|
lpValue: ?*u8,
|
|
};
|
|
|
|
pub const ADS_CASEIGNORE_LIST = extern struct {
|
|
Next: ?*ADS_CASEIGNORE_LIST,
|
|
String: ?PWSTR,
|
|
};
|
|
|
|
pub const ADS_OCTET_LIST = extern struct {
|
|
Next: ?*ADS_OCTET_LIST,
|
|
Length: u32,
|
|
Data: ?*u8,
|
|
};
|
|
|
|
pub const ADS_PATH = extern struct {
|
|
Type: u32,
|
|
VolumeName: ?PWSTR,
|
|
Path: ?PWSTR,
|
|
};
|
|
|
|
pub const ADS_POSTALADDRESS = extern struct {
|
|
PostalAddress: [6]?PWSTR,
|
|
};
|
|
|
|
pub const ADS_TIMESTAMP = extern struct {
|
|
WholeSeconds: u32,
|
|
EventID: u32,
|
|
};
|
|
|
|
pub const ADS_BACKLINK = extern struct {
|
|
RemoteID: u32,
|
|
ObjectName: ?PWSTR,
|
|
};
|
|
|
|
pub const ADS_TYPEDNAME = extern struct {
|
|
ObjectName: ?PWSTR,
|
|
Level: u32,
|
|
Interval: u32,
|
|
};
|
|
|
|
pub const ADS_HOLD = extern struct {
|
|
ObjectName: ?PWSTR,
|
|
Amount: u32,
|
|
};
|
|
|
|
pub const ADS_NETADDRESS = extern struct {
|
|
AddressType: u32,
|
|
AddressLength: u32,
|
|
Address: ?*u8,
|
|
};
|
|
|
|
pub const ADS_REPLICAPOINTER = extern struct {
|
|
ServerName: ?PWSTR,
|
|
ReplicaType: u32,
|
|
ReplicaNumber: u32,
|
|
Count: u32,
|
|
ReplicaAddressHints: ?*ADS_NETADDRESS,
|
|
};
|
|
|
|
pub const ADS_FAXNUMBER = extern struct {
|
|
TelephoneNumber: ?PWSTR,
|
|
NumberOfBits: u32,
|
|
Parameters: ?*u8,
|
|
};
|
|
|
|
pub const ADS_EMAIL = extern struct {
|
|
Address: ?PWSTR,
|
|
Type: u32,
|
|
};
|
|
|
|
pub const ADS_DN_WITH_BINARY = extern struct {
|
|
dwLength: u32,
|
|
lpBinaryValue: ?*u8,
|
|
pszDNString: ?PWSTR,
|
|
};
|
|
|
|
pub const ADS_DN_WITH_STRING = extern struct {
|
|
pszStringValue: ?PWSTR,
|
|
pszDNString: ?PWSTR,
|
|
};
|
|
|
|
pub const ADSVALUE = extern struct {
|
|
dwType: ADSTYPEENUM,
|
|
Anonymous: extern union {
|
|
DNString: ?*u16,
|
|
CaseExactString: ?*u16,
|
|
CaseIgnoreString: ?*u16,
|
|
PrintableString: ?*u16,
|
|
NumericString: ?*u16,
|
|
Boolean: u32,
|
|
Integer: u32,
|
|
OctetString: ADS_OCTET_STRING,
|
|
UTCTime: SYSTEMTIME,
|
|
LargeInteger: LARGE_INTEGER,
|
|
ClassName: ?*u16,
|
|
ProviderSpecific: ADS_PROV_SPECIFIC,
|
|
pCaseIgnoreList: ?*ADS_CASEIGNORE_LIST,
|
|
pOctetList: ?*ADS_OCTET_LIST,
|
|
pPath: ?*ADS_PATH,
|
|
pPostalAddress: ?*ADS_POSTALADDRESS,
|
|
Timestamp: ADS_TIMESTAMP,
|
|
BackLink: ADS_BACKLINK,
|
|
pTypedName: ?*ADS_TYPEDNAME,
|
|
Hold: ADS_HOLD,
|
|
pNetAddress: ?*ADS_NETADDRESS,
|
|
pReplicaPointer: ?*ADS_REPLICAPOINTER,
|
|
pFaxNumber: ?*ADS_FAXNUMBER,
|
|
Email: ADS_EMAIL,
|
|
SecurityDescriptor: ADS_NT_SECURITY_DESCRIPTOR,
|
|
pDNWithBinary: ?*ADS_DN_WITH_BINARY,
|
|
pDNWithString: ?*ADS_DN_WITH_STRING,
|
|
},
|
|
};
|
|
|
|
pub const ADS_ATTR_INFO = extern struct {
|
|
pszAttrName: ?PWSTR,
|
|
dwControlCode: u32,
|
|
dwADsType: ADSTYPEENUM,
|
|
pADsValues: ?*ADSVALUE,
|
|
dwNumValues: u32,
|
|
};
|
|
|
|
pub const ADS_AUTHENTICATION_ENUM = enum(u32) {
|
|
SECURE_AUTHENTICATION = 1,
|
|
USE_ENCRYPTION = 2,
|
|
// USE_SSL = 2, this enum value conflicts with USE_ENCRYPTION
|
|
READONLY_SERVER = 4,
|
|
PROMPT_CREDENTIALS = 8,
|
|
NO_AUTHENTICATION = 16,
|
|
FAST_BIND = 32,
|
|
USE_SIGNING = 64,
|
|
USE_SEALING = 128,
|
|
USE_DELEGATION = 256,
|
|
SERVER_BIND = 512,
|
|
NO_REFERRAL_CHASING = 1024,
|
|
AUTH_RESERVED = 2147483648,
|
|
};
|
|
pub const ADS_SECURE_AUTHENTICATION = ADS_AUTHENTICATION_ENUM.SECURE_AUTHENTICATION;
|
|
pub const ADS_USE_ENCRYPTION = ADS_AUTHENTICATION_ENUM.USE_ENCRYPTION;
|
|
pub const ADS_USE_SSL = ADS_AUTHENTICATION_ENUM.USE_ENCRYPTION;
|
|
pub const ADS_READONLY_SERVER = ADS_AUTHENTICATION_ENUM.READONLY_SERVER;
|
|
pub const ADS_PROMPT_CREDENTIALS = ADS_AUTHENTICATION_ENUM.PROMPT_CREDENTIALS;
|
|
pub const ADS_NO_AUTHENTICATION = ADS_AUTHENTICATION_ENUM.NO_AUTHENTICATION;
|
|
pub const ADS_FAST_BIND = ADS_AUTHENTICATION_ENUM.FAST_BIND;
|
|
pub const ADS_USE_SIGNING = ADS_AUTHENTICATION_ENUM.USE_SIGNING;
|
|
pub const ADS_USE_SEALING = ADS_AUTHENTICATION_ENUM.USE_SEALING;
|
|
pub const ADS_USE_DELEGATION = ADS_AUTHENTICATION_ENUM.USE_DELEGATION;
|
|
pub const ADS_SERVER_BIND = ADS_AUTHENTICATION_ENUM.SERVER_BIND;
|
|
pub const ADS_NO_REFERRAL_CHASING = ADS_AUTHENTICATION_ENUM.NO_REFERRAL_CHASING;
|
|
pub const ADS_AUTH_RESERVED = ADS_AUTHENTICATION_ENUM.AUTH_RESERVED;
|
|
|
|
pub const ADS_OBJECT_INFO = extern struct {
|
|
pszRDN: ?PWSTR,
|
|
pszObjectDN: ?PWSTR,
|
|
pszParentDN: ?PWSTR,
|
|
pszSchemaDN: ?PWSTR,
|
|
pszClassName: ?PWSTR,
|
|
};
|
|
|
|
pub const ADS_STATUSENUM = enum(i32) {
|
|
S_OK = 0,
|
|
INVALID_SEARCHPREF = 1,
|
|
INVALID_SEARCHPREFVALUE = 2,
|
|
};
|
|
pub const ADS_STATUS_S_OK = ADS_STATUSENUM.S_OK;
|
|
pub const ADS_STATUS_INVALID_SEARCHPREF = ADS_STATUSENUM.INVALID_SEARCHPREF;
|
|
pub const ADS_STATUS_INVALID_SEARCHPREFVALUE = ADS_STATUSENUM.INVALID_SEARCHPREFVALUE;
|
|
|
|
pub const ADS_DEREFENUM = enum(i32) {
|
|
NEVER = 0,
|
|
SEARCHING = 1,
|
|
FINDING = 2,
|
|
ALWAYS = 3,
|
|
};
|
|
pub const ADS_DEREF_NEVER = ADS_DEREFENUM.NEVER;
|
|
pub const ADS_DEREF_SEARCHING = ADS_DEREFENUM.SEARCHING;
|
|
pub const ADS_DEREF_FINDING = ADS_DEREFENUM.FINDING;
|
|
pub const ADS_DEREF_ALWAYS = ADS_DEREFENUM.ALWAYS;
|
|
|
|
pub const ADS_SCOPEENUM = enum(i32) {
|
|
BASE = 0,
|
|
ONELEVEL = 1,
|
|
SUBTREE = 2,
|
|
};
|
|
pub const ADS_SCOPE_BASE = ADS_SCOPEENUM.BASE;
|
|
pub const ADS_SCOPE_ONELEVEL = ADS_SCOPEENUM.ONELEVEL;
|
|
pub const ADS_SCOPE_SUBTREE = ADS_SCOPEENUM.SUBTREE;
|
|
|
|
pub const ADS_PREFERENCES_ENUM = enum(i32) {
|
|
ASYNCHRONOUS = 0,
|
|
DEREF_ALIASES = 1,
|
|
SIZE_LIMIT = 2,
|
|
TIME_LIMIT = 3,
|
|
ATTRIBTYPES_ONLY = 4,
|
|
SEARCH_SCOPE = 5,
|
|
TIMEOUT = 6,
|
|
PAGESIZE = 7,
|
|
PAGED_TIME_LIMIT = 8,
|
|
CHASE_REFERRALS = 9,
|
|
SORT_ON = 10,
|
|
CACHE_RESULTS = 11,
|
|
ADSIFLAG = 12,
|
|
};
|
|
pub const ADSIPROP_ASYNCHRONOUS = ADS_PREFERENCES_ENUM.ASYNCHRONOUS;
|
|
pub const ADSIPROP_DEREF_ALIASES = ADS_PREFERENCES_ENUM.DEREF_ALIASES;
|
|
pub const ADSIPROP_SIZE_LIMIT = ADS_PREFERENCES_ENUM.SIZE_LIMIT;
|
|
pub const ADSIPROP_TIME_LIMIT = ADS_PREFERENCES_ENUM.TIME_LIMIT;
|
|
pub const ADSIPROP_ATTRIBTYPES_ONLY = ADS_PREFERENCES_ENUM.ATTRIBTYPES_ONLY;
|
|
pub const ADSIPROP_SEARCH_SCOPE = ADS_PREFERENCES_ENUM.SEARCH_SCOPE;
|
|
pub const ADSIPROP_TIMEOUT = ADS_PREFERENCES_ENUM.TIMEOUT;
|
|
pub const ADSIPROP_PAGESIZE = ADS_PREFERENCES_ENUM.PAGESIZE;
|
|
pub const ADSIPROP_PAGED_TIME_LIMIT = ADS_PREFERENCES_ENUM.PAGED_TIME_LIMIT;
|
|
pub const ADSIPROP_CHASE_REFERRALS = ADS_PREFERENCES_ENUM.CHASE_REFERRALS;
|
|
pub const ADSIPROP_SORT_ON = ADS_PREFERENCES_ENUM.SORT_ON;
|
|
pub const ADSIPROP_CACHE_RESULTS = ADS_PREFERENCES_ENUM.CACHE_RESULTS;
|
|
pub const ADSIPROP_ADSIFLAG = ADS_PREFERENCES_ENUM.ADSIFLAG;
|
|
|
|
pub const ADSI_DIALECT_ENUM = enum(i32) {
|
|
LDAP = 0,
|
|
SQL = 1,
|
|
};
|
|
pub const ADSI_DIALECT_LDAP = ADSI_DIALECT_ENUM.LDAP;
|
|
pub const ADSI_DIALECT_SQL = ADSI_DIALECT_ENUM.SQL;
|
|
|
|
pub const ADS_CHASE_REFERRALS_ENUM = enum(i32) {
|
|
NEVER = 0,
|
|
SUBORDINATE = 32,
|
|
EXTERNAL = 64,
|
|
ALWAYS = 96,
|
|
};
|
|
pub const ADS_CHASE_REFERRALS_NEVER = ADS_CHASE_REFERRALS_ENUM.NEVER;
|
|
pub const ADS_CHASE_REFERRALS_SUBORDINATE = ADS_CHASE_REFERRALS_ENUM.SUBORDINATE;
|
|
pub const ADS_CHASE_REFERRALS_EXTERNAL = ADS_CHASE_REFERRALS_ENUM.EXTERNAL;
|
|
pub const ADS_CHASE_REFERRALS_ALWAYS = ADS_CHASE_REFERRALS_ENUM.ALWAYS;
|
|
|
|
pub const ADS_SEARCHPREF_ENUM = enum(i32) {
|
|
ASYNCHRONOUS = 0,
|
|
DEREF_ALIASES = 1,
|
|
SIZE_LIMIT = 2,
|
|
TIME_LIMIT = 3,
|
|
ATTRIBTYPES_ONLY = 4,
|
|
SEARCH_SCOPE = 5,
|
|
TIMEOUT = 6,
|
|
PAGESIZE = 7,
|
|
PAGED_TIME_LIMIT = 8,
|
|
CHASE_REFERRALS = 9,
|
|
SORT_ON = 10,
|
|
CACHE_RESULTS = 11,
|
|
DIRSYNC = 12,
|
|
TOMBSTONE = 13,
|
|
VLV = 14,
|
|
ATTRIBUTE_QUERY = 15,
|
|
SECURITY_MASK = 16,
|
|
DIRSYNC_FLAG = 17,
|
|
EXTENDED_DN = 18,
|
|
};
|
|
pub const ADS_SEARCHPREF_ASYNCHRONOUS = ADS_SEARCHPREF_ENUM.ASYNCHRONOUS;
|
|
pub const ADS_SEARCHPREF_DEREF_ALIASES = ADS_SEARCHPREF_ENUM.DEREF_ALIASES;
|
|
pub const ADS_SEARCHPREF_SIZE_LIMIT = ADS_SEARCHPREF_ENUM.SIZE_LIMIT;
|
|
pub const ADS_SEARCHPREF_TIME_LIMIT = ADS_SEARCHPREF_ENUM.TIME_LIMIT;
|
|
pub const ADS_SEARCHPREF_ATTRIBTYPES_ONLY = ADS_SEARCHPREF_ENUM.ATTRIBTYPES_ONLY;
|
|
pub const ADS_SEARCHPREF_SEARCH_SCOPE = ADS_SEARCHPREF_ENUM.SEARCH_SCOPE;
|
|
pub const ADS_SEARCHPREF_TIMEOUT = ADS_SEARCHPREF_ENUM.TIMEOUT;
|
|
pub const ADS_SEARCHPREF_PAGESIZE = ADS_SEARCHPREF_ENUM.PAGESIZE;
|
|
pub const ADS_SEARCHPREF_PAGED_TIME_LIMIT = ADS_SEARCHPREF_ENUM.PAGED_TIME_LIMIT;
|
|
pub const ADS_SEARCHPREF_CHASE_REFERRALS = ADS_SEARCHPREF_ENUM.CHASE_REFERRALS;
|
|
pub const ADS_SEARCHPREF_SORT_ON = ADS_SEARCHPREF_ENUM.SORT_ON;
|
|
pub const ADS_SEARCHPREF_CACHE_RESULTS = ADS_SEARCHPREF_ENUM.CACHE_RESULTS;
|
|
pub const ADS_SEARCHPREF_DIRSYNC = ADS_SEARCHPREF_ENUM.DIRSYNC;
|
|
pub const ADS_SEARCHPREF_TOMBSTONE = ADS_SEARCHPREF_ENUM.TOMBSTONE;
|
|
pub const ADS_SEARCHPREF_VLV = ADS_SEARCHPREF_ENUM.VLV;
|
|
pub const ADS_SEARCHPREF_ATTRIBUTE_QUERY = ADS_SEARCHPREF_ENUM.ATTRIBUTE_QUERY;
|
|
pub const ADS_SEARCHPREF_SECURITY_MASK = ADS_SEARCHPREF_ENUM.SECURITY_MASK;
|
|
pub const ADS_SEARCHPREF_DIRSYNC_FLAG = ADS_SEARCHPREF_ENUM.DIRSYNC_FLAG;
|
|
pub const ADS_SEARCHPREF_EXTENDED_DN = ADS_SEARCHPREF_ENUM.EXTENDED_DN;
|
|
|
|
pub const ADS_PASSWORD_ENCODING_ENUM = enum(i32) {
|
|
REQUIRE_SSL = 0,
|
|
CLEAR = 1,
|
|
};
|
|
pub const ADS_PASSWORD_ENCODE_REQUIRE_SSL = ADS_PASSWORD_ENCODING_ENUM.REQUIRE_SSL;
|
|
pub const ADS_PASSWORD_ENCODE_CLEAR = ADS_PASSWORD_ENCODING_ENUM.CLEAR;
|
|
|
|
pub const ads_searchpref_info = extern struct {
|
|
dwSearchPref: ADS_SEARCHPREF_ENUM,
|
|
vValue: ADSVALUE,
|
|
dwStatus: ADS_STATUSENUM,
|
|
};
|
|
|
|
pub const ads_search_column = extern struct {
|
|
pszAttrName: ?PWSTR,
|
|
dwADsType: ADSTYPEENUM,
|
|
pADsValues: ?*ADSVALUE,
|
|
dwNumValues: u32,
|
|
hReserved: ?HANDLE,
|
|
};
|
|
|
|
pub const ADS_ATTR_DEF = extern struct {
|
|
pszAttrName: ?PWSTR,
|
|
dwADsType: ADSTYPEENUM,
|
|
dwMinRange: u32,
|
|
dwMaxRange: u32,
|
|
fMultiValued: BOOL,
|
|
};
|
|
|
|
pub const ADS_CLASS_DEF = extern struct {
|
|
pszClassName: ?PWSTR,
|
|
dwMandatoryAttrs: u32,
|
|
ppszMandatoryAttrs: ?*?PWSTR,
|
|
optionalAttrs: u32,
|
|
ppszOptionalAttrs: ?*?*?PWSTR,
|
|
dwNamingAttrs: u32,
|
|
ppszNamingAttrs: ?*?*?PWSTR,
|
|
dwSuperClasses: u32,
|
|
ppszSuperClasses: ?*?*?PWSTR,
|
|
fIsContainer: BOOL,
|
|
};
|
|
|
|
pub const ADS_SORTKEY = extern struct {
|
|
pszAttrType: ?PWSTR,
|
|
pszReserved: ?PWSTR,
|
|
fReverseorder: BOOLEAN,
|
|
};
|
|
|
|
pub const ADS_VLV = extern struct {
|
|
dwBeforeCount: u32,
|
|
dwAfterCount: u32,
|
|
dwOffset: u32,
|
|
dwContentCount: u32,
|
|
pszTarget: ?PWSTR,
|
|
dwContextIDLength: u32,
|
|
lpContextID: ?*u8,
|
|
};
|
|
|
|
pub const ADS_PROPERTY_OPERATION_ENUM = enum(i32) {
|
|
CLEAR = 1,
|
|
UPDATE = 2,
|
|
APPEND = 3,
|
|
DELETE = 4,
|
|
};
|
|
pub const ADS_PROPERTY_CLEAR = ADS_PROPERTY_OPERATION_ENUM.CLEAR;
|
|
pub const ADS_PROPERTY_UPDATE = ADS_PROPERTY_OPERATION_ENUM.UPDATE;
|
|
pub const ADS_PROPERTY_APPEND = ADS_PROPERTY_OPERATION_ENUM.APPEND;
|
|
pub const ADS_PROPERTY_DELETE = ADS_PROPERTY_OPERATION_ENUM.DELETE;
|
|
|
|
pub const ADS_SYSTEMFLAG_ENUM = enum(i32) {
|
|
DISALLOW_DELETE = -2147483648,
|
|
CONFIG_ALLOW_RENAME = 1073741824,
|
|
CONFIG_ALLOW_MOVE = 536870912,
|
|
CONFIG_ALLOW_LIMITED_MOVE = 268435456,
|
|
DOMAIN_DISALLOW_RENAME = 134217728,
|
|
DOMAIN_DISALLOW_MOVE = 67108864,
|
|
CR_NTDS_NC = 1,
|
|
CR_NTDS_DOMAIN = 2,
|
|
// ATTR_NOT_REPLICATED = 1, this enum value conflicts with CR_NTDS_NC
|
|
ATTR_IS_CONSTRUCTED = 4,
|
|
};
|
|
pub const ADS_SYSTEMFLAG_DISALLOW_DELETE = ADS_SYSTEMFLAG_ENUM.DISALLOW_DELETE;
|
|
pub const ADS_SYSTEMFLAG_CONFIG_ALLOW_RENAME = ADS_SYSTEMFLAG_ENUM.CONFIG_ALLOW_RENAME;
|
|
pub const ADS_SYSTEMFLAG_CONFIG_ALLOW_MOVE = ADS_SYSTEMFLAG_ENUM.CONFIG_ALLOW_MOVE;
|
|
pub const ADS_SYSTEMFLAG_CONFIG_ALLOW_LIMITED_MOVE = ADS_SYSTEMFLAG_ENUM.CONFIG_ALLOW_LIMITED_MOVE;
|
|
pub const ADS_SYSTEMFLAG_DOMAIN_DISALLOW_RENAME = ADS_SYSTEMFLAG_ENUM.DOMAIN_DISALLOW_RENAME;
|
|
pub const ADS_SYSTEMFLAG_DOMAIN_DISALLOW_MOVE = ADS_SYSTEMFLAG_ENUM.DOMAIN_DISALLOW_MOVE;
|
|
pub const ADS_SYSTEMFLAG_CR_NTDS_NC = ADS_SYSTEMFLAG_ENUM.CR_NTDS_NC;
|
|
pub const ADS_SYSTEMFLAG_CR_NTDS_DOMAIN = ADS_SYSTEMFLAG_ENUM.CR_NTDS_DOMAIN;
|
|
pub const ADS_SYSTEMFLAG_ATTR_NOT_REPLICATED = ADS_SYSTEMFLAG_ENUM.CR_NTDS_NC;
|
|
pub const ADS_SYSTEMFLAG_ATTR_IS_CONSTRUCTED = ADS_SYSTEMFLAG_ENUM.ATTR_IS_CONSTRUCTED;
|
|
|
|
pub const ADS_GROUP_TYPE_ENUM = enum(i32) {
|
|
GLOBAL_GROUP = 2,
|
|
DOMAIN_LOCAL_GROUP = 4,
|
|
// LOCAL_GROUP = 4, this enum value conflicts with DOMAIN_LOCAL_GROUP
|
|
UNIVERSAL_GROUP = 8,
|
|
SECURITY_ENABLED = -2147483648,
|
|
};
|
|
pub const ADS_GROUP_TYPE_GLOBAL_GROUP = ADS_GROUP_TYPE_ENUM.GLOBAL_GROUP;
|
|
pub const ADS_GROUP_TYPE_DOMAIN_LOCAL_GROUP = ADS_GROUP_TYPE_ENUM.DOMAIN_LOCAL_GROUP;
|
|
pub const ADS_GROUP_TYPE_LOCAL_GROUP = ADS_GROUP_TYPE_ENUM.DOMAIN_LOCAL_GROUP;
|
|
pub const ADS_GROUP_TYPE_UNIVERSAL_GROUP = ADS_GROUP_TYPE_ENUM.UNIVERSAL_GROUP;
|
|
pub const ADS_GROUP_TYPE_SECURITY_ENABLED = ADS_GROUP_TYPE_ENUM.SECURITY_ENABLED;
|
|
|
|
pub const ADS_USER_FLAG_ENUM = enum(i32) {
|
|
SCRIPT = 1,
|
|
ACCOUNTDISABLE = 2,
|
|
HOMEDIR_REQUIRED = 8,
|
|
LOCKOUT = 16,
|
|
PASSWD_NOTREQD = 32,
|
|
PASSWD_CANT_CHANGE = 64,
|
|
ENCRYPTED_TEXT_PASSWORD_ALLOWED = 128,
|
|
TEMP_DUPLICATE_ACCOUNT = 256,
|
|
NORMAL_ACCOUNT = 512,
|
|
INTERDOMAIN_TRUST_ACCOUNT = 2048,
|
|
WORKSTATION_TRUST_ACCOUNT = 4096,
|
|
SERVER_TRUST_ACCOUNT = 8192,
|
|
DONT_EXPIRE_PASSWD = 65536,
|
|
MNS_LOGON_ACCOUNT = 131072,
|
|
SMARTCARD_REQUIRED = 262144,
|
|
TRUSTED_FOR_DELEGATION = 524288,
|
|
NOT_DELEGATED = 1048576,
|
|
USE_DES_KEY_ONLY = 2097152,
|
|
DONT_REQUIRE_PREAUTH = 4194304,
|
|
PASSWORD_EXPIRED = 8388608,
|
|
TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION = 16777216,
|
|
};
|
|
pub const ADS_UF_SCRIPT = ADS_USER_FLAG_ENUM.SCRIPT;
|
|
pub const ADS_UF_ACCOUNTDISABLE = ADS_USER_FLAG_ENUM.ACCOUNTDISABLE;
|
|
pub const ADS_UF_HOMEDIR_REQUIRED = ADS_USER_FLAG_ENUM.HOMEDIR_REQUIRED;
|
|
pub const ADS_UF_LOCKOUT = ADS_USER_FLAG_ENUM.LOCKOUT;
|
|
pub const ADS_UF_PASSWD_NOTREQD = ADS_USER_FLAG_ENUM.PASSWD_NOTREQD;
|
|
pub const ADS_UF_PASSWD_CANT_CHANGE = ADS_USER_FLAG_ENUM.PASSWD_CANT_CHANGE;
|
|
pub const ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED = ADS_USER_FLAG_ENUM.ENCRYPTED_TEXT_PASSWORD_ALLOWED;
|
|
pub const ADS_UF_TEMP_DUPLICATE_ACCOUNT = ADS_USER_FLAG_ENUM.TEMP_DUPLICATE_ACCOUNT;
|
|
pub const ADS_UF_NORMAL_ACCOUNT = ADS_USER_FLAG_ENUM.NORMAL_ACCOUNT;
|
|
pub const ADS_UF_INTERDOMAIN_TRUST_ACCOUNT = ADS_USER_FLAG_ENUM.INTERDOMAIN_TRUST_ACCOUNT;
|
|
pub const ADS_UF_WORKSTATION_TRUST_ACCOUNT = ADS_USER_FLAG_ENUM.WORKSTATION_TRUST_ACCOUNT;
|
|
pub const ADS_UF_SERVER_TRUST_ACCOUNT = ADS_USER_FLAG_ENUM.SERVER_TRUST_ACCOUNT;
|
|
pub const ADS_UF_DONT_EXPIRE_PASSWD = ADS_USER_FLAG_ENUM.DONT_EXPIRE_PASSWD;
|
|
pub const ADS_UF_MNS_LOGON_ACCOUNT = ADS_USER_FLAG_ENUM.MNS_LOGON_ACCOUNT;
|
|
pub const ADS_UF_SMARTCARD_REQUIRED = ADS_USER_FLAG_ENUM.SMARTCARD_REQUIRED;
|
|
pub const ADS_UF_TRUSTED_FOR_DELEGATION = ADS_USER_FLAG_ENUM.TRUSTED_FOR_DELEGATION;
|
|
pub const ADS_UF_NOT_DELEGATED = ADS_USER_FLAG_ENUM.NOT_DELEGATED;
|
|
pub const ADS_UF_USE_DES_KEY_ONLY = ADS_USER_FLAG_ENUM.USE_DES_KEY_ONLY;
|
|
pub const ADS_UF_DONT_REQUIRE_PREAUTH = ADS_USER_FLAG_ENUM.DONT_REQUIRE_PREAUTH;
|
|
pub const ADS_UF_PASSWORD_EXPIRED = ADS_USER_FLAG_ENUM.PASSWORD_EXPIRED;
|
|
pub const ADS_UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION = ADS_USER_FLAG_ENUM.TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION;
|
|
|
|
pub const ADS_RIGHTS_ENUM = enum(i32) {
|
|
DELETE = 65536,
|
|
READ_CONTROL = 131072,
|
|
WRITE_DAC = 262144,
|
|
WRITE_OWNER = 524288,
|
|
SYNCHRONIZE = 1048576,
|
|
ACCESS_SYSTEM_SECURITY = 16777216,
|
|
GENERIC_READ = -2147483648,
|
|
GENERIC_WRITE = 1073741824,
|
|
GENERIC_EXECUTE = 536870912,
|
|
GENERIC_ALL = 268435456,
|
|
DS_CREATE_CHILD = 1,
|
|
DS_DELETE_CHILD = 2,
|
|
ACTRL_DS_LIST = 4,
|
|
DS_SELF = 8,
|
|
DS_READ_PROP = 16,
|
|
DS_WRITE_PROP = 32,
|
|
DS_DELETE_TREE = 64,
|
|
DS_LIST_OBJECT = 128,
|
|
DS_CONTROL_ACCESS = 256,
|
|
};
|
|
pub const ADS_RIGHT_DELETE = ADS_RIGHTS_ENUM.DELETE;
|
|
pub const ADS_RIGHT_READ_CONTROL = ADS_RIGHTS_ENUM.READ_CONTROL;
|
|
pub const ADS_RIGHT_WRITE_DAC = ADS_RIGHTS_ENUM.WRITE_DAC;
|
|
pub const ADS_RIGHT_WRITE_OWNER = ADS_RIGHTS_ENUM.WRITE_OWNER;
|
|
pub const ADS_RIGHT_SYNCHRONIZE = ADS_RIGHTS_ENUM.SYNCHRONIZE;
|
|
pub const ADS_RIGHT_ACCESS_SYSTEM_SECURITY = ADS_RIGHTS_ENUM.ACCESS_SYSTEM_SECURITY;
|
|
pub const ADS_RIGHT_GENERIC_READ = ADS_RIGHTS_ENUM.GENERIC_READ;
|
|
pub const ADS_RIGHT_GENERIC_WRITE = ADS_RIGHTS_ENUM.GENERIC_WRITE;
|
|
pub const ADS_RIGHT_GENERIC_EXECUTE = ADS_RIGHTS_ENUM.GENERIC_EXECUTE;
|
|
pub const ADS_RIGHT_GENERIC_ALL = ADS_RIGHTS_ENUM.GENERIC_ALL;
|
|
pub const ADS_RIGHT_DS_CREATE_CHILD = ADS_RIGHTS_ENUM.DS_CREATE_CHILD;
|
|
pub const ADS_RIGHT_DS_DELETE_CHILD = ADS_RIGHTS_ENUM.DS_DELETE_CHILD;
|
|
pub const ADS_RIGHT_ACTRL_DS_LIST = ADS_RIGHTS_ENUM.ACTRL_DS_LIST;
|
|
pub const ADS_RIGHT_DS_SELF = ADS_RIGHTS_ENUM.DS_SELF;
|
|
pub const ADS_RIGHT_DS_READ_PROP = ADS_RIGHTS_ENUM.DS_READ_PROP;
|
|
pub const ADS_RIGHT_DS_WRITE_PROP = ADS_RIGHTS_ENUM.DS_WRITE_PROP;
|
|
pub const ADS_RIGHT_DS_DELETE_TREE = ADS_RIGHTS_ENUM.DS_DELETE_TREE;
|
|
pub const ADS_RIGHT_DS_LIST_OBJECT = ADS_RIGHTS_ENUM.DS_LIST_OBJECT;
|
|
pub const ADS_RIGHT_DS_CONTROL_ACCESS = ADS_RIGHTS_ENUM.DS_CONTROL_ACCESS;
|
|
|
|
pub const ADS_ACETYPE_ENUM = enum(i32) {
|
|
ACCESS_ALLOWED = 0,
|
|
ACCESS_DENIED = 1,
|
|
SYSTEM_AUDIT = 2,
|
|
ACCESS_ALLOWED_OBJECT = 5,
|
|
ACCESS_DENIED_OBJECT = 6,
|
|
SYSTEM_AUDIT_OBJECT = 7,
|
|
SYSTEM_ALARM_OBJECT = 8,
|
|
ACCESS_ALLOWED_CALLBACK = 9,
|
|
ACCESS_DENIED_CALLBACK = 10,
|
|
ACCESS_ALLOWED_CALLBACK_OBJECT = 11,
|
|
ACCESS_DENIED_CALLBACK_OBJECT = 12,
|
|
SYSTEM_AUDIT_CALLBACK = 13,
|
|
SYSTEM_ALARM_CALLBACK = 14,
|
|
SYSTEM_AUDIT_CALLBACK_OBJECT = 15,
|
|
SYSTEM_ALARM_CALLBACK_OBJECT = 16,
|
|
};
|
|
pub const ADS_ACETYPE_ACCESS_ALLOWED = ADS_ACETYPE_ENUM.ACCESS_ALLOWED;
|
|
pub const ADS_ACETYPE_ACCESS_DENIED = ADS_ACETYPE_ENUM.ACCESS_DENIED;
|
|
pub const ADS_ACETYPE_SYSTEM_AUDIT = ADS_ACETYPE_ENUM.SYSTEM_AUDIT;
|
|
pub const ADS_ACETYPE_ACCESS_ALLOWED_OBJECT = ADS_ACETYPE_ENUM.ACCESS_ALLOWED_OBJECT;
|
|
pub const ADS_ACETYPE_ACCESS_DENIED_OBJECT = ADS_ACETYPE_ENUM.ACCESS_DENIED_OBJECT;
|
|
pub const ADS_ACETYPE_SYSTEM_AUDIT_OBJECT = ADS_ACETYPE_ENUM.SYSTEM_AUDIT_OBJECT;
|
|
pub const ADS_ACETYPE_SYSTEM_ALARM_OBJECT = ADS_ACETYPE_ENUM.SYSTEM_ALARM_OBJECT;
|
|
pub const ADS_ACETYPE_ACCESS_ALLOWED_CALLBACK = ADS_ACETYPE_ENUM.ACCESS_ALLOWED_CALLBACK;
|
|
pub const ADS_ACETYPE_ACCESS_DENIED_CALLBACK = ADS_ACETYPE_ENUM.ACCESS_DENIED_CALLBACK;
|
|
pub const ADS_ACETYPE_ACCESS_ALLOWED_CALLBACK_OBJECT = ADS_ACETYPE_ENUM.ACCESS_ALLOWED_CALLBACK_OBJECT;
|
|
pub const ADS_ACETYPE_ACCESS_DENIED_CALLBACK_OBJECT = ADS_ACETYPE_ENUM.ACCESS_DENIED_CALLBACK_OBJECT;
|
|
pub const ADS_ACETYPE_SYSTEM_AUDIT_CALLBACK = ADS_ACETYPE_ENUM.SYSTEM_AUDIT_CALLBACK;
|
|
pub const ADS_ACETYPE_SYSTEM_ALARM_CALLBACK = ADS_ACETYPE_ENUM.SYSTEM_ALARM_CALLBACK;
|
|
pub const ADS_ACETYPE_SYSTEM_AUDIT_CALLBACK_OBJECT = ADS_ACETYPE_ENUM.SYSTEM_AUDIT_CALLBACK_OBJECT;
|
|
pub const ADS_ACETYPE_SYSTEM_ALARM_CALLBACK_OBJECT = ADS_ACETYPE_ENUM.SYSTEM_ALARM_CALLBACK_OBJECT;
|
|
|
|
pub const ADS_ACEFLAG_ENUM = enum(i32) {
|
|
INHERIT_ACE = 2,
|
|
NO_PROPAGATE_INHERIT_ACE = 4,
|
|
INHERIT_ONLY_ACE = 8,
|
|
INHERITED_ACE = 16,
|
|
VALID_INHERIT_FLAGS = 31,
|
|
SUCCESSFUL_ACCESS = 64,
|
|
FAILED_ACCESS = 128,
|
|
};
|
|
pub const ADS_ACEFLAG_INHERIT_ACE = ADS_ACEFLAG_ENUM.INHERIT_ACE;
|
|
pub const ADS_ACEFLAG_NO_PROPAGATE_INHERIT_ACE = ADS_ACEFLAG_ENUM.NO_PROPAGATE_INHERIT_ACE;
|
|
pub const ADS_ACEFLAG_INHERIT_ONLY_ACE = ADS_ACEFLAG_ENUM.INHERIT_ONLY_ACE;
|
|
pub const ADS_ACEFLAG_INHERITED_ACE = ADS_ACEFLAG_ENUM.INHERITED_ACE;
|
|
pub const ADS_ACEFLAG_VALID_INHERIT_FLAGS = ADS_ACEFLAG_ENUM.VALID_INHERIT_FLAGS;
|
|
pub const ADS_ACEFLAG_SUCCESSFUL_ACCESS = ADS_ACEFLAG_ENUM.SUCCESSFUL_ACCESS;
|
|
pub const ADS_ACEFLAG_FAILED_ACCESS = ADS_ACEFLAG_ENUM.FAILED_ACCESS;
|
|
|
|
pub const ADS_FLAGTYPE_ENUM = enum(i32) {
|
|
OBJECT_TYPE_PRESENT = 1,
|
|
INHERITED_OBJECT_TYPE_PRESENT = 2,
|
|
};
|
|
pub const ADS_FLAG_OBJECT_TYPE_PRESENT = ADS_FLAGTYPE_ENUM.OBJECT_TYPE_PRESENT;
|
|
pub const ADS_FLAG_INHERITED_OBJECT_TYPE_PRESENT = ADS_FLAGTYPE_ENUM.INHERITED_OBJECT_TYPE_PRESENT;
|
|
|
|
pub const ADS_SD_CONTROL_ENUM = enum(i32) {
|
|
OWNER_DEFAULTED = 1,
|
|
GROUP_DEFAULTED = 2,
|
|
DACL_PRESENT = 4,
|
|
DACL_DEFAULTED = 8,
|
|
SACL_PRESENT = 16,
|
|
SACL_DEFAULTED = 32,
|
|
DACL_AUTO_INHERIT_REQ = 256,
|
|
SACL_AUTO_INHERIT_REQ = 512,
|
|
DACL_AUTO_INHERITED = 1024,
|
|
SACL_AUTO_INHERITED = 2048,
|
|
DACL_PROTECTED = 4096,
|
|
SACL_PROTECTED = 8192,
|
|
SELF_RELATIVE = 32768,
|
|
};
|
|
pub const ADS_SD_CONTROL_SE_OWNER_DEFAULTED = ADS_SD_CONTROL_ENUM.OWNER_DEFAULTED;
|
|
pub const ADS_SD_CONTROL_SE_GROUP_DEFAULTED = ADS_SD_CONTROL_ENUM.GROUP_DEFAULTED;
|
|
pub const ADS_SD_CONTROL_SE_DACL_PRESENT = ADS_SD_CONTROL_ENUM.DACL_PRESENT;
|
|
pub const ADS_SD_CONTROL_SE_DACL_DEFAULTED = ADS_SD_CONTROL_ENUM.DACL_DEFAULTED;
|
|
pub const ADS_SD_CONTROL_SE_SACL_PRESENT = ADS_SD_CONTROL_ENUM.SACL_PRESENT;
|
|
pub const ADS_SD_CONTROL_SE_SACL_DEFAULTED = ADS_SD_CONTROL_ENUM.SACL_DEFAULTED;
|
|
pub const ADS_SD_CONTROL_SE_DACL_AUTO_INHERIT_REQ = ADS_SD_CONTROL_ENUM.DACL_AUTO_INHERIT_REQ;
|
|
pub const ADS_SD_CONTROL_SE_SACL_AUTO_INHERIT_REQ = ADS_SD_CONTROL_ENUM.SACL_AUTO_INHERIT_REQ;
|
|
pub const ADS_SD_CONTROL_SE_DACL_AUTO_INHERITED = ADS_SD_CONTROL_ENUM.DACL_AUTO_INHERITED;
|
|
pub const ADS_SD_CONTROL_SE_SACL_AUTO_INHERITED = ADS_SD_CONTROL_ENUM.SACL_AUTO_INHERITED;
|
|
pub const ADS_SD_CONTROL_SE_DACL_PROTECTED = ADS_SD_CONTROL_ENUM.DACL_PROTECTED;
|
|
pub const ADS_SD_CONTROL_SE_SACL_PROTECTED = ADS_SD_CONTROL_ENUM.SACL_PROTECTED;
|
|
pub const ADS_SD_CONTROL_SE_SELF_RELATIVE = ADS_SD_CONTROL_ENUM.SELF_RELATIVE;
|
|
|
|
pub const ADS_SD_REVISION_ENUM = enum(i32) {
|
|
S = 4,
|
|
};
|
|
pub const ADS_SD_REVISION_DS = ADS_SD_REVISION_ENUM.S;
|
|
|
|
pub const ADS_NAME_TYPE_ENUM = enum(i32) {
|
|
@"1779" = 1,
|
|
CANONICAL = 2,
|
|
NT4 = 3,
|
|
DISPLAY = 4,
|
|
DOMAIN_SIMPLE = 5,
|
|
ENTERPRISE_SIMPLE = 6,
|
|
GUID = 7,
|
|
UNKNOWN = 8,
|
|
USER_PRINCIPAL_NAME = 9,
|
|
CANONICAL_EX = 10,
|
|
SERVICE_PRINCIPAL_NAME = 11,
|
|
SID_OR_SID_HISTORY_NAME = 12,
|
|
};
|
|
pub const ADS_NAME_TYPE_1779 = ADS_NAME_TYPE_ENUM.@"1779";
|
|
pub const ADS_NAME_TYPE_CANONICAL = ADS_NAME_TYPE_ENUM.CANONICAL;
|
|
pub const ADS_NAME_TYPE_NT4 = ADS_NAME_TYPE_ENUM.NT4;
|
|
pub const ADS_NAME_TYPE_DISPLAY = ADS_NAME_TYPE_ENUM.DISPLAY;
|
|
pub const ADS_NAME_TYPE_DOMAIN_SIMPLE = ADS_NAME_TYPE_ENUM.DOMAIN_SIMPLE;
|
|
pub const ADS_NAME_TYPE_ENTERPRISE_SIMPLE = ADS_NAME_TYPE_ENUM.ENTERPRISE_SIMPLE;
|
|
pub const ADS_NAME_TYPE_GUID = ADS_NAME_TYPE_ENUM.GUID;
|
|
pub const ADS_NAME_TYPE_UNKNOWN = ADS_NAME_TYPE_ENUM.UNKNOWN;
|
|
pub const ADS_NAME_TYPE_USER_PRINCIPAL_NAME = ADS_NAME_TYPE_ENUM.USER_PRINCIPAL_NAME;
|
|
pub const ADS_NAME_TYPE_CANONICAL_EX = ADS_NAME_TYPE_ENUM.CANONICAL_EX;
|
|
pub const ADS_NAME_TYPE_SERVICE_PRINCIPAL_NAME = ADS_NAME_TYPE_ENUM.SERVICE_PRINCIPAL_NAME;
|
|
pub const ADS_NAME_TYPE_SID_OR_SID_HISTORY_NAME = ADS_NAME_TYPE_ENUM.SID_OR_SID_HISTORY_NAME;
|
|
|
|
pub const ADS_NAME_INITTYPE_ENUM = enum(i32) {
|
|
DOMAIN = 1,
|
|
SERVER = 2,
|
|
GC = 3,
|
|
};
|
|
pub const ADS_NAME_INITTYPE_DOMAIN = ADS_NAME_INITTYPE_ENUM.DOMAIN;
|
|
pub const ADS_NAME_INITTYPE_SERVER = ADS_NAME_INITTYPE_ENUM.SERVER;
|
|
pub const ADS_NAME_INITTYPE_GC = ADS_NAME_INITTYPE_ENUM.GC;
|
|
|
|
pub const ADS_OPTION_ENUM = enum(i32) {
|
|
SERVERNAME = 0,
|
|
REFERRALS = 1,
|
|
PAGE_SIZE = 2,
|
|
SECURITY_MASK = 3,
|
|
MUTUAL_AUTH_STATUS = 4,
|
|
QUOTA = 5,
|
|
PASSWORD_PORTNUMBER = 6,
|
|
PASSWORD_METHOD = 7,
|
|
ACCUMULATIVE_MODIFICATION = 8,
|
|
SKIP_SID_LOOKUP = 9,
|
|
};
|
|
pub const ADS_OPTION_SERVERNAME = ADS_OPTION_ENUM.SERVERNAME;
|
|
pub const ADS_OPTION_REFERRALS = ADS_OPTION_ENUM.REFERRALS;
|
|
pub const ADS_OPTION_PAGE_SIZE = ADS_OPTION_ENUM.PAGE_SIZE;
|
|
pub const ADS_OPTION_SECURITY_MASK = ADS_OPTION_ENUM.SECURITY_MASK;
|
|
pub const ADS_OPTION_MUTUAL_AUTH_STATUS = ADS_OPTION_ENUM.MUTUAL_AUTH_STATUS;
|
|
pub const ADS_OPTION_QUOTA = ADS_OPTION_ENUM.QUOTA;
|
|
pub const ADS_OPTION_PASSWORD_PORTNUMBER = ADS_OPTION_ENUM.PASSWORD_PORTNUMBER;
|
|
pub const ADS_OPTION_PASSWORD_METHOD = ADS_OPTION_ENUM.PASSWORD_METHOD;
|
|
pub const ADS_OPTION_ACCUMULATIVE_MODIFICATION = ADS_OPTION_ENUM.ACCUMULATIVE_MODIFICATION;
|
|
pub const ADS_OPTION_SKIP_SID_LOOKUP = ADS_OPTION_ENUM.SKIP_SID_LOOKUP;
|
|
|
|
pub const ADS_SECURITY_INFO_ENUM = enum(i32) {
|
|
OWNER = 1,
|
|
GROUP = 2,
|
|
DACL = 4,
|
|
SACL = 8,
|
|
};
|
|
pub const ADS_SECURITY_INFO_OWNER = ADS_SECURITY_INFO_ENUM.OWNER;
|
|
pub const ADS_SECURITY_INFO_GROUP = ADS_SECURITY_INFO_ENUM.GROUP;
|
|
pub const ADS_SECURITY_INFO_DACL = ADS_SECURITY_INFO_ENUM.DACL;
|
|
pub const ADS_SECURITY_INFO_SACL = ADS_SECURITY_INFO_ENUM.SACL;
|
|
|
|
pub const ADS_SETTYPE_ENUM = enum(i32) {
|
|
FULL = 1,
|
|
PROVIDER = 2,
|
|
SERVER = 3,
|
|
DN = 4,
|
|
};
|
|
pub const ADS_SETTYPE_FULL = ADS_SETTYPE_ENUM.FULL;
|
|
pub const ADS_SETTYPE_PROVIDER = ADS_SETTYPE_ENUM.PROVIDER;
|
|
pub const ADS_SETTYPE_SERVER = ADS_SETTYPE_ENUM.SERVER;
|
|
pub const ADS_SETTYPE_DN = ADS_SETTYPE_ENUM.DN;
|
|
|
|
pub const ADS_FORMAT_ENUM = enum(i32) {
|
|
WINDOWS = 1,
|
|
WINDOWS_NO_SERVER = 2,
|
|
WINDOWS_DN = 3,
|
|
WINDOWS_PARENT = 4,
|
|
X500 = 5,
|
|
X500_NO_SERVER = 6,
|
|
X500_DN = 7,
|
|
X500_PARENT = 8,
|
|
SERVER = 9,
|
|
PROVIDER = 10,
|
|
LEAF = 11,
|
|
};
|
|
pub const ADS_FORMAT_WINDOWS = ADS_FORMAT_ENUM.WINDOWS;
|
|
pub const ADS_FORMAT_WINDOWS_NO_SERVER = ADS_FORMAT_ENUM.WINDOWS_NO_SERVER;
|
|
pub const ADS_FORMAT_WINDOWS_DN = ADS_FORMAT_ENUM.WINDOWS_DN;
|
|
pub const ADS_FORMAT_WINDOWS_PARENT = ADS_FORMAT_ENUM.WINDOWS_PARENT;
|
|
pub const ADS_FORMAT_X500 = ADS_FORMAT_ENUM.X500;
|
|
pub const ADS_FORMAT_X500_NO_SERVER = ADS_FORMAT_ENUM.X500_NO_SERVER;
|
|
pub const ADS_FORMAT_X500_DN = ADS_FORMAT_ENUM.X500_DN;
|
|
pub const ADS_FORMAT_X500_PARENT = ADS_FORMAT_ENUM.X500_PARENT;
|
|
pub const ADS_FORMAT_SERVER = ADS_FORMAT_ENUM.SERVER;
|
|
pub const ADS_FORMAT_PROVIDER = ADS_FORMAT_ENUM.PROVIDER;
|
|
pub const ADS_FORMAT_LEAF = ADS_FORMAT_ENUM.LEAF;
|
|
|
|
pub const ADS_DISPLAY_ENUM = enum(i32) {
|
|
FULL = 1,
|
|
VALUE_ONLY = 2,
|
|
};
|
|
pub const ADS_DISPLAY_FULL = ADS_DISPLAY_ENUM.FULL;
|
|
pub const ADS_DISPLAY_VALUE_ONLY = ADS_DISPLAY_ENUM.VALUE_ONLY;
|
|
|
|
pub const ADS_ESCAPE_MODE_ENUM = enum(i32) {
|
|
DEFAULT = 1,
|
|
ON = 2,
|
|
OFF = 3,
|
|
OFF_EX = 4,
|
|
};
|
|
pub const ADS_ESCAPEDMODE_DEFAULT = ADS_ESCAPE_MODE_ENUM.DEFAULT;
|
|
pub const ADS_ESCAPEDMODE_ON = ADS_ESCAPE_MODE_ENUM.ON;
|
|
pub const ADS_ESCAPEDMODE_OFF = ADS_ESCAPE_MODE_ENUM.OFF;
|
|
pub const ADS_ESCAPEDMODE_OFF_EX = ADS_ESCAPE_MODE_ENUM.OFF_EX;
|
|
|
|
pub const ADS_PATHTYPE_ENUM = enum(i32) {
|
|
FILE = 1,
|
|
FILESHARE = 2,
|
|
REGISTRY = 3,
|
|
};
|
|
pub const ADS_PATH_FILE = ADS_PATHTYPE_ENUM.FILE;
|
|
pub const ADS_PATH_FILESHARE = ADS_PATHTYPE_ENUM.FILESHARE;
|
|
pub const ADS_PATH_REGISTRY = ADS_PATHTYPE_ENUM.REGISTRY;
|
|
|
|
pub const ADS_SD_FORMAT_ENUM = enum(i32) {
|
|
IID = 1,
|
|
RAW = 2,
|
|
HEXSTRING = 3,
|
|
};
|
|
pub const ADS_SD_FORMAT_IID = ADS_SD_FORMAT_ENUM.IID;
|
|
pub const ADS_SD_FORMAT_RAW = ADS_SD_FORMAT_ENUM.RAW;
|
|
pub const ADS_SD_FORMAT_HEXSTRING = ADS_SD_FORMAT_ENUM.HEXSTRING;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADs_Value = Guid.initString("fd8256d0-fd15-11ce-abc4-02608c9e7553");
|
|
pub const IID_IADs = &IID_IADs_Value;
|
|
pub const IADs = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Name: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Class: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_GUID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ADsPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Parent: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Schema: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetInfo: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetInfo: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Get: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
bstrName: ?BSTR,
|
|
pvProp: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
bstrName: ?BSTR,
|
|
pvProp: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Put: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
bstrName: ?BSTR,
|
|
vProp: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
bstrName: ?BSTR,
|
|
vProp: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetEx: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
bstrName: ?BSTR,
|
|
pvProp: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
bstrName: ?BSTR,
|
|
pvProp: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
PutEx: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
lnControlCode: i32,
|
|
bstrName: ?BSTR,
|
|
vProp: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
lnControlCode: i32,
|
|
bstrName: ?BSTR,
|
|
vProp: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetInfoEx: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADs,
|
|
vProperties: VARIANT,
|
|
lnReserved: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADs,
|
|
vProperties: VARIANT,
|
|
lnReserved: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_get_Name(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).get_Name(@as(*const IADs, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_get_Class(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).get_Class(@as(*const IADs, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_get_GUID(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).get_GUID(@as(*const IADs, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_get_ADsPath(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).get_ADsPath(@as(*const IADs, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_get_Parent(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).get_Parent(@as(*const IADs, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_get_Schema(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).get_Schema(@as(*const IADs, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_GetInfo(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).GetInfo(@as(*const IADs, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_SetInfo(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).SetInfo(@as(*const IADs, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_Get(self: *const T, bstrName: ?BSTR, pvProp: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).Get(@as(*const IADs, @ptrCast(self)), bstrName, pvProp);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_Put(self: *const T, bstrName: ?BSTR, vProp: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).Put(@as(*const IADs, @ptrCast(self)), bstrName, vProp);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_GetEx(self: *const T, bstrName: ?BSTR, pvProp: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).GetEx(@as(*const IADs, @ptrCast(self)), bstrName, pvProp);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_PutEx(self: *const T, lnControlCode: i32, bstrName: ?BSTR, vProp: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).PutEx(@as(*const IADs, @ptrCast(self)), lnControlCode, bstrName, vProp);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADs_GetInfoEx(self: *const T, vProperties: VARIANT, lnReserved: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADs.VTable, @ptrCast(self.vtable)).GetInfoEx(@as(*const IADs, @ptrCast(self)), vProperties, lnReserved);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsContainer_Value = Guid.initString("001677d0-fd16-11ce-abc4-02608c9e7553");
|
|
pub const IID_IADsContainer = &IID_IADsContainer_Value;
|
|
pub const IADsContainer = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Count: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get__NewEnum: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
retval: ?*?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
retval: ?*?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Filter: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
pVar: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
pVar: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Filter: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
Var: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
Var: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Hints: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
pvFilter: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
pvFilter: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Hints: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
vHints: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
vHints: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
ClassName: ?BSTR,
|
|
RelativeName: ?BSTR,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
ClassName: ?BSTR,
|
|
RelativeName: ?BSTR,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Create: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
ClassName: ?BSTR,
|
|
RelativeName: ?BSTR,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
ClassName: ?BSTR,
|
|
RelativeName: ?BSTR,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Delete: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
bstrClassName: ?BSTR,
|
|
bstrRelativeName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
bstrClassName: ?BSTR,
|
|
bstrRelativeName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CopyHere: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
SourceName: ?BSTR,
|
|
NewName: ?BSTR,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
SourceName: ?BSTR,
|
|
NewName: ?BSTR,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
MoveHere: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsContainer,
|
|
SourceName: ?BSTR,
|
|
NewName: ?BSTR,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsContainer,
|
|
SourceName: ?BSTR,
|
|
NewName: ?BSTR,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_get_Count(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).get_Count(@as(*const IADsContainer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_get__NewEnum(self: *const T, retval: ?*?*IUnknown) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).get__NewEnum(@as(*const IADsContainer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_get_Filter(self: *const T, pVar: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).get_Filter(@as(*const IADsContainer, @ptrCast(self)), pVar);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_put_Filter(self: *const T, Var: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).put_Filter(@as(*const IADsContainer, @ptrCast(self)), Var);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_get_Hints(self: *const T, pvFilter: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).get_Hints(@as(*const IADsContainer, @ptrCast(self)), pvFilter);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_put_Hints(self: *const T, vHints: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).put_Hints(@as(*const IADsContainer, @ptrCast(self)), vHints);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_GetObject(self: *const T, ClassName: ?BSTR, RelativeName: ?BSTR, ppObject: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).GetObject(@as(*const IADsContainer, @ptrCast(self)), ClassName, RelativeName, ppObject);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_Create(self: *const T, ClassName: ?BSTR, RelativeName: ?BSTR, ppObject: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).Create(@as(*const IADsContainer, @ptrCast(self)), ClassName, RelativeName, ppObject);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_Delete(self: *const T, bstrClassName: ?BSTR, bstrRelativeName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).Delete(@as(*const IADsContainer, @ptrCast(self)), bstrClassName, bstrRelativeName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_CopyHere(self: *const T, SourceName: ?BSTR, NewName: ?BSTR, ppObject: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).CopyHere(@as(*const IADsContainer, @ptrCast(self)), SourceName, NewName, ppObject);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsContainer_MoveHere(self: *const T, SourceName: ?BSTR, NewName: ?BSTR, ppObject: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsContainer.VTable, @ptrCast(self.vtable)).MoveHere(@as(*const IADsContainer, @ptrCast(self)), SourceName, NewName, ppObject);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsCollection_Value = Guid.initString("72b945e0-253b-11cf-a988-00aa006bc149");
|
|
pub const IID_IADsCollection = &IID_IADsCollection_Value;
|
|
pub const IADsCollection = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get__NewEnum: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsCollection,
|
|
ppEnumerator: ?*?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsCollection,
|
|
ppEnumerator: ?*?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Add: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsCollection,
|
|
bstrName: ?BSTR,
|
|
vItem: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsCollection,
|
|
bstrName: ?BSTR,
|
|
vItem: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Remove: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsCollection,
|
|
bstrItemToBeRemoved: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsCollection,
|
|
bstrItemToBeRemoved: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsCollection,
|
|
bstrName: ?BSTR,
|
|
pvItem: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsCollection,
|
|
bstrName: ?BSTR,
|
|
pvItem: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsCollection_get__NewEnum(self: *const T, ppEnumerator: ?*?*IUnknown) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsCollection.VTable, @ptrCast(self.vtable)).get__NewEnum(@as(*const IADsCollection, @ptrCast(self)), ppEnumerator);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsCollection_Add(self: *const T, bstrName: ?BSTR, vItem: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsCollection.VTable, @ptrCast(self.vtable)).Add(@as(*const IADsCollection, @ptrCast(self)), bstrName, vItem);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsCollection_Remove(self: *const T, bstrItemToBeRemoved: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsCollection.VTable, @ptrCast(self.vtable)).Remove(@as(*const IADsCollection, @ptrCast(self)), bstrItemToBeRemoved);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsCollection_GetObject(self: *const T, bstrName: ?BSTR, pvItem: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsCollection.VTable, @ptrCast(self.vtable)).GetObject(@as(*const IADsCollection, @ptrCast(self)), bstrName, pvItem);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsMembers_Value = Guid.initString("451a0030-72ec-11cf-b03b-00aa006e0975");
|
|
pub const IID_IADsMembers = &IID_IADsMembers_Value;
|
|
pub const IADsMembers = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Count: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsMembers,
|
|
plCount: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsMembers,
|
|
plCount: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get__NewEnum: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsMembers,
|
|
ppEnumerator: ?*?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsMembers,
|
|
ppEnumerator: ?*?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Filter: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsMembers,
|
|
pvFilter: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsMembers,
|
|
pvFilter: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Filter: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsMembers,
|
|
pvFilter: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsMembers,
|
|
pvFilter: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsMembers_get_Count(self: *const T, plCount: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsMembers.VTable, @ptrCast(self.vtable)).get_Count(@as(*const IADsMembers, @ptrCast(self)), plCount);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsMembers_get__NewEnum(self: *const T, ppEnumerator: ?*?*IUnknown) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsMembers.VTable, @ptrCast(self.vtable)).get__NewEnum(@as(*const IADsMembers, @ptrCast(self)), ppEnumerator);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsMembers_get_Filter(self: *const T, pvFilter: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsMembers.VTable, @ptrCast(self.vtable)).get_Filter(@as(*const IADsMembers, @ptrCast(self)), pvFilter);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsMembers_put_Filter(self: *const T, pvFilter: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsMembers.VTable, @ptrCast(self.vtable)).put_Filter(@as(*const IADsMembers, @ptrCast(self)), pvFilter);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPropertyList_Value = Guid.initString("c6f602b6-8f69-11d0-8528-00c04fd8d503");
|
|
pub const IID_IADsPropertyList = &IID_IADsPropertyList_Value;
|
|
pub const IADsPropertyList = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PropertyCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
plCount: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
plCount: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Next: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Skip: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
cElements: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
cElements: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Reset: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Item: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
varIndex: VARIANT,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
varIndex: VARIANT,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetPropertyItem: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
bstrName: ?BSTR,
|
|
lnADsType: i32,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
bstrName: ?BSTR,
|
|
lnADsType: i32,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
PutPropertyItem: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
varData: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
varData: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ResetPropertyItem: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
varEntry: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
varEntry: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
PurgePropertyList: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyList,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyList,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_get_PropertyCount(self: *const T, plCount: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).get_PropertyCount(@as(*const IADsPropertyList, @ptrCast(self)), plCount);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_Next(self: *const T, pVariant: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).Next(@as(*const IADsPropertyList, @ptrCast(self)), pVariant);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_Skip(self: *const T, cElements: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).Skip(@as(*const IADsPropertyList, @ptrCast(self)), cElements);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_Reset(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).Reset(@as(*const IADsPropertyList, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_Item(self: *const T, varIndex: VARIANT, pVariant: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).Item(@as(*const IADsPropertyList, @ptrCast(self)), varIndex, pVariant);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_GetPropertyItem(self: *const T, bstrName: ?BSTR, lnADsType: i32, pVariant: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).GetPropertyItem(@as(*const IADsPropertyList, @ptrCast(self)), bstrName, lnADsType, pVariant);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_PutPropertyItem(self: *const T, varData: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).PutPropertyItem(@as(*const IADsPropertyList, @ptrCast(self)), varData);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_ResetPropertyItem(self: *const T, varEntry: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).ResetPropertyItem(@as(*const IADsPropertyList, @ptrCast(self)), varEntry);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyList_PurgePropertyList(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyList.VTable, @ptrCast(self.vtable)).PurgePropertyList(@as(*const IADsPropertyList, @ptrCast(self)));
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPropertyEntry_Value = Guid.initString("05792c8e-941f-11d0-8529-00c04fd8d503");
|
|
pub const IID_IADsPropertyEntry = &IID_IADsPropertyEntry_Value;
|
|
pub const IADsPropertyEntry = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
Clear: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Name: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Name: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
bstrName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
bstrName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ADsType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ADsType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
lnADsType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
lnADsType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ControlCode: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ControlCode: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
lnControlCode: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
lnControlCode: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Values: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Values: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyEntry,
|
|
vValues: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyEntry,
|
|
vValues: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_Clear(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).Clear(@as(*const IADsPropertyEntry, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_get_Name(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).get_Name(@as(*const IADsPropertyEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_put_Name(self: *const T, bstrName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).put_Name(@as(*const IADsPropertyEntry, @ptrCast(self)), bstrName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_get_ADsType(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).get_ADsType(@as(*const IADsPropertyEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_put_ADsType(self: *const T, lnADsType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).put_ADsType(@as(*const IADsPropertyEntry, @ptrCast(self)), lnADsType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_get_ControlCode(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).get_ControlCode(@as(*const IADsPropertyEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_put_ControlCode(self: *const T, lnControlCode: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).put_ControlCode(@as(*const IADsPropertyEntry, @ptrCast(self)), lnControlCode);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_get_Values(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).get_Values(@as(*const IADsPropertyEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyEntry_put_Values(self: *const T, vValues: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyEntry.VTable, @ptrCast(self.vtable)).put_Values(@as(*const IADsPropertyEntry, @ptrCast(self)), vValues);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPropertyValue_Value = Guid.initString("79fa9ad0-a97c-11d0-8534-00c04fd8d503");
|
|
pub const IID_IADsPropertyValue = &IID_IADsPropertyValue_Value;
|
|
pub const IADsPropertyValue = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
Clear: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ADsType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ADsType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
lnADsType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
lnADsType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DNString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DNString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrDNString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrDNString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_CaseExactString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_CaseExactString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrCaseExactString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrCaseExactString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_CaseIgnoreString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_CaseIgnoreString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrCaseIgnoreString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrCaseIgnoreString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PrintableString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PrintableString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrPrintableString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrPrintableString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_NumericString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_NumericString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrNumericString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
bstrNumericString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Boolean: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Boolean: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
lnBoolean: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
lnBoolean: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Integer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Integer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
lnInteger: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
lnInteger: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OctetString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OctetString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
vOctetString: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
vOctetString: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SecurityDescriptor: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SecurityDescriptor: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
pSecurityDescriptor: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
pSecurityDescriptor: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LargeInteger: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LargeInteger: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
pLargeInteger: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
pLargeInteger: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_UTCTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_UTCTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue,
|
|
daUTCTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue,
|
|
daUTCTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_Clear(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).Clear(@as(*const IADsPropertyValue, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_ADsType(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_ADsType(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_ADsType(self: *const T, lnADsType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_ADsType(@as(*const IADsPropertyValue, @ptrCast(self)), lnADsType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_DNString(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_DNString(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_DNString(self: *const T, bstrDNString: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_DNString(@as(*const IADsPropertyValue, @ptrCast(self)), bstrDNString);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_CaseExactString(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_CaseExactString(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_CaseExactString(self: *const T, bstrCaseExactString: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_CaseExactString(@as(*const IADsPropertyValue, @ptrCast(self)), bstrCaseExactString);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_CaseIgnoreString(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_CaseIgnoreString(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_CaseIgnoreString(self: *const T, bstrCaseIgnoreString: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_CaseIgnoreString(@as(*const IADsPropertyValue, @ptrCast(self)), bstrCaseIgnoreString);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_PrintableString(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_PrintableString(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_PrintableString(self: *const T, bstrPrintableString: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_PrintableString(@as(*const IADsPropertyValue, @ptrCast(self)), bstrPrintableString);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_NumericString(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_NumericString(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_NumericString(self: *const T, bstrNumericString: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_NumericString(@as(*const IADsPropertyValue, @ptrCast(self)), bstrNumericString);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_Boolean(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_Boolean(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_Boolean(self: *const T, lnBoolean: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_Boolean(@as(*const IADsPropertyValue, @ptrCast(self)), lnBoolean);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_Integer(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_Integer(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_Integer(self: *const T, lnInteger: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_Integer(@as(*const IADsPropertyValue, @ptrCast(self)), lnInteger);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_OctetString(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_OctetString(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_OctetString(self: *const T, vOctetString: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_OctetString(@as(*const IADsPropertyValue, @ptrCast(self)), vOctetString);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_SecurityDescriptor(self: *const T, retval: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_SecurityDescriptor(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_SecurityDescriptor(self: *const T, pSecurityDescriptor: ?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_SecurityDescriptor(@as(*const IADsPropertyValue, @ptrCast(self)), pSecurityDescriptor);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_LargeInteger(self: *const T, retval: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_LargeInteger(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_LargeInteger(self: *const T, pLargeInteger: ?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_LargeInteger(@as(*const IADsPropertyValue, @ptrCast(self)), pLargeInteger);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_get_UTCTime(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).get_UTCTime(@as(*const IADsPropertyValue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue_put_UTCTime(self: *const T, daUTCTime: f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue.VTable, @ptrCast(self.vtable)).put_UTCTime(@as(*const IADsPropertyValue, @ptrCast(self)), daUTCTime);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPropertyValue2_Value = Guid.initString("306e831c-5bc7-11d1-a3b8-00c04fb950dc");
|
|
pub const IID_IADsPropertyValue2 = &IID_IADsPropertyValue2_Value;
|
|
pub const IADsPropertyValue2 = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
GetObjectProperty: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue2,
|
|
lnADsType: ?*i32,
|
|
pvProp: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue2,
|
|
lnADsType: ?*i32,
|
|
pvProp: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
PutObjectProperty: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPropertyValue2,
|
|
lnADsType: i32,
|
|
vProp: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPropertyValue2,
|
|
lnADsType: i32,
|
|
vProp: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue2_GetObjectProperty(self: *const T, lnADsType: ?*i32, pvProp: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue2.VTable, @ptrCast(self.vtable)).GetObjectProperty(@as(*const IADsPropertyValue2, @ptrCast(self)), lnADsType, pvProp);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPropertyValue2_PutObjectProperty(self: *const T, lnADsType: i32, vProp: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPropertyValue2.VTable, @ptrCast(self.vtable)).PutObjectProperty(@as(*const IADsPropertyValue2, @ptrCast(self)), lnADsType, vProp);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
const IID_IPrivateDispatch_Value = Guid.initString("86ab4bbe-65f6-11d1-8c13-00c04fd8d503");
|
|
pub const IID_IPrivateDispatch = &IID_IPrivateDispatch_Value;
|
|
pub const IPrivateDispatch = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
ADSIInitializeDispatchManager: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPrivateDispatch,
|
|
dwExtensionId: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPrivateDispatch,
|
|
dwExtensionId: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ADSIGetTypeInfoCount: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPrivateDispatch,
|
|
pctinfo: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPrivateDispatch,
|
|
pctinfo: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ADSIGetTypeInfo: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPrivateDispatch,
|
|
itinfo: u32,
|
|
lcid: u32,
|
|
pptinfo: ?*?*ITypeInfo,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPrivateDispatch,
|
|
itinfo: u32,
|
|
lcid: u32,
|
|
pptinfo: ?*?*ITypeInfo,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ADSIGetIDsOfNames: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPrivateDispatch,
|
|
riid: ?*const Guid,
|
|
rgszNames: ?*?*u16,
|
|
cNames: u32,
|
|
lcid: u32,
|
|
rgdispid: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPrivateDispatch,
|
|
riid: ?*const Guid,
|
|
rgszNames: ?*?*u16,
|
|
cNames: u32,
|
|
lcid: u32,
|
|
rgdispid: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ADSIInvoke: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPrivateDispatch,
|
|
dispidMember: i32,
|
|
riid: ?*const Guid,
|
|
lcid: u32,
|
|
wFlags: u16,
|
|
pdispparams: ?*DISPPARAMS,
|
|
pvarResult: ?*VARIANT,
|
|
pexcepinfo: ?*EXCEPINFO,
|
|
puArgErr: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPrivateDispatch,
|
|
dispidMember: i32,
|
|
riid: ?*const Guid,
|
|
lcid: u32,
|
|
wFlags: u16,
|
|
pdispparams: ?*DISPPARAMS,
|
|
pvarResult: ?*VARIANT,
|
|
pexcepinfo: ?*EXCEPINFO,
|
|
puArgErr: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPrivateDispatch_ADSIInitializeDispatchManager(self: *const T, dwExtensionId: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPrivateDispatch.VTable, @ptrCast(self.vtable)).ADSIInitializeDispatchManager(@as(*const IPrivateDispatch, @ptrCast(self)), dwExtensionId);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPrivateDispatch_ADSIGetTypeInfoCount(self: *const T, pctinfo: ?*u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPrivateDispatch.VTable, @ptrCast(self.vtable)).ADSIGetTypeInfoCount(@as(*const IPrivateDispatch, @ptrCast(self)), pctinfo);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPrivateDispatch_ADSIGetTypeInfo(self: *const T, itinfo: u32, lcid: u32, pptinfo: ?*?*ITypeInfo) callconv(.Inline) HRESULT {
|
|
return @as(*const IPrivateDispatch.VTable, @ptrCast(self.vtable)).ADSIGetTypeInfo(@as(*const IPrivateDispatch, @ptrCast(self)), itinfo, lcid, pptinfo);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPrivateDispatch_ADSIGetIDsOfNames(self: *const T, riid: ?*const Guid, rgszNames: ?*?*u16, cNames: u32, lcid: u32, rgdispid: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPrivateDispatch.VTable, @ptrCast(self.vtable)).ADSIGetIDsOfNames(@as(*const IPrivateDispatch, @ptrCast(self)), riid, rgszNames, cNames, lcid, rgdispid);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPrivateDispatch_ADSIInvoke(self: *const T, dispidMember: i32, riid: ?*const Guid, lcid: u32, wFlags: u16, pdispparams: ?*DISPPARAMS, pvarResult: ?*VARIANT, pexcepinfo: ?*EXCEPINFO, puArgErr: ?*u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPrivateDispatch.VTable, @ptrCast(self.vtable)).ADSIInvoke(@as(*const IPrivateDispatch, @ptrCast(self)), dispidMember, riid, lcid, wFlags, pdispparams, pvarResult, pexcepinfo, puArgErr);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
const IID_IPrivateUnknown_Value = Guid.initString("89126bab-6ead-11d1-8c18-00c04fd8d503");
|
|
pub const IID_IPrivateUnknown = &IID_IPrivateUnknown_Value;
|
|
pub const IPrivateUnknown = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
ADSIInitializeObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPrivateUnknown,
|
|
lpszUserName: ?BSTR,
|
|
lpszPassword: ?BSTR,
|
|
lnReserved: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPrivateUnknown,
|
|
lpszUserName: ?BSTR,
|
|
lpszPassword: ?BSTR,
|
|
lnReserved: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ADSIReleaseObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IPrivateUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IPrivateUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPrivateUnknown_ADSIInitializeObject(self: *const T, lpszUserName: ?BSTR, lpszPassword: ?BSTR, lnReserved: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IPrivateUnknown.VTable, @ptrCast(self.vtable)).ADSIInitializeObject(@as(*const IPrivateUnknown, @ptrCast(self)), lpszUserName, lpszPassword, lnReserved);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IPrivateUnknown_ADSIReleaseObject(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IPrivateUnknown.VTable, @ptrCast(self.vtable)).ADSIReleaseObject(@as(*const IPrivateUnknown, @ptrCast(self)));
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsExtension_Value = Guid.initString("3d35553c-d2b0-11d1-b17b-0000f87593a0");
|
|
pub const IID_IADsExtension = &IID_IADsExtension_Value;
|
|
pub const IADsExtension = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
Operate: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsExtension,
|
|
dwCode: u32,
|
|
varData1: VARIANT,
|
|
varData2: VARIANT,
|
|
varData3: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsExtension,
|
|
dwCode: u32,
|
|
varData1: VARIANT,
|
|
varData2: VARIANT,
|
|
varData3: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
PrivateGetIDsOfNames: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsExtension,
|
|
riid: ?*const Guid,
|
|
rgszNames: ?*?*u16,
|
|
cNames: u32,
|
|
lcid: u32,
|
|
rgDispid: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsExtension,
|
|
riid: ?*const Guid,
|
|
rgszNames: ?*?*u16,
|
|
cNames: u32,
|
|
lcid: u32,
|
|
rgDispid: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
PrivateInvoke: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsExtension,
|
|
dispidMember: i32,
|
|
riid: ?*const Guid,
|
|
lcid: u32,
|
|
wFlags: u16,
|
|
pdispparams: ?*DISPPARAMS,
|
|
pvarResult: ?*VARIANT,
|
|
pexcepinfo: ?*EXCEPINFO,
|
|
puArgErr: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsExtension,
|
|
dispidMember: i32,
|
|
riid: ?*const Guid,
|
|
lcid: u32,
|
|
wFlags: u16,
|
|
pdispparams: ?*DISPPARAMS,
|
|
pvarResult: ?*VARIANT,
|
|
pexcepinfo: ?*EXCEPINFO,
|
|
puArgErr: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsExtension_Operate(self: *const T, dwCode: u32, varData1: VARIANT, varData2: VARIANT, varData3: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsExtension.VTable, @ptrCast(self.vtable)).Operate(@as(*const IADsExtension, @ptrCast(self)), dwCode, varData1, varData2, varData3);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsExtension_PrivateGetIDsOfNames(self: *const T, riid: ?*const Guid, rgszNames: ?*?*u16, cNames: u32, lcid: u32, rgDispid: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsExtension.VTable, @ptrCast(self.vtable)).PrivateGetIDsOfNames(@as(*const IADsExtension, @ptrCast(self)), riid, rgszNames, cNames, lcid, rgDispid);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsExtension_PrivateInvoke(self: *const T, dispidMember: i32, riid: ?*const Guid, lcid: u32, wFlags: u16, pdispparams: ?*DISPPARAMS, pvarResult: ?*VARIANT, pexcepinfo: ?*EXCEPINFO, puArgErr: ?*u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsExtension.VTable, @ptrCast(self.vtable)).PrivateInvoke(@as(*const IADsExtension, @ptrCast(self)), dispidMember, riid, lcid, wFlags, pdispparams, pvarResult, pexcepinfo, puArgErr);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsDeleteOps_Value = Guid.initString("b2bd0902-8878-11d1-8c21-00c04fd8d503");
|
|
pub const IID_IADsDeleteOps = &IID_IADsDeleteOps_Value;
|
|
pub const IADsDeleteOps = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
DeleteObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsDeleteOps,
|
|
lnFlags: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsDeleteOps,
|
|
lnFlags: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDeleteOps_DeleteObject(self: *const T, lnFlags: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDeleteOps.VTable, @ptrCast(self.vtable)).DeleteObject(@as(*const IADsDeleteOps, @ptrCast(self)), lnFlags);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsNamespaces_Value = Guid.initString("28b96ba0-b330-11cf-a9ad-00aa006bc149");
|
|
pub const IID_IADsNamespaces = &IID_IADsNamespaces_Value;
|
|
pub const IADsNamespaces = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DefaultContainer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsNamespaces,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsNamespaces,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DefaultContainer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsNamespaces,
|
|
bstrDefaultContainer: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsNamespaces,
|
|
bstrDefaultContainer: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNamespaces_get_DefaultContainer(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNamespaces.VTable, @ptrCast(self.vtable)).get_DefaultContainer(@as(*const IADsNamespaces, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNamespaces_put_DefaultContainer(self: *const T, bstrDefaultContainer: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNamespaces.VTable, @ptrCast(self.vtable)).put_DefaultContainer(@as(*const IADsNamespaces, @ptrCast(self)), bstrDefaultContainer);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsClass_Value = Guid.initString("c8f93dd0-4ae0-11cf-9e73-00aa004a5691");
|
|
pub const IID_IADsClass = &IID_IADsClass_Value;
|
|
pub const IADsClass = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PrimaryInterface: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_CLSID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_CLSID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
bstrCLSID: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
bstrCLSID: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
bstrOID: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
bstrOID: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Abstract: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Abstract: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
fAbstract: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
fAbstract: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Auxiliary: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Auxiliary: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
fAuxiliary: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
fAuxiliary: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MandatoryProperties: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MandatoryProperties: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
vMandatoryProperties: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
vMandatoryProperties: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OptionalProperties: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OptionalProperties: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
vOptionalProperties: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
vOptionalProperties: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_NamingProperties: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_NamingProperties: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
vNamingProperties: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
vNamingProperties: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DerivedFrom: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DerivedFrom: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
vDerivedFrom: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
vDerivedFrom: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AuxDerivedFrom: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AuxDerivedFrom: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
vAuxDerivedFrom: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
vAuxDerivedFrom: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PossibleSuperiors: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PossibleSuperiors: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
vPossibleSuperiors: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
vPossibleSuperiors: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Containment: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Containment: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
vContainment: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
vContainment: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Container: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Container: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
fContainer: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
fContainer: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_HelpFileName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_HelpFileName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
bstrHelpFileName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
bstrHelpFileName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_HelpFileContext: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_HelpFileContext: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
lnHelpFileContext: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
lnHelpFileContext: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Qualifiers: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsClass,
|
|
ppQualifiers: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsClass,
|
|
ppQualifiers: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_PrimaryInterface(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_PrimaryInterface(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_CLSID(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_CLSID(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_CLSID(self: *const T, bstrCLSID: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_CLSID(@as(*const IADsClass, @ptrCast(self)), bstrCLSID);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_OID(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_OID(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_OID(self: *const T, bstrOID: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_OID(@as(*const IADsClass, @ptrCast(self)), bstrOID);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_Abstract(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_Abstract(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_Abstract(self: *const T, fAbstract: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_Abstract(@as(*const IADsClass, @ptrCast(self)), fAbstract);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_Auxiliary(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_Auxiliary(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_Auxiliary(self: *const T, fAuxiliary: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_Auxiliary(@as(*const IADsClass, @ptrCast(self)), fAuxiliary);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_MandatoryProperties(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_MandatoryProperties(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_MandatoryProperties(self: *const T, vMandatoryProperties: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_MandatoryProperties(@as(*const IADsClass, @ptrCast(self)), vMandatoryProperties);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_OptionalProperties(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_OptionalProperties(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_OptionalProperties(self: *const T, vOptionalProperties: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_OptionalProperties(@as(*const IADsClass, @ptrCast(self)), vOptionalProperties);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_NamingProperties(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_NamingProperties(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_NamingProperties(self: *const T, vNamingProperties: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_NamingProperties(@as(*const IADsClass, @ptrCast(self)), vNamingProperties);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_DerivedFrom(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_DerivedFrom(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_DerivedFrom(self: *const T, vDerivedFrom: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_DerivedFrom(@as(*const IADsClass, @ptrCast(self)), vDerivedFrom);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_AuxDerivedFrom(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_AuxDerivedFrom(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_AuxDerivedFrom(self: *const T, vAuxDerivedFrom: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_AuxDerivedFrom(@as(*const IADsClass, @ptrCast(self)), vAuxDerivedFrom);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_PossibleSuperiors(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_PossibleSuperiors(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_PossibleSuperiors(self: *const T, vPossibleSuperiors: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_PossibleSuperiors(@as(*const IADsClass, @ptrCast(self)), vPossibleSuperiors);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_Containment(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_Containment(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_Containment(self: *const T, vContainment: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_Containment(@as(*const IADsClass, @ptrCast(self)), vContainment);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_Container(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_Container(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_Container(self: *const T, fContainer: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_Container(@as(*const IADsClass, @ptrCast(self)), fContainer);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_HelpFileName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_HelpFileName(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_HelpFileName(self: *const T, bstrHelpFileName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_HelpFileName(@as(*const IADsClass, @ptrCast(self)), bstrHelpFileName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_get_HelpFileContext(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).get_HelpFileContext(@as(*const IADsClass, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_put_HelpFileContext(self: *const T, lnHelpFileContext: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).put_HelpFileContext(@as(*const IADsClass, @ptrCast(self)), lnHelpFileContext);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsClass_Qualifiers(self: *const T, ppQualifiers: ?*?*IADsCollection) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsClass.VTable, @ptrCast(self.vtable)).Qualifiers(@as(*const IADsClass, @ptrCast(self)), ppQualifiers);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsProperty_Value = Guid.initString("c8f93dd3-4ae0-11cf-9e73-00aa004a5691");
|
|
pub const IID_IADsProperty = &IID_IADsProperty_Value;
|
|
pub const IADsProperty = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
bstrOID: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
bstrOID: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Syntax: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Syntax: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
bstrSyntax: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
bstrSyntax: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MaxRange: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MaxRange: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
lnMaxRange: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
lnMaxRange: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MinRange: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MinRange: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
lnMinRange: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
lnMinRange: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MultiValued: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MultiValued: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
fMultiValued: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
fMultiValued: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Qualifiers: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsProperty,
|
|
ppQualifiers: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsProperty,
|
|
ppQualifiers: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_get_OID(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).get_OID(@as(*const IADsProperty, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_put_OID(self: *const T, bstrOID: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).put_OID(@as(*const IADsProperty, @ptrCast(self)), bstrOID);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_get_Syntax(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).get_Syntax(@as(*const IADsProperty, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_put_Syntax(self: *const T, bstrSyntax: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).put_Syntax(@as(*const IADsProperty, @ptrCast(self)), bstrSyntax);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_get_MaxRange(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).get_MaxRange(@as(*const IADsProperty, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_put_MaxRange(self: *const T, lnMaxRange: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).put_MaxRange(@as(*const IADsProperty, @ptrCast(self)), lnMaxRange);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_get_MinRange(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).get_MinRange(@as(*const IADsProperty, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_put_MinRange(self: *const T, lnMinRange: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).put_MinRange(@as(*const IADsProperty, @ptrCast(self)), lnMinRange);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_get_MultiValued(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).get_MultiValued(@as(*const IADsProperty, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_put_MultiValued(self: *const T, fMultiValued: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).put_MultiValued(@as(*const IADsProperty, @ptrCast(self)), fMultiValued);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsProperty_Qualifiers(self: *const T, ppQualifiers: ?*?*IADsCollection) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsProperty.VTable, @ptrCast(self.vtable)).Qualifiers(@as(*const IADsProperty, @ptrCast(self)), ppQualifiers);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsSyntax_Value = Guid.initString("c8f93dd2-4ae0-11cf-9e73-00aa004a5691");
|
|
pub const IID_IADsSyntax = &IID_IADsSyntax_Value;
|
|
pub const IADsSyntax = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OleAutoDataType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSyntax,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSyntax,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OleAutoDataType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSyntax,
|
|
lnOleAutoDataType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSyntax,
|
|
lnOleAutoDataType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSyntax_get_OleAutoDataType(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSyntax.VTable, @ptrCast(self.vtable)).get_OleAutoDataType(@as(*const IADsSyntax, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSyntax_put_OleAutoDataType(self: *const T, lnOleAutoDataType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSyntax.VTable, @ptrCast(self.vtable)).put_OleAutoDataType(@as(*const IADsSyntax, @ptrCast(self)), lnOleAutoDataType);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsLocality_Value = Guid.initString("a05e03a2-effe-11cf-8abc-00c04fd8d503");
|
|
pub const IID_IADsLocality = &IID_IADsLocality_Value;
|
|
pub const IADsLocality = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLocality,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLocality,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLocality,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLocality,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LocalityName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLocality,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLocality,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LocalityName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLocality,
|
|
bstrLocalityName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLocality,
|
|
bstrLocalityName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PostalAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLocality,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLocality,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PostalAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLocality,
|
|
bstrPostalAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLocality,
|
|
bstrPostalAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SeeAlso: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLocality,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLocality,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SeeAlso: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLocality,
|
|
vSeeAlso: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLocality,
|
|
vSeeAlso: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLocality_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLocality.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsLocality, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLocality_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLocality.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsLocality, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLocality_get_LocalityName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLocality.VTable, @ptrCast(self.vtable)).get_LocalityName(@as(*const IADsLocality, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLocality_put_LocalityName(self: *const T, bstrLocalityName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLocality.VTable, @ptrCast(self.vtable)).put_LocalityName(@as(*const IADsLocality, @ptrCast(self)), bstrLocalityName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLocality_get_PostalAddress(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLocality.VTable, @ptrCast(self.vtable)).get_PostalAddress(@as(*const IADsLocality, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLocality_put_PostalAddress(self: *const T, bstrPostalAddress: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLocality.VTable, @ptrCast(self.vtable)).put_PostalAddress(@as(*const IADsLocality, @ptrCast(self)), bstrPostalAddress);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLocality_get_SeeAlso(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLocality.VTable, @ptrCast(self.vtable)).get_SeeAlso(@as(*const IADsLocality, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLocality_put_SeeAlso(self: *const T, vSeeAlso: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLocality.VTable, @ptrCast(self.vtable)).put_SeeAlso(@as(*const IADsLocality, @ptrCast(self)), vSeeAlso);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsO_Value = Guid.initString("a1cd2dc6-effe-11cf-8abc-00c04fd8d503");
|
|
pub const IID_IADsO = &IID_IADsO_Value;
|
|
pub const IADsO = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LocalityName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LocalityName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
bstrLocalityName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
bstrLocalityName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PostalAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PostalAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
bstrPostalAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
bstrPostalAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TelephoneNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_TelephoneNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
bstrTelephoneNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
bstrTelephoneNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_FaxNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_FaxNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
bstrFaxNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
bstrFaxNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SeeAlso: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SeeAlso: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsO,
|
|
vSeeAlso: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsO,
|
|
vSeeAlso: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsO, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsO, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_get_LocalityName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).get_LocalityName(@as(*const IADsO, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_put_LocalityName(self: *const T, bstrLocalityName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).put_LocalityName(@as(*const IADsO, @ptrCast(self)), bstrLocalityName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_get_PostalAddress(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).get_PostalAddress(@as(*const IADsO, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_put_PostalAddress(self: *const T, bstrPostalAddress: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).put_PostalAddress(@as(*const IADsO, @ptrCast(self)), bstrPostalAddress);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_get_TelephoneNumber(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).get_TelephoneNumber(@as(*const IADsO, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_put_TelephoneNumber(self: *const T, bstrTelephoneNumber: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).put_TelephoneNumber(@as(*const IADsO, @ptrCast(self)), bstrTelephoneNumber);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_get_FaxNumber(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).get_FaxNumber(@as(*const IADsO, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_put_FaxNumber(self: *const T, bstrFaxNumber: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).put_FaxNumber(@as(*const IADsO, @ptrCast(self)), bstrFaxNumber);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_get_SeeAlso(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).get_SeeAlso(@as(*const IADsO, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsO_put_SeeAlso(self: *const T, vSeeAlso: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsO.VTable, @ptrCast(self.vtable)).put_SeeAlso(@as(*const IADsO, @ptrCast(self)), vSeeAlso);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsOU_Value = Guid.initString("a2f733b8-effe-11cf-8abc-00c04fd8d503");
|
|
pub const IID_IADsOU = &IID_IADsOU_Value;
|
|
pub const IADsOU = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LocalityName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LocalityName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
bstrLocalityName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
bstrLocalityName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PostalAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PostalAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
bstrPostalAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
bstrPostalAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TelephoneNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_TelephoneNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
bstrTelephoneNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
bstrTelephoneNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_FaxNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_FaxNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
bstrFaxNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
bstrFaxNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SeeAlso: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SeeAlso: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
vSeeAlso: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
vSeeAlso: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_BusinessCategory: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_BusinessCategory: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOU,
|
|
bstrBusinessCategory: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOU,
|
|
bstrBusinessCategory: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsOU, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsOU, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_get_LocalityName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).get_LocalityName(@as(*const IADsOU, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_put_LocalityName(self: *const T, bstrLocalityName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).put_LocalityName(@as(*const IADsOU, @ptrCast(self)), bstrLocalityName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_get_PostalAddress(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).get_PostalAddress(@as(*const IADsOU, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_put_PostalAddress(self: *const T, bstrPostalAddress: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).put_PostalAddress(@as(*const IADsOU, @ptrCast(self)), bstrPostalAddress);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_get_TelephoneNumber(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).get_TelephoneNumber(@as(*const IADsOU, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_put_TelephoneNumber(self: *const T, bstrTelephoneNumber: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).put_TelephoneNumber(@as(*const IADsOU, @ptrCast(self)), bstrTelephoneNumber);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_get_FaxNumber(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).get_FaxNumber(@as(*const IADsOU, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_put_FaxNumber(self: *const T, bstrFaxNumber: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).put_FaxNumber(@as(*const IADsOU, @ptrCast(self)), bstrFaxNumber);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_get_SeeAlso(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).get_SeeAlso(@as(*const IADsOU, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_put_SeeAlso(self: *const T, vSeeAlso: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).put_SeeAlso(@as(*const IADsOU, @ptrCast(self)), vSeeAlso);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_get_BusinessCategory(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).get_BusinessCategory(@as(*const IADsOU, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOU_put_BusinessCategory(self: *const T, bstrBusinessCategory: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOU.VTable, @ptrCast(self.vtable)).put_BusinessCategory(@as(*const IADsOU, @ptrCast(self)), bstrBusinessCategory);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsDomain_Value = Guid.initString("00e4c220-fd16-11ce-abc4-02608c9e7553");
|
|
pub const IID_IADsDomain = &IID_IADsDomain_Value;
|
|
pub const IADsDomain = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_IsWorkgroup: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MinPasswordLength: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MinPasswordLength: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
lnMinPasswordLength: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
lnMinPasswordLength: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MinPasswordAge: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MinPasswordAge: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
lnMinPasswordAge: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
lnMinPasswordAge: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MaxPasswordAge: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MaxPasswordAge: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
lnMaxPasswordAge: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
lnMaxPasswordAge: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MaxBadPasswordsAllowed: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MaxBadPasswordsAllowed: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
lnMaxBadPasswordsAllowed: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
lnMaxBadPasswordsAllowed: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PasswordHistoryLength: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PasswordHistoryLength: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
lnPasswordHistoryLength: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
lnPasswordHistoryLength: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PasswordAttributes: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PasswordAttributes: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
lnPasswordAttributes: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
lnPasswordAttributes: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AutoUnlockInterval: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AutoUnlockInterval: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
lnAutoUnlockInterval: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
lnAutoUnlockInterval: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LockoutObservationInterval: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LockoutObservationInterval: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDomain,
|
|
lnLockoutObservationInterval: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDomain,
|
|
lnLockoutObservationInterval: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_IsWorkgroup(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_IsWorkgroup(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_MinPasswordLength(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_MinPasswordLength(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_put_MinPasswordLength(self: *const T, lnMinPasswordLength: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).put_MinPasswordLength(@as(*const IADsDomain, @ptrCast(self)), lnMinPasswordLength);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_MinPasswordAge(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_MinPasswordAge(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_put_MinPasswordAge(self: *const T, lnMinPasswordAge: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).put_MinPasswordAge(@as(*const IADsDomain, @ptrCast(self)), lnMinPasswordAge);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_MaxPasswordAge(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_MaxPasswordAge(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_put_MaxPasswordAge(self: *const T, lnMaxPasswordAge: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).put_MaxPasswordAge(@as(*const IADsDomain, @ptrCast(self)), lnMaxPasswordAge);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_MaxBadPasswordsAllowed(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_MaxBadPasswordsAllowed(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_put_MaxBadPasswordsAllowed(self: *const T, lnMaxBadPasswordsAllowed: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).put_MaxBadPasswordsAllowed(@as(*const IADsDomain, @ptrCast(self)), lnMaxBadPasswordsAllowed);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_PasswordHistoryLength(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_PasswordHistoryLength(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_put_PasswordHistoryLength(self: *const T, lnPasswordHistoryLength: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).put_PasswordHistoryLength(@as(*const IADsDomain, @ptrCast(self)), lnPasswordHistoryLength);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_PasswordAttributes(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_PasswordAttributes(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_put_PasswordAttributes(self: *const T, lnPasswordAttributes: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).put_PasswordAttributes(@as(*const IADsDomain, @ptrCast(self)), lnPasswordAttributes);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_AutoUnlockInterval(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_AutoUnlockInterval(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_put_AutoUnlockInterval(self: *const T, lnAutoUnlockInterval: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).put_AutoUnlockInterval(@as(*const IADsDomain, @ptrCast(self)), lnAutoUnlockInterval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_get_LockoutObservationInterval(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).get_LockoutObservationInterval(@as(*const IADsDomain, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDomain_put_LockoutObservationInterval(self: *const T, lnLockoutObservationInterval: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDomain.VTable, @ptrCast(self.vtable)).put_LockoutObservationInterval(@as(*const IADsDomain, @ptrCast(self)), lnLockoutObservationInterval);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsComputer_Value = Guid.initString("efe3cc70-1d9f-11cf-b1f3-02608c9e7553");
|
|
pub const IID_IADsComputer = &IID_IADsComputer_Value;
|
|
pub const IADsComputer = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ComputerID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Site: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Location: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Location: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrLocation: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrLocation: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PrimaryUser: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PrimaryUser: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrPrimaryUser: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrPrimaryUser: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Owner: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Owner: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrOwner: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrOwner: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Division: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Division: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrDivision: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrDivision: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Department: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Department: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrDepartment: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrDepartment: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Role: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Role: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrRole: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrRole: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OperatingSystem: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OperatingSystem: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrOperatingSystem: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrOperatingSystem: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OperatingSystemVersion: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OperatingSystemVersion: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrOperatingSystemVersion: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrOperatingSystemVersion: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Model: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Model: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrModel: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrModel: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Processor: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Processor: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrProcessor: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrProcessor: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ProcessorCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ProcessorCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrProcessorCount: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrProcessorCount: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MemorySize: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MemorySize: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrMemorySize: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrMemorySize: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_StorageCapacity: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_StorageCapacity: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
bstrStorageCapacity: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
bstrStorageCapacity: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_NetAddresses: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_NetAddresses: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsComputer,
|
|
vNetAddresses: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsComputer,
|
|
vNetAddresses: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_ComputerID(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_ComputerID(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Site(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Site(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsComputer, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Location(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Location(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_Location(self: *const T, bstrLocation: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_Location(@as(*const IADsComputer, @ptrCast(self)), bstrLocation);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_PrimaryUser(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_PrimaryUser(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_PrimaryUser(self: *const T, bstrPrimaryUser: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_PrimaryUser(@as(*const IADsComputer, @ptrCast(self)), bstrPrimaryUser);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Owner(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Owner(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_Owner(self: *const T, bstrOwner: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_Owner(@as(*const IADsComputer, @ptrCast(self)), bstrOwner);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Division(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Division(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_Division(self: *const T, bstrDivision: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_Division(@as(*const IADsComputer, @ptrCast(self)), bstrDivision);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Department(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Department(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_Department(self: *const T, bstrDepartment: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_Department(@as(*const IADsComputer, @ptrCast(self)), bstrDepartment);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Role(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Role(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_Role(self: *const T, bstrRole: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_Role(@as(*const IADsComputer, @ptrCast(self)), bstrRole);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_OperatingSystem(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_OperatingSystem(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_OperatingSystem(self: *const T, bstrOperatingSystem: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_OperatingSystem(@as(*const IADsComputer, @ptrCast(self)), bstrOperatingSystem);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_OperatingSystemVersion(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_OperatingSystemVersion(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_OperatingSystemVersion(self: *const T, bstrOperatingSystemVersion: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_OperatingSystemVersion(@as(*const IADsComputer, @ptrCast(self)), bstrOperatingSystemVersion);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Model(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Model(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_Model(self: *const T, bstrModel: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_Model(@as(*const IADsComputer, @ptrCast(self)), bstrModel);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_Processor(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_Processor(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_Processor(self: *const T, bstrProcessor: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_Processor(@as(*const IADsComputer, @ptrCast(self)), bstrProcessor);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_ProcessorCount(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_ProcessorCount(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_ProcessorCount(self: *const T, bstrProcessorCount: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_ProcessorCount(@as(*const IADsComputer, @ptrCast(self)), bstrProcessorCount);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_MemorySize(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_MemorySize(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_MemorySize(self: *const T, bstrMemorySize: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_MemorySize(@as(*const IADsComputer, @ptrCast(self)), bstrMemorySize);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_StorageCapacity(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_StorageCapacity(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_StorageCapacity(self: *const T, bstrStorageCapacity: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_StorageCapacity(@as(*const IADsComputer, @ptrCast(self)), bstrStorageCapacity);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_get_NetAddresses(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).get_NetAddresses(@as(*const IADsComputer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputer_put_NetAddresses(self: *const T, vNetAddresses: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputer.VTable, @ptrCast(self.vtable)).put_NetAddresses(@as(*const IADsComputer, @ptrCast(self)), vNetAddresses);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsComputerOperations_Value = Guid.initString("ef497680-1d9f-11cf-b1f3-02608c9e7553");
|
|
pub const IID_IADsComputerOperations = &IID_IADsComputerOperations_Value;
|
|
pub const IADsComputerOperations = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
Status: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsComputerOperations,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsComputerOperations,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Shutdown: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsComputerOperations,
|
|
bReboot: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsComputerOperations,
|
|
bReboot: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputerOperations_Status(self: *const T, ppObject: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputerOperations.VTable, @ptrCast(self.vtable)).Status(@as(*const IADsComputerOperations, @ptrCast(self)), ppObject);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsComputerOperations_Shutdown(self: *const T, bReboot: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsComputerOperations.VTable, @ptrCast(self.vtable)).Shutdown(@as(*const IADsComputerOperations, @ptrCast(self)), bReboot);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsGroup_Value = Guid.initString("27636b00-410f-11cf-b1ff-02608c9e7553");
|
|
pub const IID_IADsGroup = &IID_IADsGroup_Value;
|
|
pub const IADsGroup = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsGroup,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsGroup,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsGroup,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsGroup,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Members: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsGroup,
|
|
ppMembers: ?*?*IADsMembers,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsGroup,
|
|
ppMembers: ?*?*IADsMembers,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
IsMember: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsGroup,
|
|
bstrMember: ?BSTR,
|
|
bMember: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsGroup,
|
|
bstrMember: ?BSTR,
|
|
bMember: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Add: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsGroup,
|
|
bstrNewItem: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsGroup,
|
|
bstrNewItem: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Remove: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsGroup,
|
|
bstrItemToBeRemoved: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsGroup,
|
|
bstrItemToBeRemoved: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsGroup_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsGroup.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsGroup, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsGroup_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsGroup.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsGroup, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsGroup_Members(self: *const T, ppMembers: ?*?*IADsMembers) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsGroup.VTable, @ptrCast(self.vtable)).Members(@as(*const IADsGroup, @ptrCast(self)), ppMembers);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsGroup_IsMember(self: *const T, bstrMember: ?BSTR, bMember: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsGroup.VTable, @ptrCast(self.vtable)).IsMember(@as(*const IADsGroup, @ptrCast(self)), bstrMember, bMember);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsGroup_Add(self: *const T, bstrNewItem: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsGroup.VTable, @ptrCast(self.vtable)).Add(@as(*const IADsGroup, @ptrCast(self)), bstrNewItem);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsGroup_Remove(self: *const T, bstrItemToBeRemoved: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsGroup.VTable, @ptrCast(self.vtable)).Remove(@as(*const IADsGroup, @ptrCast(self)), bstrItemToBeRemoved);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsUser_Value = Guid.initString("3e37e320-17e2-11cf-abc4-02608c9e7553");
|
|
pub const IID_IADsUser = &IID_IADsUser_Value;
|
|
pub const IADsUser = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_BadLoginAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_BadLoginCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LastLogin: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LastLogoff: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LastFailedLogin: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PasswordLastChanged: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Division: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Division: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrDivision: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrDivision: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Department: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Department: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrDepartment: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrDepartment: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_EmployeeID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_EmployeeID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrEmployeeID: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrEmployeeID: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_FullName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_FullName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrFullName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrFullName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_FirstName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_FirstName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrFirstName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrFirstName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LastName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LastName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrLastName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrLastName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OtherName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OtherName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrOtherName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrOtherName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_NamePrefix: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_NamePrefix: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrNamePrefix: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrNamePrefix: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_NameSuffix: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_NameSuffix: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrNameSuffix: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrNameSuffix: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Title: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Title: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrTitle: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrTitle: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Manager: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Manager: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrManager: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrManager: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TelephoneHome: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_TelephoneHome: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vTelephoneHome: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vTelephoneHome: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TelephoneMobile: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_TelephoneMobile: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vTelephoneMobile: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vTelephoneMobile: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TelephoneNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_TelephoneNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vTelephoneNumber: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vTelephoneNumber: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TelephonePager: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_TelephonePager: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vTelephonePager: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vTelephonePager: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_FaxNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_FaxNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vFaxNumber: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vFaxNumber: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OfficeLocations: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OfficeLocations: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vOfficeLocations: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vOfficeLocations: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PostalAddresses: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PostalAddresses: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vPostalAddresses: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vPostalAddresses: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PostalCodes: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PostalCodes: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vPostalCodes: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vPostalCodes: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SeeAlso: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SeeAlso: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vSeeAlso: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vSeeAlso: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AccountDisabled: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AccountDisabled: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
fAccountDisabled: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
fAccountDisabled: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AccountExpirationDate: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AccountExpirationDate: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
daAccountExpirationDate: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
daAccountExpirationDate: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_GraceLoginsAllowed: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_GraceLoginsAllowed: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
lnGraceLoginsAllowed: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
lnGraceLoginsAllowed: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_GraceLoginsRemaining: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_GraceLoginsRemaining: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
lnGraceLoginsRemaining: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
lnGraceLoginsRemaining: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_IsAccountLocked: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_IsAccountLocked: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
fIsAccountLocked: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
fIsAccountLocked: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LoginHours: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LoginHours: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vLoginHours: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vLoginHours: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LoginWorkstations: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LoginWorkstations: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vLoginWorkstations: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vLoginWorkstations: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MaxLogins: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MaxLogins: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
lnMaxLogins: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
lnMaxLogins: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MaxStorage: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MaxStorage: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
lnMaxStorage: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
lnMaxStorage: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PasswordExpirationDate: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PasswordExpirationDate: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
daPasswordExpirationDate: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
daPasswordExpirationDate: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PasswordMinimumLength: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PasswordMinimumLength: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
lnPasswordMinimumLength: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
lnPasswordMinimumLength: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PasswordRequired: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PasswordRequired: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
fPasswordRequired: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
fPasswordRequired: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_RequireUniquePassword: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_RequireUniquePassword: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
fRequireUniquePassword: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
fRequireUniquePassword: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_EmailAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_EmailAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrEmailAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrEmailAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_HomeDirectory: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_HomeDirectory: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrHomeDirectory: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrHomeDirectory: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Languages: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Languages: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vLanguages: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vLanguages: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Profile: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Profile: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrProfile: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrProfile: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LoginScript: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LoginScript: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrLoginScript: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrLoginScript: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Picture: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Picture: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
vPicture: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
vPicture: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_HomePage: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_HomePage: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrHomePage: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrHomePage: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Groups: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
ppGroups: ?*?*IADsMembers,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
ppGroups: ?*?*IADsMembers,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetPassword: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
NewPassword: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
NewPassword: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ChangePassword: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsUser,
|
|
bstrOldPassword: ?BSTR,
|
|
bstrNewPassword: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsUser,
|
|
bstrOldPassword: ?BSTR,
|
|
bstrNewPassword: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_BadLoginAddress(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_BadLoginAddress(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_BadLoginCount(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_BadLoginCount(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_LastLogin(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_LastLogin(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_LastLogoff(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_LastLogoff(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_LastFailedLogin(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_LastFailedLogin(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_PasswordLastChanged(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_PasswordLastChanged(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsUser, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_Division(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_Division(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_Division(self: *const T, bstrDivision: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_Division(@as(*const IADsUser, @ptrCast(self)), bstrDivision);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_Department(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_Department(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_Department(self: *const T, bstrDepartment: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_Department(@as(*const IADsUser, @ptrCast(self)), bstrDepartment);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_EmployeeID(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_EmployeeID(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_EmployeeID(self: *const T, bstrEmployeeID: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_EmployeeID(@as(*const IADsUser, @ptrCast(self)), bstrEmployeeID);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_FullName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_FullName(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_FullName(self: *const T, bstrFullName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_FullName(@as(*const IADsUser, @ptrCast(self)), bstrFullName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_FirstName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_FirstName(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_FirstName(self: *const T, bstrFirstName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_FirstName(@as(*const IADsUser, @ptrCast(self)), bstrFirstName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_LastName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_LastName(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_LastName(self: *const T, bstrLastName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_LastName(@as(*const IADsUser, @ptrCast(self)), bstrLastName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_OtherName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_OtherName(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_OtherName(self: *const T, bstrOtherName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_OtherName(@as(*const IADsUser, @ptrCast(self)), bstrOtherName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_NamePrefix(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_NamePrefix(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_NamePrefix(self: *const T, bstrNamePrefix: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_NamePrefix(@as(*const IADsUser, @ptrCast(self)), bstrNamePrefix);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_NameSuffix(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_NameSuffix(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_NameSuffix(self: *const T, bstrNameSuffix: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_NameSuffix(@as(*const IADsUser, @ptrCast(self)), bstrNameSuffix);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_Title(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_Title(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_Title(self: *const T, bstrTitle: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_Title(@as(*const IADsUser, @ptrCast(self)), bstrTitle);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_Manager(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_Manager(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_Manager(self: *const T, bstrManager: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_Manager(@as(*const IADsUser, @ptrCast(self)), bstrManager);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_TelephoneHome(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_TelephoneHome(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_TelephoneHome(self: *const T, vTelephoneHome: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_TelephoneHome(@as(*const IADsUser, @ptrCast(self)), vTelephoneHome);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_TelephoneMobile(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_TelephoneMobile(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_TelephoneMobile(self: *const T, vTelephoneMobile: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_TelephoneMobile(@as(*const IADsUser, @ptrCast(self)), vTelephoneMobile);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_TelephoneNumber(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_TelephoneNumber(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_TelephoneNumber(self: *const T, vTelephoneNumber: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_TelephoneNumber(@as(*const IADsUser, @ptrCast(self)), vTelephoneNumber);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_TelephonePager(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_TelephonePager(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_TelephonePager(self: *const T, vTelephonePager: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_TelephonePager(@as(*const IADsUser, @ptrCast(self)), vTelephonePager);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_FaxNumber(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_FaxNumber(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_FaxNumber(self: *const T, vFaxNumber: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_FaxNumber(@as(*const IADsUser, @ptrCast(self)), vFaxNumber);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_OfficeLocations(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_OfficeLocations(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_OfficeLocations(self: *const T, vOfficeLocations: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_OfficeLocations(@as(*const IADsUser, @ptrCast(self)), vOfficeLocations);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_PostalAddresses(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_PostalAddresses(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_PostalAddresses(self: *const T, vPostalAddresses: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_PostalAddresses(@as(*const IADsUser, @ptrCast(self)), vPostalAddresses);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_PostalCodes(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_PostalCodes(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_PostalCodes(self: *const T, vPostalCodes: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_PostalCodes(@as(*const IADsUser, @ptrCast(self)), vPostalCodes);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_SeeAlso(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_SeeAlso(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_SeeAlso(self: *const T, vSeeAlso: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_SeeAlso(@as(*const IADsUser, @ptrCast(self)), vSeeAlso);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_AccountDisabled(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_AccountDisabled(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_AccountDisabled(self: *const T, fAccountDisabled: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_AccountDisabled(@as(*const IADsUser, @ptrCast(self)), fAccountDisabled);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_AccountExpirationDate(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_AccountExpirationDate(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_AccountExpirationDate(self: *const T, daAccountExpirationDate: f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_AccountExpirationDate(@as(*const IADsUser, @ptrCast(self)), daAccountExpirationDate);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_GraceLoginsAllowed(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_GraceLoginsAllowed(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_GraceLoginsAllowed(self: *const T, lnGraceLoginsAllowed: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_GraceLoginsAllowed(@as(*const IADsUser, @ptrCast(self)), lnGraceLoginsAllowed);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_GraceLoginsRemaining(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_GraceLoginsRemaining(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_GraceLoginsRemaining(self: *const T, lnGraceLoginsRemaining: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_GraceLoginsRemaining(@as(*const IADsUser, @ptrCast(self)), lnGraceLoginsRemaining);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_IsAccountLocked(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_IsAccountLocked(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_IsAccountLocked(self: *const T, fIsAccountLocked: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_IsAccountLocked(@as(*const IADsUser, @ptrCast(self)), fIsAccountLocked);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_LoginHours(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_LoginHours(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_LoginHours(self: *const T, vLoginHours: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_LoginHours(@as(*const IADsUser, @ptrCast(self)), vLoginHours);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_LoginWorkstations(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_LoginWorkstations(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_LoginWorkstations(self: *const T, vLoginWorkstations: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_LoginWorkstations(@as(*const IADsUser, @ptrCast(self)), vLoginWorkstations);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_MaxLogins(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_MaxLogins(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_MaxLogins(self: *const T, lnMaxLogins: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_MaxLogins(@as(*const IADsUser, @ptrCast(self)), lnMaxLogins);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_MaxStorage(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_MaxStorage(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_MaxStorage(self: *const T, lnMaxStorage: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_MaxStorage(@as(*const IADsUser, @ptrCast(self)), lnMaxStorage);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_PasswordExpirationDate(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_PasswordExpirationDate(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_PasswordExpirationDate(self: *const T, daPasswordExpirationDate: f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_PasswordExpirationDate(@as(*const IADsUser, @ptrCast(self)), daPasswordExpirationDate);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_PasswordMinimumLength(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_PasswordMinimumLength(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_PasswordMinimumLength(self: *const T, lnPasswordMinimumLength: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_PasswordMinimumLength(@as(*const IADsUser, @ptrCast(self)), lnPasswordMinimumLength);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_PasswordRequired(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_PasswordRequired(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_PasswordRequired(self: *const T, fPasswordRequired: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_PasswordRequired(@as(*const IADsUser, @ptrCast(self)), fPasswordRequired);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_RequireUniquePassword(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_RequireUniquePassword(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_RequireUniquePassword(self: *const T, fRequireUniquePassword: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_RequireUniquePassword(@as(*const IADsUser, @ptrCast(self)), fRequireUniquePassword);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_EmailAddress(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_EmailAddress(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_EmailAddress(self: *const T, bstrEmailAddress: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_EmailAddress(@as(*const IADsUser, @ptrCast(self)), bstrEmailAddress);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_HomeDirectory(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_HomeDirectory(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_HomeDirectory(self: *const T, bstrHomeDirectory: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_HomeDirectory(@as(*const IADsUser, @ptrCast(self)), bstrHomeDirectory);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_Languages(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_Languages(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_Languages(self: *const T, vLanguages: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_Languages(@as(*const IADsUser, @ptrCast(self)), vLanguages);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_Profile(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_Profile(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_Profile(self: *const T, bstrProfile: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_Profile(@as(*const IADsUser, @ptrCast(self)), bstrProfile);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_LoginScript(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_LoginScript(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_LoginScript(self: *const T, bstrLoginScript: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_LoginScript(@as(*const IADsUser, @ptrCast(self)), bstrLoginScript);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_Picture(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_Picture(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_Picture(self: *const T, vPicture: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_Picture(@as(*const IADsUser, @ptrCast(self)), vPicture);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_get_HomePage(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).get_HomePage(@as(*const IADsUser, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_put_HomePage(self: *const T, bstrHomePage: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).put_HomePage(@as(*const IADsUser, @ptrCast(self)), bstrHomePage);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_Groups(self: *const T, ppGroups: ?*?*IADsMembers) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).Groups(@as(*const IADsUser, @ptrCast(self)), ppGroups);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_SetPassword(self: *const T, NewPassword: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).SetPassword(@as(*const IADsUser, @ptrCast(self)), NewPassword);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsUser_ChangePassword(self: *const T, bstrOldPassword: ?BSTR, bstrNewPassword: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsUser.VTable, @ptrCast(self.vtable)).ChangePassword(@as(*const IADsUser, @ptrCast(self)), bstrOldPassword, bstrNewPassword);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPrintQueue_Value = Guid.initString("b15160d0-1226-11cf-a985-00aa006bc149");
|
|
pub const IID_IADsPrintQueue = &IID_IADsPrintQueue_Value;
|
|
pub const IADsPrintQueue = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PrinterPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PrinterPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrPrinterPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrPrinterPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Model: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Model: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrModel: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrModel: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Datatype: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Datatype: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrDatatype: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrDatatype: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PrintProcessor: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PrintProcessor: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrPrintProcessor: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrPrintProcessor: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Location: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Location: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrLocation: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrLocation: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_StartTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_StartTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
daStartTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
daStartTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_UntilTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_UntilTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
daUntilTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
daUntilTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DefaultJobPriority: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DefaultJobPriority: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
lnDefaultJobPriority: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
lnDefaultJobPriority: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Priority: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Priority: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
lnPriority: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
lnPriority: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_BannerPage: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_BannerPage: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrBannerPage: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
bstrBannerPage: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PrintDevices: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PrintDevices: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
vPrintDevices: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
vPrintDevices: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_NetAddresses: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_NetAddresses: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueue,
|
|
vNetAddresses: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueue,
|
|
vNetAddresses: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_PrinterPath(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_PrinterPath(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_PrinterPath(self: *const T, bstrPrinterPath: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_PrinterPath(@as(*const IADsPrintQueue, @ptrCast(self)), bstrPrinterPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_Model(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_Model(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_Model(self: *const T, bstrModel: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_Model(@as(*const IADsPrintQueue, @ptrCast(self)), bstrModel);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_Datatype(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_Datatype(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_Datatype(self: *const T, bstrDatatype: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_Datatype(@as(*const IADsPrintQueue, @ptrCast(self)), bstrDatatype);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_PrintProcessor(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_PrintProcessor(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_PrintProcessor(self: *const T, bstrPrintProcessor: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_PrintProcessor(@as(*const IADsPrintQueue, @ptrCast(self)), bstrPrintProcessor);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsPrintQueue, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_Location(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_Location(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_Location(self: *const T, bstrLocation: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_Location(@as(*const IADsPrintQueue, @ptrCast(self)), bstrLocation);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_StartTime(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_StartTime(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_StartTime(self: *const T, daStartTime: f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_StartTime(@as(*const IADsPrintQueue, @ptrCast(self)), daStartTime);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_UntilTime(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_UntilTime(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_UntilTime(self: *const T, daUntilTime: f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_UntilTime(@as(*const IADsPrintQueue, @ptrCast(self)), daUntilTime);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_DefaultJobPriority(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_DefaultJobPriority(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_DefaultJobPriority(self: *const T, lnDefaultJobPriority: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_DefaultJobPriority(@as(*const IADsPrintQueue, @ptrCast(self)), lnDefaultJobPriority);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_Priority(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_Priority(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_Priority(self: *const T, lnPriority: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_Priority(@as(*const IADsPrintQueue, @ptrCast(self)), lnPriority);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_BannerPage(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_BannerPage(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_BannerPage(self: *const T, bstrBannerPage: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_BannerPage(@as(*const IADsPrintQueue, @ptrCast(self)), bstrBannerPage);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_PrintDevices(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_PrintDevices(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_PrintDevices(self: *const T, vPrintDevices: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_PrintDevices(@as(*const IADsPrintQueue, @ptrCast(self)), vPrintDevices);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_get_NetAddresses(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).get_NetAddresses(@as(*const IADsPrintQueue, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueue_put_NetAddresses(self: *const T, vNetAddresses: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueue.VTable, @ptrCast(self.vtable)).put_NetAddresses(@as(*const IADsPrintQueue, @ptrCast(self)), vNetAddresses);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPrintQueueOperations_Value = Guid.initString("124be5c0-156e-11cf-a986-00aa006bc149");
|
|
pub const IID_IADsPrintQueueOperations = &IID_IADsPrintQueueOperations_Value;
|
|
pub const IADsPrintQueueOperations = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Status: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
PrintJobs: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
pObject: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
pObject: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Pause: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Resume: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Purge: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPrintQueueOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueueOperations_get_Status(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueueOperations.VTable, @ptrCast(self.vtable)).get_Status(@as(*const IADsPrintQueueOperations, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueueOperations_PrintJobs(self: *const T, pObject: ?*?*IADsCollection) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueueOperations.VTable, @ptrCast(self.vtable)).PrintJobs(@as(*const IADsPrintQueueOperations, @ptrCast(self)), pObject);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueueOperations_Pause(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueueOperations.VTable, @ptrCast(self.vtable)).Pause(@as(*const IADsPrintQueueOperations, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueueOperations_Resume(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueueOperations.VTable, @ptrCast(self.vtable)).Resume(@as(*const IADsPrintQueueOperations, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintQueueOperations_Purge(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintQueueOperations.VTable, @ptrCast(self.vtable)).Purge(@as(*const IADsPrintQueueOperations, @ptrCast(self)));
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPrintJob_Value = Guid.initString("32fb6780-1ed0-11cf-a988-00aa006bc149");
|
|
pub const IID_IADsPrintJob = &IID_IADsPrintJob_Value;
|
|
pub const IADsPrintJob = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_HostPrintQueue: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_User: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_UserPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TimeSubmitted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TotalPages: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Size: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Priority: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Priority: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
lnPriority: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
lnPriority: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_StartTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_StartTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
daStartTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
daStartTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_UntilTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_UntilTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
daUntilTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
daUntilTime: f64,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Notify: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Notify: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
bstrNotify: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
bstrNotify: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_NotifyPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_NotifyPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJob,
|
|
bstrNotifyPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJob,
|
|
bstrNotifyPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_HostPrintQueue(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_HostPrintQueue(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_User(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_User(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_UserPath(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_UserPath(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_TimeSubmitted(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_TimeSubmitted(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_TotalPages(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_TotalPages(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_Size(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_Size(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsPrintJob, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_Priority(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_Priority(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_put_Priority(self: *const T, lnPriority: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).put_Priority(@as(*const IADsPrintJob, @ptrCast(self)), lnPriority);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_StartTime(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_StartTime(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_put_StartTime(self: *const T, daStartTime: f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).put_StartTime(@as(*const IADsPrintJob, @ptrCast(self)), daStartTime);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_UntilTime(self: *const T, retval: ?*f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_UntilTime(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_put_UntilTime(self: *const T, daUntilTime: f64) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).put_UntilTime(@as(*const IADsPrintJob, @ptrCast(self)), daUntilTime);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_Notify(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_Notify(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_put_Notify(self: *const T, bstrNotify: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).put_Notify(@as(*const IADsPrintJob, @ptrCast(self)), bstrNotify);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_get_NotifyPath(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).get_NotifyPath(@as(*const IADsPrintJob, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJob_put_NotifyPath(self: *const T, bstrNotifyPath: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJob.VTable, @ptrCast(self.vtable)).put_NotifyPath(@as(*const IADsPrintJob, @ptrCast(self)), bstrNotifyPath);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPrintJobOperations_Value = Guid.initString("9a52db30-1ecf-11cf-a988-00aa006bc149");
|
|
pub const IID_IADsPrintJobOperations = &IID_IADsPrintJobOperations_Value;
|
|
pub const IADsPrintJobOperations = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Status: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJobOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJobOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TimeElapsed: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJobOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJobOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PagesPrinted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJobOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJobOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Position: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJobOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJobOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Position: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJobOperations,
|
|
lnPosition: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPrintJobOperations,
|
|
lnPosition: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Pause: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJobOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPrintJobOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Resume: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPrintJobOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPrintJobOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJobOperations_get_Status(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJobOperations.VTable, @ptrCast(self.vtable)).get_Status(@as(*const IADsPrintJobOperations, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJobOperations_get_TimeElapsed(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJobOperations.VTable, @ptrCast(self.vtable)).get_TimeElapsed(@as(*const IADsPrintJobOperations, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJobOperations_get_PagesPrinted(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJobOperations.VTable, @ptrCast(self.vtable)).get_PagesPrinted(@as(*const IADsPrintJobOperations, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJobOperations_get_Position(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJobOperations.VTable, @ptrCast(self.vtable)).get_Position(@as(*const IADsPrintJobOperations, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJobOperations_put_Position(self: *const T, lnPosition: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJobOperations.VTable, @ptrCast(self.vtable)).put_Position(@as(*const IADsPrintJobOperations, @ptrCast(self)), lnPosition);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJobOperations_Pause(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJobOperations.VTable, @ptrCast(self.vtable)).Pause(@as(*const IADsPrintJobOperations, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPrintJobOperations_Resume(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPrintJobOperations.VTable, @ptrCast(self.vtable)).Resume(@as(*const IADsPrintJobOperations, @ptrCast(self)));
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsService_Value = Guid.initString("68af66e0-31ca-11cf-a98a-00aa006bc149");
|
|
pub const IID_IADsService = &IID_IADsService_Value;
|
|
pub const IADsService = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_HostComputer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_HostComputer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
bstrHostComputer: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
bstrHostComputer: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DisplayName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DisplayName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
bstrDisplayName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
bstrDisplayName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Version: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Version: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
bstrVersion: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
bstrVersion: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ServiceType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ServiceType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
lnServiceType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
lnServiceType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_StartType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_StartType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
lnStartType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
lnStartType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Path: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Path: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
bstrPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
bstrPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_StartupParameters: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_StartupParameters: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
bstrStartupParameters: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
bstrStartupParameters: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ErrorControl: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ErrorControl: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
lnErrorControl: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
lnErrorControl: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LoadOrderGroup: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LoadOrderGroup: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
bstrLoadOrderGroup: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
bstrLoadOrderGroup: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ServiceAccountName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ServiceAccountName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
bstrServiceAccountName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
bstrServiceAccountName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ServiceAccountPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ServiceAccountPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
bstrServiceAccountPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
bstrServiceAccountPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Dependencies: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Dependencies: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsService,
|
|
vDependencies: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsService,
|
|
vDependencies: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_HostComputer(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_HostComputer(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_HostComputer(self: *const T, bstrHostComputer: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_HostComputer(@as(*const IADsService, @ptrCast(self)), bstrHostComputer);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_DisplayName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_DisplayName(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_DisplayName(self: *const T, bstrDisplayName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_DisplayName(@as(*const IADsService, @ptrCast(self)), bstrDisplayName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_Version(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_Version(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_Version(self: *const T, bstrVersion: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_Version(@as(*const IADsService, @ptrCast(self)), bstrVersion);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_ServiceType(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_ServiceType(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_ServiceType(self: *const T, lnServiceType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_ServiceType(@as(*const IADsService, @ptrCast(self)), lnServiceType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_StartType(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_StartType(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_StartType(self: *const T, lnStartType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_StartType(@as(*const IADsService, @ptrCast(self)), lnStartType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_Path(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_Path(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_Path(self: *const T, bstrPath: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_Path(@as(*const IADsService, @ptrCast(self)), bstrPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_StartupParameters(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_StartupParameters(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_StartupParameters(self: *const T, bstrStartupParameters: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_StartupParameters(@as(*const IADsService, @ptrCast(self)), bstrStartupParameters);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_ErrorControl(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_ErrorControl(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_ErrorControl(self: *const T, lnErrorControl: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_ErrorControl(@as(*const IADsService, @ptrCast(self)), lnErrorControl);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_LoadOrderGroup(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_LoadOrderGroup(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_LoadOrderGroup(self: *const T, bstrLoadOrderGroup: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_LoadOrderGroup(@as(*const IADsService, @ptrCast(self)), bstrLoadOrderGroup);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_ServiceAccountName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_ServiceAccountName(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_ServiceAccountName(self: *const T, bstrServiceAccountName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_ServiceAccountName(@as(*const IADsService, @ptrCast(self)), bstrServiceAccountName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_ServiceAccountPath(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_ServiceAccountPath(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_ServiceAccountPath(self: *const T, bstrServiceAccountPath: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_ServiceAccountPath(@as(*const IADsService, @ptrCast(self)), bstrServiceAccountPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_get_Dependencies(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).get_Dependencies(@as(*const IADsService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsService_put_Dependencies(self: *const T, vDependencies: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsService.VTable, @ptrCast(self.vtable)).put_Dependencies(@as(*const IADsService, @ptrCast(self)), vDependencies);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsServiceOperations_Value = Guid.initString("5d7b33f0-31ca-11cf-a98a-00aa006bc149");
|
|
pub const IID_IADsServiceOperations = &IID_IADsServiceOperations_Value;
|
|
pub const IADsServiceOperations = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Status: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsServiceOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsServiceOperations,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Start: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsServiceOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsServiceOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Stop: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsServiceOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsServiceOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Pause: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsServiceOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsServiceOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Continue: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsServiceOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsServiceOperations,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetPassword: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsServiceOperations,
|
|
bstrNewPassword: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsServiceOperations,
|
|
bstrNewPassword: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsServiceOperations_get_Status(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsServiceOperations.VTable, @ptrCast(self.vtable)).get_Status(@as(*const IADsServiceOperations, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsServiceOperations_Start(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsServiceOperations.VTable, @ptrCast(self.vtable)).Start(@as(*const IADsServiceOperations, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsServiceOperations_Stop(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsServiceOperations.VTable, @ptrCast(self.vtable)).Stop(@as(*const IADsServiceOperations, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsServiceOperations_Pause(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsServiceOperations.VTable, @ptrCast(self.vtable)).Pause(@as(*const IADsServiceOperations, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsServiceOperations_Continue(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsServiceOperations.VTable, @ptrCast(self.vtable)).Continue(@as(*const IADsServiceOperations, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsServiceOperations_SetPassword(self: *const T, bstrNewPassword: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsServiceOperations.VTable, @ptrCast(self.vtable)).SetPassword(@as(*const IADsServiceOperations, @ptrCast(self)), bstrNewPassword);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsFileService_Value = Guid.initString("a89d1900-31ca-11cf-a98a-00aa006bc149");
|
|
pub const IID_IADsFileService = &IID_IADsFileService_Value;
|
|
pub const IADsFileService = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADsService.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileService,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileService,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileService,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MaxUserCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileService,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileService,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MaxUserCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileService,
|
|
lnMaxUserCount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileService,
|
|
lnMaxUserCount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADsService.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileService_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileService.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsFileService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileService_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileService.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsFileService, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileService_get_MaxUserCount(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileService.VTable, @ptrCast(self.vtable)).get_MaxUserCount(@as(*const IADsFileService, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileService_put_MaxUserCount(self: *const T, lnMaxUserCount: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileService.VTable, @ptrCast(self.vtable)).put_MaxUserCount(@as(*const IADsFileService, @ptrCast(self)), lnMaxUserCount);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsFileServiceOperations_Value = Guid.initString("a02ded10-31ca-11cf-a98a-00aa006bc149");
|
|
pub const IID_IADsFileServiceOperations = &IID_IADsFileServiceOperations_Value;
|
|
pub const IADsFileServiceOperations = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADsServiceOperations.VTable,
|
|
Sessions: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsFileServiceOperations,
|
|
ppSessions: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsFileServiceOperations,
|
|
ppSessions: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Resources: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsFileServiceOperations,
|
|
ppResources: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsFileServiceOperations,
|
|
ppResources: ?*?*IADsCollection,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADsServiceOperations.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileServiceOperations_Sessions(self: *const T, ppSessions: ?*?*IADsCollection) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileServiceOperations.VTable, @ptrCast(self.vtable)).Sessions(@as(*const IADsFileServiceOperations, @ptrCast(self)), ppSessions);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileServiceOperations_Resources(self: *const T, ppResources: ?*?*IADsCollection) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileServiceOperations.VTable, @ptrCast(self.vtable)).Resources(@as(*const IADsFileServiceOperations, @ptrCast(self)), ppResources);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsFileShare_Value = Guid.initString("eb6dcaf0-4b83-11cf-a995-00aa006bc149");
|
|
pub const IID_IADsFileShare = &IID_IADsFileShare_Value;
|
|
pub const IADsFileShare = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_CurrentUserCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Description: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
bstrDescription: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_HostComputer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_HostComputer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
bstrHostComputer: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
bstrHostComputer: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Path: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Path: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
bstrPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
bstrPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_MaxUserCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_MaxUserCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFileShare,
|
|
lnMaxUserCount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFileShare,
|
|
lnMaxUserCount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_get_CurrentUserCount(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).get_CurrentUserCount(@as(*const IADsFileShare, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_get_Description(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).get_Description(@as(*const IADsFileShare, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_put_Description(self: *const T, bstrDescription: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).put_Description(@as(*const IADsFileShare, @ptrCast(self)), bstrDescription);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_get_HostComputer(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).get_HostComputer(@as(*const IADsFileShare, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_put_HostComputer(self: *const T, bstrHostComputer: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).put_HostComputer(@as(*const IADsFileShare, @ptrCast(self)), bstrHostComputer);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_get_Path(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).get_Path(@as(*const IADsFileShare, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_put_Path(self: *const T, bstrPath: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).put_Path(@as(*const IADsFileShare, @ptrCast(self)), bstrPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_get_MaxUserCount(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).get_MaxUserCount(@as(*const IADsFileShare, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFileShare_put_MaxUserCount(self: *const T, lnMaxUserCount: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFileShare.VTable, @ptrCast(self.vtable)).put_MaxUserCount(@as(*const IADsFileShare, @ptrCast(self)), lnMaxUserCount);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsSession_Value = Guid.initString("398b7da0-4aab-11cf-ae2c-00aa006ebfb9");
|
|
pub const IID_IADsSession = &IID_IADsSession_Value;
|
|
pub const IADsSession = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_User: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSession,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSession,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_UserPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSession,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSession,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Computer: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSession,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSession,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ComputerPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSession,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSession,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ConnectTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSession,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSession,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_IdleTime: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSession,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSession,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSession_get_User(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSession.VTable, @ptrCast(self.vtable)).get_User(@as(*const IADsSession, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSession_get_UserPath(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSession.VTable, @ptrCast(self.vtable)).get_UserPath(@as(*const IADsSession, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSession_get_Computer(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSession.VTable, @ptrCast(self.vtable)).get_Computer(@as(*const IADsSession, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSession_get_ComputerPath(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSession.VTable, @ptrCast(self.vtable)).get_ComputerPath(@as(*const IADsSession, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSession_get_ConnectTime(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSession.VTable, @ptrCast(self.vtable)).get_ConnectTime(@as(*const IADsSession, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSession_get_IdleTime(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSession.VTable, @ptrCast(self.vtable)).get_IdleTime(@as(*const IADsSession, @ptrCast(self)), retval);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsResource_Value = Guid.initString("34a05b20-4aab-11cf-ae2c-00aa006ebfb9");
|
|
pub const IID_IADsResource = &IID_IADsResource_Value;
|
|
pub const IADsResource = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IADs.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_User: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsResource,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsResource,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_UserPath: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsResource,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsResource,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Path: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsResource,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsResource,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LockCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsResource,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsResource,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IADs.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsResource_get_User(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsResource.VTable, @ptrCast(self.vtable)).get_User(@as(*const IADsResource, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsResource_get_UserPath(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsResource.VTable, @ptrCast(self.vtable)).get_UserPath(@as(*const IADsResource, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsResource_get_Path(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsResource.VTable, @ptrCast(self.vtable)).get_Path(@as(*const IADsResource, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsResource_get_LockCount(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsResource.VTable, @ptrCast(self.vtable)).get_LockCount(@as(*const IADsResource, @ptrCast(self)), retval);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsOpenDSObject_Value = Guid.initString("ddf2891e-0f9c-11d0-8ad4-00c04fd8d503");
|
|
pub const IID_IADsOpenDSObject = &IID_IADsOpenDSObject_Value;
|
|
pub const IADsOpenDSObject = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
OpenDSObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsOpenDSObject,
|
|
lpszDNName: ?BSTR,
|
|
lpszUserName: ?BSTR,
|
|
lpszPassword: ?BSTR,
|
|
lnReserved: i32,
|
|
ppOleDsObj: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsOpenDSObject,
|
|
lpszDNName: ?BSTR,
|
|
lpszUserName: ?BSTR,
|
|
lpszPassword: ?BSTR,
|
|
lnReserved: i32,
|
|
ppOleDsObj: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOpenDSObject_OpenDSObject(self: *const T, lpszDNName: ?BSTR, lpszUserName: ?BSTR, lpszPassword: ?BSTR, lnReserved: i32, ppOleDsObj: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOpenDSObject.VTable, @ptrCast(self.vtable)).OpenDSObject(@as(*const IADsOpenDSObject, @ptrCast(self)), lpszDNName, lpszUserName, lpszPassword, lnReserved, ppOleDsObj);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDirectoryObject_Value = Guid.initString("e798de2c-22e4-11d0-84fe-00c04fd8d503");
|
|
pub const IID_IDirectoryObject = &IID_IDirectoryObject_Value;
|
|
pub const IDirectoryObject = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
GetObjectInformation: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectoryObject,
|
|
ppObjInfo: ?*?*ADS_OBJECT_INFO,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectoryObject,
|
|
ppObjInfo: ?*?*ADS_OBJECT_INFO,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetObjectAttributes: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectoryObject,
|
|
pAttributeNames: ?*?PWSTR,
|
|
dwNumberAttributes: u32,
|
|
ppAttributeEntries: ?*?*ADS_ATTR_INFO,
|
|
pdwNumAttributesReturned: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectoryObject,
|
|
pAttributeNames: ?*?PWSTR,
|
|
dwNumberAttributes: u32,
|
|
ppAttributeEntries: ?*?*ADS_ATTR_INFO,
|
|
pdwNumAttributesReturned: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetObjectAttributes: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectoryObject,
|
|
pAttributeEntries: ?*ADS_ATTR_INFO,
|
|
dwNumAttributes: u32,
|
|
pdwNumAttributesModified: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectoryObject,
|
|
pAttributeEntries: ?*ADS_ATTR_INFO,
|
|
dwNumAttributes: u32,
|
|
pdwNumAttributesModified: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CreateDSObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectoryObject,
|
|
pszRDNName: ?PWSTR,
|
|
pAttributeEntries: ?*ADS_ATTR_INFO,
|
|
dwNumAttributes: u32,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectoryObject,
|
|
pszRDNName: ?PWSTR,
|
|
pAttributeEntries: ?*ADS_ATTR_INFO,
|
|
dwNumAttributes: u32,
|
|
ppObject: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
DeleteDSObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectoryObject,
|
|
pszRDNName: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectoryObject,
|
|
pszRDNName: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectoryObject_GetObjectInformation(self: *const T, ppObjInfo: ?*?*ADS_OBJECT_INFO) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectoryObject.VTable, @ptrCast(self.vtable)).GetObjectInformation(@as(*const IDirectoryObject, @ptrCast(self)), ppObjInfo);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectoryObject_GetObjectAttributes(self: *const T, pAttributeNames: ?*?PWSTR, dwNumberAttributes: u32, ppAttributeEntries: ?*?*ADS_ATTR_INFO, pdwNumAttributesReturned: ?*u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectoryObject.VTable, @ptrCast(self.vtable)).GetObjectAttributes(@as(*const IDirectoryObject, @ptrCast(self)), pAttributeNames, dwNumberAttributes, ppAttributeEntries, pdwNumAttributesReturned);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectoryObject_SetObjectAttributes(self: *const T, pAttributeEntries: ?*ADS_ATTR_INFO, dwNumAttributes: u32, pdwNumAttributesModified: ?*u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectoryObject.VTable, @ptrCast(self.vtable)).SetObjectAttributes(@as(*const IDirectoryObject, @ptrCast(self)), pAttributeEntries, dwNumAttributes, pdwNumAttributesModified);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectoryObject_CreateDSObject(self: *const T, pszRDNName: ?PWSTR, pAttributeEntries: ?*ADS_ATTR_INFO, dwNumAttributes: u32, ppObject: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectoryObject.VTable, @ptrCast(self.vtable)).CreateDSObject(@as(*const IDirectoryObject, @ptrCast(self)), pszRDNName, pAttributeEntries, dwNumAttributes, ppObject);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectoryObject_DeleteDSObject(self: *const T, pszRDNName: ?PWSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectoryObject.VTable, @ptrCast(self.vtable)).DeleteDSObject(@as(*const IDirectoryObject, @ptrCast(self)), pszRDNName);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDirectorySearch_Value = Guid.initString("109ba8ec-92f0-11d0-a790-00c04fd8d5a8");
|
|
pub const IID_IDirectorySearch = &IID_IDirectorySearch_Value;
|
|
pub const IDirectorySearch = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
SetSearchPreference: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
pSearchPrefs: ?*ads_searchpref_info,
|
|
dwNumPrefs: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
pSearchPrefs: ?*ads_searchpref_info,
|
|
dwNumPrefs: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ExecuteSearch: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
pszSearchFilter: ?PWSTR,
|
|
pAttributeNames: ?*?PWSTR,
|
|
dwNumberAttributes: u32,
|
|
phSearchResult: ?*isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
pszSearchFilter: ?PWSTR,
|
|
pAttributeNames: ?*?PWSTR,
|
|
dwNumberAttributes: u32,
|
|
phSearchResult: ?*isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
AbandonSearch: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
phSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
phSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetFirstRow: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetNextRow: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetPreviousRow: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetNextColumnName: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchHandle: isize,
|
|
ppszColumnName: ?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchHandle: isize,
|
|
ppszColumnName: ?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetColumn: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
szColumnName: ?PWSTR,
|
|
pSearchColumn: ?*ads_search_column,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
szColumnName: ?PWSTR,
|
|
pSearchColumn: ?*ads_search_column,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
FreeColumn: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
pSearchColumn: ?*ads_search_column,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
pSearchColumn: ?*ads_search_column,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CloseSearchHandle: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySearch,
|
|
hSearchResult: isize,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_SetSearchPreference(self: *const T, pSearchPrefs: ?*ads_searchpref_info, dwNumPrefs: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).SetSearchPreference(@as(*const IDirectorySearch, @ptrCast(self)), pSearchPrefs, dwNumPrefs);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_ExecuteSearch(self: *const T, pszSearchFilter: ?PWSTR, pAttributeNames: ?*?PWSTR, dwNumberAttributes: u32, phSearchResult: ?*isize) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).ExecuteSearch(@as(*const IDirectorySearch, @ptrCast(self)), pszSearchFilter, pAttributeNames, dwNumberAttributes, phSearchResult);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_AbandonSearch(self: *const T, phSearchResult: isize) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).AbandonSearch(@as(*const IDirectorySearch, @ptrCast(self)), phSearchResult);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_GetFirstRow(self: *const T, hSearchResult: isize) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).GetFirstRow(@as(*const IDirectorySearch, @ptrCast(self)), hSearchResult);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_GetNextRow(self: *const T, hSearchResult: isize) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).GetNextRow(@as(*const IDirectorySearch, @ptrCast(self)), hSearchResult);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_GetPreviousRow(self: *const T, hSearchResult: isize) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).GetPreviousRow(@as(*const IDirectorySearch, @ptrCast(self)), hSearchResult);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_GetNextColumnName(self: *const T, hSearchHandle: isize, ppszColumnName: ?*?PWSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).GetNextColumnName(@as(*const IDirectorySearch, @ptrCast(self)), hSearchHandle, ppszColumnName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_GetColumn(self: *const T, hSearchResult: isize, szColumnName: ?PWSTR, pSearchColumn: ?*ads_search_column) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).GetColumn(@as(*const IDirectorySearch, @ptrCast(self)), hSearchResult, szColumnName, pSearchColumn);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_FreeColumn(self: *const T, pSearchColumn: ?*ads_search_column) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).FreeColumn(@as(*const IDirectorySearch, @ptrCast(self)), pSearchColumn);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySearch_CloseSearchHandle(self: *const T, hSearchResult: isize) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySearch.VTable, @ptrCast(self.vtable)).CloseSearchHandle(@as(*const IDirectorySearch, @ptrCast(self)), hSearchResult);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDirectorySchemaMgmt_Value = Guid.initString("75db3b9c-a4d8-11d0-a79c-00c04fd8d5a8");
|
|
pub const IID_IDirectorySchemaMgmt = &IID_IDirectorySchemaMgmt_Value;
|
|
pub const IDirectorySchemaMgmt = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
EnumAttributes: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
ppszAttrNames: ?*?PWSTR,
|
|
dwNumAttributes: u32,
|
|
ppAttrDefinition: ?*?*ADS_ATTR_DEF,
|
|
pdwNumAttributes: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
ppszAttrNames: ?*?PWSTR,
|
|
dwNumAttributes: u32,
|
|
ppAttrDefinition: ?*?*ADS_ATTR_DEF,
|
|
pdwNumAttributes: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CreateAttributeDefinition: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszAttributeName: ?PWSTR,
|
|
pAttributeDefinition: ?*ADS_ATTR_DEF,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszAttributeName: ?PWSTR,
|
|
pAttributeDefinition: ?*ADS_ATTR_DEF,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
WriteAttributeDefinition: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszAttributeName: ?PWSTR,
|
|
pAttributeDefinition: ?*ADS_ATTR_DEF,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszAttributeName: ?PWSTR,
|
|
pAttributeDefinition: ?*ADS_ATTR_DEF,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
DeleteAttributeDefinition: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszAttributeName: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszAttributeName: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
EnumClasses: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
ppszClassNames: ?*?PWSTR,
|
|
dwNumClasses: u32,
|
|
ppClassDefinition: ?*?*ADS_CLASS_DEF,
|
|
pdwNumClasses: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
ppszClassNames: ?*?PWSTR,
|
|
dwNumClasses: u32,
|
|
ppClassDefinition: ?*?*ADS_CLASS_DEF,
|
|
pdwNumClasses: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
WriteClassDefinition: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszClassName: ?PWSTR,
|
|
pClassDefinition: ?*ADS_CLASS_DEF,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszClassName: ?PWSTR,
|
|
pClassDefinition: ?*ADS_CLASS_DEF,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CreateClassDefinition: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszClassName: ?PWSTR,
|
|
pClassDefinition: ?*ADS_CLASS_DEF,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszClassName: ?PWSTR,
|
|
pClassDefinition: ?*ADS_CLASS_DEF,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
DeleteClassDefinition: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszClassName: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDirectorySchemaMgmt,
|
|
pszClassName: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySchemaMgmt_EnumAttributes(self: *const T, ppszAttrNames: ?*?PWSTR, dwNumAttributes: u32, ppAttrDefinition: ?*?*ADS_ATTR_DEF, pdwNumAttributes: ?*u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySchemaMgmt.VTable, @ptrCast(self.vtable)).EnumAttributes(@as(*const IDirectorySchemaMgmt, @ptrCast(self)), ppszAttrNames, dwNumAttributes, ppAttrDefinition, pdwNumAttributes);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySchemaMgmt_CreateAttributeDefinition(self: *const T, pszAttributeName: ?PWSTR, pAttributeDefinition: ?*ADS_ATTR_DEF) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySchemaMgmt.VTable, @ptrCast(self.vtable)).CreateAttributeDefinition(@as(*const IDirectorySchemaMgmt, @ptrCast(self)), pszAttributeName, pAttributeDefinition);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySchemaMgmt_WriteAttributeDefinition(self: *const T, pszAttributeName: ?PWSTR, pAttributeDefinition: ?*ADS_ATTR_DEF) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySchemaMgmt.VTable, @ptrCast(self.vtable)).WriteAttributeDefinition(@as(*const IDirectorySchemaMgmt, @ptrCast(self)), pszAttributeName, pAttributeDefinition);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySchemaMgmt_DeleteAttributeDefinition(self: *const T, pszAttributeName: ?PWSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySchemaMgmt.VTable, @ptrCast(self.vtable)).DeleteAttributeDefinition(@as(*const IDirectorySchemaMgmt, @ptrCast(self)), pszAttributeName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySchemaMgmt_EnumClasses(self: *const T, ppszClassNames: ?*?PWSTR, dwNumClasses: u32, ppClassDefinition: ?*?*ADS_CLASS_DEF, pdwNumClasses: ?*u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySchemaMgmt.VTable, @ptrCast(self.vtable)).EnumClasses(@as(*const IDirectorySchemaMgmt, @ptrCast(self)), ppszClassNames, dwNumClasses, ppClassDefinition, pdwNumClasses);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySchemaMgmt_WriteClassDefinition(self: *const T, pszClassName: ?PWSTR, pClassDefinition: ?*ADS_CLASS_DEF) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySchemaMgmt.VTable, @ptrCast(self.vtable)).WriteClassDefinition(@as(*const IDirectorySchemaMgmt, @ptrCast(self)), pszClassName, pClassDefinition);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySchemaMgmt_CreateClassDefinition(self: *const T, pszClassName: ?PWSTR, pClassDefinition: ?*ADS_CLASS_DEF) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySchemaMgmt.VTable, @ptrCast(self.vtable)).CreateClassDefinition(@as(*const IDirectorySchemaMgmt, @ptrCast(self)), pszClassName, pClassDefinition);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDirectorySchemaMgmt_DeleteClassDefinition(self: *const T, pszClassName: ?PWSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IDirectorySchemaMgmt.VTable, @ptrCast(self.vtable)).DeleteClassDefinition(@as(*const IDirectorySchemaMgmt, @ptrCast(self)), pszClassName);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
const IID_IADsAggregatee_Value = Guid.initString("1346ce8c-9039-11d0-8528-00c04fd8d503");
|
|
pub const IID_IADsAggregatee = &IID_IADsAggregatee_Value;
|
|
pub const IADsAggregatee = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
ConnectAsAggregatee: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAggregatee,
|
|
pOuterUnknown: ?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAggregatee,
|
|
pOuterUnknown: ?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
DisconnectAsAggregatee: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAggregatee,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAggregatee,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
RelinquishInterface: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAggregatee,
|
|
riid: ?*const Guid,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAggregatee,
|
|
riid: ?*const Guid,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
RestoreInterface: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAggregatee,
|
|
riid: ?*const Guid,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAggregatee,
|
|
riid: ?*const Guid,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAggregatee_ConnectAsAggregatee(self: *const T, pOuterUnknown: ?*IUnknown) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAggregatee.VTable, @ptrCast(self.vtable)).ConnectAsAggregatee(@as(*const IADsAggregatee, @ptrCast(self)), pOuterUnknown);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAggregatee_DisconnectAsAggregatee(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAggregatee.VTable, @ptrCast(self.vtable)).DisconnectAsAggregatee(@as(*const IADsAggregatee, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAggregatee_RelinquishInterface(self: *const T, riid: ?*const Guid) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAggregatee.VTable, @ptrCast(self.vtable)).RelinquishInterface(@as(*const IADsAggregatee, @ptrCast(self)), riid);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAggregatee_RestoreInterface(self: *const T, riid: ?*const Guid) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAggregatee.VTable, @ptrCast(self.vtable)).RestoreInterface(@as(*const IADsAggregatee, @ptrCast(self)), riid);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
const IID_IADsAggregator_Value = Guid.initString("52db5fb0-941f-11d0-8529-00c04fd8d503");
|
|
pub const IID_IADsAggregator = &IID_IADsAggregator_Value;
|
|
pub const IADsAggregator = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
ConnectAsAggregator: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAggregator,
|
|
pAggregatee: ?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAggregator,
|
|
pAggregatee: ?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
DisconnectAsAggregator: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAggregator,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAggregator,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAggregator_ConnectAsAggregator(self: *const T, pAggregatee: ?*IUnknown) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAggregator.VTable, @ptrCast(self.vtable)).ConnectAsAggregator(@as(*const IADsAggregator, @ptrCast(self)), pAggregatee);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAggregator_DisconnectAsAggregator(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAggregator.VTable, @ptrCast(self.vtable)).DisconnectAsAggregator(@as(*const IADsAggregator, @ptrCast(self)));
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsAccessControlEntry_Value = Guid.initString("b4f3a14c-9bdd-11d0-852c-00c04fd8d503");
|
|
pub const IID_IADsAccessControlEntry = &IID_IADsAccessControlEntry_Value;
|
|
pub const IADsAccessControlEntry = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AccessMask: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AccessMask: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
lnAccessMask: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
lnAccessMask: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AceType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AceType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
lnAceType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
lnAceType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AceFlags: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AceFlags: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
lnAceFlags: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
lnAceFlags: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Flags: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Flags: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
lnFlags: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
lnFlags: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ObjectType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ObjectType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
bstrObjectType: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
bstrObjectType: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_InheritedObjectType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_InheritedObjectType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
bstrInheritedObjectType: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
bstrInheritedObjectType: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Trustee: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Trustee: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlEntry,
|
|
bstrTrustee: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlEntry,
|
|
bstrTrustee: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_get_AccessMask(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).get_AccessMask(@as(*const IADsAccessControlEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_put_AccessMask(self: *const T, lnAccessMask: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).put_AccessMask(@as(*const IADsAccessControlEntry, @ptrCast(self)), lnAccessMask);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_get_AceType(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).get_AceType(@as(*const IADsAccessControlEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_put_AceType(self: *const T, lnAceType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).put_AceType(@as(*const IADsAccessControlEntry, @ptrCast(self)), lnAceType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_get_AceFlags(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).get_AceFlags(@as(*const IADsAccessControlEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_put_AceFlags(self: *const T, lnAceFlags: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).put_AceFlags(@as(*const IADsAccessControlEntry, @ptrCast(self)), lnAceFlags);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_get_Flags(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).get_Flags(@as(*const IADsAccessControlEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_put_Flags(self: *const T, lnFlags: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).put_Flags(@as(*const IADsAccessControlEntry, @ptrCast(self)), lnFlags);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_get_ObjectType(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).get_ObjectType(@as(*const IADsAccessControlEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_put_ObjectType(self: *const T, bstrObjectType: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).put_ObjectType(@as(*const IADsAccessControlEntry, @ptrCast(self)), bstrObjectType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_get_InheritedObjectType(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).get_InheritedObjectType(@as(*const IADsAccessControlEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_put_InheritedObjectType(self: *const T, bstrInheritedObjectType: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).put_InheritedObjectType(@as(*const IADsAccessControlEntry, @ptrCast(self)), bstrInheritedObjectType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_get_Trustee(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).get_Trustee(@as(*const IADsAccessControlEntry, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlEntry_put_Trustee(self: *const T, bstrTrustee: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlEntry.VTable, @ptrCast(self.vtable)).put_Trustee(@as(*const IADsAccessControlEntry, @ptrCast(self)), bstrTrustee);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsAccessControlList_Value = Guid.initString("b7ee91cc-9bdd-11d0-852c-00c04fd8d503");
|
|
pub const IID_IADsAccessControlList = &IID_IADsAccessControlList_Value;
|
|
pub const IADsAccessControlList = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AclRevision: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlList,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlList,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AclRevision: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlList,
|
|
lnAclRevision: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlList,
|
|
lnAclRevision: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AceCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlList,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlList,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AceCount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlList,
|
|
lnAceCount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlList,
|
|
lnAceCount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
AddAce: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlList,
|
|
pAccessControlEntry: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAccessControlList,
|
|
pAccessControlEntry: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
RemoveAce: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlList,
|
|
pAccessControlEntry: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAccessControlList,
|
|
pAccessControlEntry: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CopyAccessList: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlList,
|
|
ppAccessControlList: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAccessControlList,
|
|
ppAccessControlList: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get__NewEnum: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAccessControlList,
|
|
retval: ?*?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAccessControlList,
|
|
retval: ?*?*IUnknown,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlList_get_AclRevision(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlList.VTable, @ptrCast(self.vtable)).get_AclRevision(@as(*const IADsAccessControlList, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlList_put_AclRevision(self: *const T, lnAclRevision: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlList.VTable, @ptrCast(self.vtable)).put_AclRevision(@as(*const IADsAccessControlList, @ptrCast(self)), lnAclRevision);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlList_get_AceCount(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlList.VTable, @ptrCast(self.vtable)).get_AceCount(@as(*const IADsAccessControlList, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlList_put_AceCount(self: *const T, lnAceCount: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlList.VTable, @ptrCast(self.vtable)).put_AceCount(@as(*const IADsAccessControlList, @ptrCast(self)), lnAceCount);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlList_AddAce(self: *const T, pAccessControlEntry: ?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlList.VTable, @ptrCast(self.vtable)).AddAce(@as(*const IADsAccessControlList, @ptrCast(self)), pAccessControlEntry);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlList_RemoveAce(self: *const T, pAccessControlEntry: ?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlList.VTable, @ptrCast(self.vtable)).RemoveAce(@as(*const IADsAccessControlList, @ptrCast(self)), pAccessControlEntry);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlList_CopyAccessList(self: *const T, ppAccessControlList: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlList.VTable, @ptrCast(self.vtable)).CopyAccessList(@as(*const IADsAccessControlList, @ptrCast(self)), ppAccessControlList);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAccessControlList_get__NewEnum(self: *const T, retval: ?*?*IUnknown) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAccessControlList.VTable, @ptrCast(self.vtable)).get__NewEnum(@as(*const IADsAccessControlList, @ptrCast(self)), retval);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsSecurityDescriptor_Value = Guid.initString("b8c787ca-9bdd-11d0-852c-00c04fd8d503");
|
|
pub const IID_IADsSecurityDescriptor = &IID_IADsSecurityDescriptor_Value;
|
|
pub const IADsSecurityDescriptor = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Revision: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Revision: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
lnRevision: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
lnRevision: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Control: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Control: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
lnControl: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
lnControl: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Owner: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Owner: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
bstrOwner: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
bstrOwner: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OwnerDefaulted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OwnerDefaulted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
fOwnerDefaulted: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
fOwnerDefaulted: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Group: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Group: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
bstrGroup: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
bstrGroup: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_GroupDefaulted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_GroupDefaulted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
fGroupDefaulted: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
fGroupDefaulted: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DiscretionaryAcl: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DiscretionaryAcl: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
pDiscretionaryAcl: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
pDiscretionaryAcl: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DaclDefaulted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DaclDefaulted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
fDaclDefaulted: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
fDaclDefaulted: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SystemAcl: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SystemAcl: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
pSystemAcl: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
pSystemAcl: ?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SaclDefaulted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SaclDefaulted: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
fSaclDefaulted: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
fSaclDefaulted: i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CopySecurityDescriptor: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
ppSecurityDescriptor: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsSecurityDescriptor,
|
|
ppSecurityDescriptor: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_Revision(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_Revision(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_Revision(self: *const T, lnRevision: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_Revision(@as(*const IADsSecurityDescriptor, @ptrCast(self)), lnRevision);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_Control(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_Control(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_Control(self: *const T, lnControl: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_Control(@as(*const IADsSecurityDescriptor, @ptrCast(self)), lnControl);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_Owner(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_Owner(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_Owner(self: *const T, bstrOwner: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_Owner(@as(*const IADsSecurityDescriptor, @ptrCast(self)), bstrOwner);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_OwnerDefaulted(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_OwnerDefaulted(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_OwnerDefaulted(self: *const T, fOwnerDefaulted: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_OwnerDefaulted(@as(*const IADsSecurityDescriptor, @ptrCast(self)), fOwnerDefaulted);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_Group(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_Group(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_Group(self: *const T, bstrGroup: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_Group(@as(*const IADsSecurityDescriptor, @ptrCast(self)), bstrGroup);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_GroupDefaulted(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_GroupDefaulted(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_GroupDefaulted(self: *const T, fGroupDefaulted: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_GroupDefaulted(@as(*const IADsSecurityDescriptor, @ptrCast(self)), fGroupDefaulted);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_DiscretionaryAcl(self: *const T, retval: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_DiscretionaryAcl(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_DiscretionaryAcl(self: *const T, pDiscretionaryAcl: ?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_DiscretionaryAcl(@as(*const IADsSecurityDescriptor, @ptrCast(self)), pDiscretionaryAcl);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_DaclDefaulted(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_DaclDefaulted(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_DaclDefaulted(self: *const T, fDaclDefaulted: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_DaclDefaulted(@as(*const IADsSecurityDescriptor, @ptrCast(self)), fDaclDefaulted);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_SystemAcl(self: *const T, retval: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_SystemAcl(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_SystemAcl(self: *const T, pSystemAcl: ?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_SystemAcl(@as(*const IADsSecurityDescriptor, @ptrCast(self)), pSystemAcl);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_get_SaclDefaulted(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).get_SaclDefaulted(@as(*const IADsSecurityDescriptor, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_put_SaclDefaulted(self: *const T, fSaclDefaulted: i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).put_SaclDefaulted(@as(*const IADsSecurityDescriptor, @ptrCast(self)), fSaclDefaulted);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityDescriptor_CopySecurityDescriptor(self: *const T, ppSecurityDescriptor: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityDescriptor.VTable, @ptrCast(self.vtable)).CopySecurityDescriptor(@as(*const IADsSecurityDescriptor, @ptrCast(self)), ppSecurityDescriptor);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsLargeInteger_Value = Guid.initString("9068270b-0939-11d1-8be1-00c04fd8d503");
|
|
pub const IID_IADsLargeInteger = &IID_IADsLargeInteger_Value;
|
|
pub const IADsLargeInteger = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_HighPart: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLargeInteger,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLargeInteger,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_HighPart: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLargeInteger,
|
|
lnHighPart: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLargeInteger,
|
|
lnHighPart: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_LowPart: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLargeInteger,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLargeInteger,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_LowPart: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsLargeInteger,
|
|
lnLowPart: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsLargeInteger,
|
|
lnLowPart: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLargeInteger_get_HighPart(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLargeInteger.VTable, @ptrCast(self.vtable)).get_HighPart(@as(*const IADsLargeInteger, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLargeInteger_put_HighPart(self: *const T, lnHighPart: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLargeInteger.VTable, @ptrCast(self.vtable)).put_HighPart(@as(*const IADsLargeInteger, @ptrCast(self)), lnHighPart);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLargeInteger_get_LowPart(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLargeInteger.VTable, @ptrCast(self.vtable)).get_LowPart(@as(*const IADsLargeInteger, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsLargeInteger_put_LowPart(self: *const T, lnLowPart: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsLargeInteger.VTable, @ptrCast(self.vtable)).put_LowPart(@as(*const IADsLargeInteger, @ptrCast(self)), lnLowPart);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsNameTranslate_Value = Guid.initString("b1b272a3-3625-11d1-a3a4-00c04fb950dc");
|
|
pub const IID_IADsNameTranslate = &IID_IADsNameTranslate_Value;
|
|
pub const IADsNameTranslate = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ChaseReferral: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsNameTranslate,
|
|
lnChaseReferral: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsNameTranslate,
|
|
lnChaseReferral: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Init: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsNameTranslate,
|
|
lnSetType: i32,
|
|
bstrADsPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsNameTranslate,
|
|
lnSetType: i32,
|
|
bstrADsPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
InitEx: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsNameTranslate,
|
|
lnSetType: i32,
|
|
bstrADsPath: ?BSTR,
|
|
bstrUserID: ?BSTR,
|
|
bstrDomain: ?BSTR,
|
|
bstrPassword: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsNameTranslate,
|
|
lnSetType: i32,
|
|
bstrADsPath: ?BSTR,
|
|
bstrUserID: ?BSTR,
|
|
bstrDomain: ?BSTR,
|
|
bstrPassword: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Set: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsNameTranslate,
|
|
lnSetType: i32,
|
|
bstrADsPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsNameTranslate,
|
|
lnSetType: i32,
|
|
bstrADsPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Get: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsNameTranslate,
|
|
lnFormatType: i32,
|
|
pbstrADsPath: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsNameTranslate,
|
|
lnFormatType: i32,
|
|
pbstrADsPath: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetEx: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsNameTranslate,
|
|
lnFormatType: i32,
|
|
pvar: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsNameTranslate,
|
|
lnFormatType: i32,
|
|
pvar: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetEx: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsNameTranslate,
|
|
lnFormatType: i32,
|
|
pvar: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsNameTranslate,
|
|
lnFormatType: i32,
|
|
pvar: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNameTranslate_put_ChaseReferral(self: *const T, lnChaseReferral: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNameTranslate.VTable, @ptrCast(self.vtable)).put_ChaseReferral(@as(*const IADsNameTranslate, @ptrCast(self)), lnChaseReferral);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNameTranslate_Init(self: *const T, lnSetType: i32, bstrADsPath: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNameTranslate.VTable, @ptrCast(self.vtable)).Init(@as(*const IADsNameTranslate, @ptrCast(self)), lnSetType, bstrADsPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNameTranslate_InitEx(self: *const T, lnSetType: i32, bstrADsPath: ?BSTR, bstrUserID: ?BSTR, bstrDomain: ?BSTR, bstrPassword: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNameTranslate.VTable, @ptrCast(self.vtable)).InitEx(@as(*const IADsNameTranslate, @ptrCast(self)), lnSetType, bstrADsPath, bstrUserID, bstrDomain, bstrPassword);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNameTranslate_Set(self: *const T, lnSetType: i32, bstrADsPath: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNameTranslate.VTable, @ptrCast(self.vtable)).Set(@as(*const IADsNameTranslate, @ptrCast(self)), lnSetType, bstrADsPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNameTranslate_Get(self: *const T, lnFormatType: i32, pbstrADsPath: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNameTranslate.VTable, @ptrCast(self.vtable)).Get(@as(*const IADsNameTranslate, @ptrCast(self)), lnFormatType, pbstrADsPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNameTranslate_SetEx(self: *const T, lnFormatType: i32, pvar: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNameTranslate.VTable, @ptrCast(self.vtable)).SetEx(@as(*const IADsNameTranslate, @ptrCast(self)), lnFormatType, pvar);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNameTranslate_GetEx(self: *const T, lnFormatType: i32, pvar: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNameTranslate.VTable, @ptrCast(self.vtable)).GetEx(@as(*const IADsNameTranslate, @ptrCast(self)), lnFormatType, pvar);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsCaseIgnoreList_Value = Guid.initString("7b66b533-4680-11d1-a3b4-00c04fb950dc");
|
|
pub const IID_IADsCaseIgnoreList = &IID_IADsCaseIgnoreList_Value;
|
|
pub const IADsCaseIgnoreList = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_CaseIgnoreList: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsCaseIgnoreList,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsCaseIgnoreList,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_CaseIgnoreList: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsCaseIgnoreList,
|
|
vCaseIgnoreList: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsCaseIgnoreList,
|
|
vCaseIgnoreList: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsCaseIgnoreList_get_CaseIgnoreList(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsCaseIgnoreList.VTable, @ptrCast(self.vtable)).get_CaseIgnoreList(@as(*const IADsCaseIgnoreList, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsCaseIgnoreList_put_CaseIgnoreList(self: *const T, vCaseIgnoreList: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsCaseIgnoreList.VTable, @ptrCast(self.vtable)).put_CaseIgnoreList(@as(*const IADsCaseIgnoreList, @ptrCast(self)), vCaseIgnoreList);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsFaxNumber_Value = Guid.initString("a910dea9-4680-11d1-a3b4-00c04fb950dc");
|
|
pub const IID_IADsFaxNumber = &IID_IADsFaxNumber_Value;
|
|
pub const IADsFaxNumber = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_TelephoneNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFaxNumber,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFaxNumber,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_TelephoneNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFaxNumber,
|
|
bstrTelephoneNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFaxNumber,
|
|
bstrTelephoneNumber: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Parameters: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFaxNumber,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFaxNumber,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Parameters: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsFaxNumber,
|
|
vParameters: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsFaxNumber,
|
|
vParameters: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFaxNumber_get_TelephoneNumber(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFaxNumber.VTable, @ptrCast(self.vtable)).get_TelephoneNumber(@as(*const IADsFaxNumber, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFaxNumber_put_TelephoneNumber(self: *const T, bstrTelephoneNumber: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFaxNumber.VTable, @ptrCast(self.vtable)).put_TelephoneNumber(@as(*const IADsFaxNumber, @ptrCast(self)), bstrTelephoneNumber);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFaxNumber_get_Parameters(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFaxNumber.VTable, @ptrCast(self.vtable)).get_Parameters(@as(*const IADsFaxNumber, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsFaxNumber_put_Parameters(self: *const T, vParameters: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsFaxNumber.VTable, @ptrCast(self.vtable)).put_Parameters(@as(*const IADsFaxNumber, @ptrCast(self)), vParameters);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsNetAddress_Value = Guid.initString("b21a50a9-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const IID_IADsNetAddress = &IID_IADsNetAddress_Value;
|
|
pub const IADsNetAddress = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_AddressType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsNetAddress,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsNetAddress,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_AddressType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsNetAddress,
|
|
lnAddressType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsNetAddress,
|
|
lnAddressType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Address: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsNetAddress,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsNetAddress,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Address: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsNetAddress,
|
|
vAddress: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsNetAddress,
|
|
vAddress: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNetAddress_get_AddressType(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNetAddress.VTable, @ptrCast(self.vtable)).get_AddressType(@as(*const IADsNetAddress, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNetAddress_put_AddressType(self: *const T, lnAddressType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNetAddress.VTable, @ptrCast(self.vtable)).put_AddressType(@as(*const IADsNetAddress, @ptrCast(self)), lnAddressType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNetAddress_get_Address(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNetAddress.VTable, @ptrCast(self.vtable)).get_Address(@as(*const IADsNetAddress, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsNetAddress_put_Address(self: *const T, vAddress: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsNetAddress.VTable, @ptrCast(self.vtable)).put_Address(@as(*const IADsNetAddress, @ptrCast(self)), vAddress);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsOctetList_Value = Guid.initString("7b28b80f-4680-11d1-a3b4-00c04fb950dc");
|
|
pub const IID_IADsOctetList = &IID_IADsOctetList_Value;
|
|
pub const IADsOctetList = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_OctetList: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOctetList,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOctetList,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_OctetList: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsOctetList,
|
|
vOctetList: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsOctetList,
|
|
vOctetList: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOctetList_get_OctetList(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOctetList.VTable, @ptrCast(self.vtable)).get_OctetList(@as(*const IADsOctetList, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsOctetList_put_OctetList(self: *const T, vOctetList: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsOctetList.VTable, @ptrCast(self.vtable)).put_OctetList(@as(*const IADsOctetList, @ptrCast(self)), vOctetList);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsEmail_Value = Guid.initString("97af011a-478e-11d1-a3b4-00c04fb950dc");
|
|
pub const IID_IADsEmail = &IID_IADsEmail_Value;
|
|
pub const IADsEmail = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Type: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsEmail,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsEmail,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Type: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsEmail,
|
|
lnType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsEmail,
|
|
lnType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Address: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsEmail,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsEmail,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Address: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsEmail,
|
|
bstrAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsEmail,
|
|
bstrAddress: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsEmail_get_Type(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsEmail.VTable, @ptrCast(self.vtable)).get_Type(@as(*const IADsEmail, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsEmail_put_Type(self: *const T, lnType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsEmail.VTable, @ptrCast(self.vtable)).put_Type(@as(*const IADsEmail, @ptrCast(self)), lnType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsEmail_get_Address(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsEmail.VTable, @ptrCast(self.vtable)).get_Address(@as(*const IADsEmail, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsEmail_put_Address(self: *const T, bstrAddress: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsEmail.VTable, @ptrCast(self.vtable)).put_Address(@as(*const IADsEmail, @ptrCast(self)), bstrAddress);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPath_Value = Guid.initString("b287fcd5-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const IID_IADsPath = &IID_IADsPath_Value;
|
|
pub const IADsPath = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Type: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPath,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPath,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Type: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPath,
|
|
lnType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPath,
|
|
lnType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_VolumeName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPath,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPath,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_VolumeName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPath,
|
|
bstrVolumeName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPath,
|
|
bstrVolumeName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Path: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPath,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPath,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Path: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPath,
|
|
bstrPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPath,
|
|
bstrPath: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPath_get_Type(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPath.VTable, @ptrCast(self.vtable)).get_Type(@as(*const IADsPath, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPath_put_Type(self: *const T, lnType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPath.VTable, @ptrCast(self.vtable)).put_Type(@as(*const IADsPath, @ptrCast(self)), lnType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPath_get_VolumeName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPath.VTable, @ptrCast(self.vtable)).get_VolumeName(@as(*const IADsPath, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPath_put_VolumeName(self: *const T, bstrVolumeName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPath.VTable, @ptrCast(self.vtable)).put_VolumeName(@as(*const IADsPath, @ptrCast(self)), bstrVolumeName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPath_get_Path(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPath.VTable, @ptrCast(self.vtable)).get_Path(@as(*const IADsPath, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPath_put_Path(self: *const T, bstrPath: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPath.VTable, @ptrCast(self.vtable)).put_Path(@as(*const IADsPath, @ptrCast(self)), bstrPath);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsReplicaPointer_Value = Guid.initString("f60fb803-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const IID_IADsReplicaPointer = &IID_IADsReplicaPointer_Value;
|
|
pub const IADsReplicaPointer = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ServerName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ServerName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
bstrServerName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
bstrServerName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ReplicaType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ReplicaType: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
lnReplicaType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
lnReplicaType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ReplicaNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ReplicaNumber: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
lnReplicaNumber: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
lnReplicaNumber: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Count: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Count: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
lnCount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
lnCount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ReplicaAddressHints: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ReplicaAddressHints: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsReplicaPointer,
|
|
vReplicaAddressHints: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsReplicaPointer,
|
|
vReplicaAddressHints: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_get_ServerName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).get_ServerName(@as(*const IADsReplicaPointer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_put_ServerName(self: *const T, bstrServerName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).put_ServerName(@as(*const IADsReplicaPointer, @ptrCast(self)), bstrServerName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_get_ReplicaType(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).get_ReplicaType(@as(*const IADsReplicaPointer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_put_ReplicaType(self: *const T, lnReplicaType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).put_ReplicaType(@as(*const IADsReplicaPointer, @ptrCast(self)), lnReplicaType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_get_ReplicaNumber(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).get_ReplicaNumber(@as(*const IADsReplicaPointer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_put_ReplicaNumber(self: *const T, lnReplicaNumber: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).put_ReplicaNumber(@as(*const IADsReplicaPointer, @ptrCast(self)), lnReplicaNumber);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_get_Count(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).get_Count(@as(*const IADsReplicaPointer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_put_Count(self: *const T, lnCount: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).put_Count(@as(*const IADsReplicaPointer, @ptrCast(self)), lnCount);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_get_ReplicaAddressHints(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).get_ReplicaAddressHints(@as(*const IADsReplicaPointer, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsReplicaPointer_put_ReplicaAddressHints(self: *const T, vReplicaAddressHints: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsReplicaPointer.VTable, @ptrCast(self.vtable)).put_ReplicaAddressHints(@as(*const IADsReplicaPointer, @ptrCast(self)), vReplicaAddressHints);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsAcl_Value = Guid.initString("8452d3ab-0869-11d1-a377-00c04fb950dc");
|
|
pub const IID_IADsAcl = &IID_IADsAcl_Value;
|
|
pub const IADsAcl = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ProtectedAttrName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAcl,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAcl,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ProtectedAttrName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAcl,
|
|
bstrProtectedAttrName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAcl,
|
|
bstrProtectedAttrName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SubjectName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAcl,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAcl,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SubjectName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAcl,
|
|
bstrSubjectName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAcl,
|
|
bstrSubjectName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Privileges: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAcl,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAcl,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Privileges: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsAcl,
|
|
lnPrivileges: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsAcl,
|
|
lnPrivileges: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CopyAcl: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsAcl,
|
|
ppAcl: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsAcl,
|
|
ppAcl: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAcl_get_ProtectedAttrName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAcl.VTable, @ptrCast(self.vtable)).get_ProtectedAttrName(@as(*const IADsAcl, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAcl_put_ProtectedAttrName(self: *const T, bstrProtectedAttrName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAcl.VTable, @ptrCast(self.vtable)).put_ProtectedAttrName(@as(*const IADsAcl, @ptrCast(self)), bstrProtectedAttrName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAcl_get_SubjectName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAcl.VTable, @ptrCast(self.vtable)).get_SubjectName(@as(*const IADsAcl, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAcl_put_SubjectName(self: *const T, bstrSubjectName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAcl.VTable, @ptrCast(self.vtable)).put_SubjectName(@as(*const IADsAcl, @ptrCast(self)), bstrSubjectName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAcl_get_Privileges(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAcl.VTable, @ptrCast(self.vtable)).get_Privileges(@as(*const IADsAcl, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAcl_put_Privileges(self: *const T, lnPrivileges: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAcl.VTable, @ptrCast(self.vtable)).put_Privileges(@as(*const IADsAcl, @ptrCast(self)), lnPrivileges);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsAcl_CopyAcl(self: *const T, ppAcl: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsAcl.VTable, @ptrCast(self.vtable)).CopyAcl(@as(*const IADsAcl, @ptrCast(self)), ppAcl);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsTimestamp_Value = Guid.initString("b2f5a901-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const IID_IADsTimestamp = &IID_IADsTimestamp_Value;
|
|
pub const IADsTimestamp = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_WholeSeconds: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTimestamp,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTimestamp,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_WholeSeconds: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTimestamp,
|
|
lnWholeSeconds: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTimestamp,
|
|
lnWholeSeconds: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_EventID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTimestamp,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTimestamp,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_EventID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTimestamp,
|
|
lnEventID: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTimestamp,
|
|
lnEventID: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTimestamp_get_WholeSeconds(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTimestamp.VTable, @ptrCast(self.vtable)).get_WholeSeconds(@as(*const IADsTimestamp, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTimestamp_put_WholeSeconds(self: *const T, lnWholeSeconds: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTimestamp.VTable, @ptrCast(self.vtable)).put_WholeSeconds(@as(*const IADsTimestamp, @ptrCast(self)), lnWholeSeconds);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTimestamp_get_EventID(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTimestamp.VTable, @ptrCast(self.vtable)).get_EventID(@as(*const IADsTimestamp, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTimestamp_put_EventID(self: *const T, lnEventID: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTimestamp.VTable, @ptrCast(self.vtable)).put_EventID(@as(*const IADsTimestamp, @ptrCast(self)), lnEventID);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPostalAddress_Value = Guid.initString("7adecf29-4680-11d1-a3b4-00c04fb950dc");
|
|
pub const IID_IADsPostalAddress = &IID_IADsPostalAddress_Value;
|
|
pub const IADsPostalAddress = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PostalAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPostalAddress,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPostalAddress,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_PostalAddress: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPostalAddress,
|
|
vPostalAddress: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPostalAddress,
|
|
vPostalAddress: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPostalAddress_get_PostalAddress(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPostalAddress.VTable, @ptrCast(self.vtable)).get_PostalAddress(@as(*const IADsPostalAddress, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPostalAddress_put_PostalAddress(self: *const T, vPostalAddress: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPostalAddress.VTable, @ptrCast(self.vtable)).put_PostalAddress(@as(*const IADsPostalAddress, @ptrCast(self)), vPostalAddress);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsBackLink_Value = Guid.initString("fd1302bd-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const IID_IADsBackLink = &IID_IADsBackLink_Value;
|
|
pub const IADsBackLink = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_RemoteID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsBackLink,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsBackLink,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_RemoteID: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsBackLink,
|
|
lnRemoteID: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsBackLink,
|
|
lnRemoteID: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ObjectName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsBackLink,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsBackLink,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ObjectName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsBackLink,
|
|
bstrObjectName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsBackLink,
|
|
bstrObjectName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsBackLink_get_RemoteID(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsBackLink.VTable, @ptrCast(self.vtable)).get_RemoteID(@as(*const IADsBackLink, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsBackLink_put_RemoteID(self: *const T, lnRemoteID: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsBackLink.VTable, @ptrCast(self.vtable)).put_RemoteID(@as(*const IADsBackLink, @ptrCast(self)), lnRemoteID);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsBackLink_get_ObjectName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsBackLink.VTable, @ptrCast(self.vtable)).get_ObjectName(@as(*const IADsBackLink, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsBackLink_put_ObjectName(self: *const T, bstrObjectName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsBackLink.VTable, @ptrCast(self.vtable)).put_ObjectName(@as(*const IADsBackLink, @ptrCast(self)), bstrObjectName);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsTypedName_Value = Guid.initString("b371a349-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const IID_IADsTypedName = &IID_IADsTypedName_Value;
|
|
pub const IADsTypedName = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ObjectName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTypedName,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTypedName,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ObjectName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTypedName,
|
|
bstrObjectName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTypedName,
|
|
bstrObjectName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Level: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTypedName,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTypedName,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Level: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTypedName,
|
|
lnLevel: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTypedName,
|
|
lnLevel: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Interval: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTypedName,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTypedName,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Interval: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsTypedName,
|
|
lnInterval: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsTypedName,
|
|
lnInterval: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTypedName_get_ObjectName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTypedName.VTable, @ptrCast(self.vtable)).get_ObjectName(@as(*const IADsTypedName, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTypedName_put_ObjectName(self: *const T, bstrObjectName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTypedName.VTable, @ptrCast(self.vtable)).put_ObjectName(@as(*const IADsTypedName, @ptrCast(self)), bstrObjectName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTypedName_get_Level(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTypedName.VTable, @ptrCast(self.vtable)).get_Level(@as(*const IADsTypedName, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTypedName_put_Level(self: *const T, lnLevel: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTypedName.VTable, @ptrCast(self.vtable)).put_Level(@as(*const IADsTypedName, @ptrCast(self)), lnLevel);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTypedName_get_Interval(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTypedName.VTable, @ptrCast(self.vtable)).get_Interval(@as(*const IADsTypedName, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsTypedName_put_Interval(self: *const T, lnInterval: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsTypedName.VTable, @ptrCast(self.vtable)).put_Interval(@as(*const IADsTypedName, @ptrCast(self)), lnInterval);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsHold_Value = Guid.initString("b3eb3b37-4080-11d1-a3ac-00c04fb950dc");
|
|
pub const IID_IADsHold = &IID_IADsHold_Value;
|
|
pub const IADsHold = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ObjectName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsHold,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsHold,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_ObjectName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsHold,
|
|
bstrObjectName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsHold,
|
|
bstrObjectName: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_Amount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsHold,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsHold,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_Amount: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsHold,
|
|
lnAmount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsHold,
|
|
lnAmount: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsHold_get_ObjectName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsHold.VTable, @ptrCast(self.vtable)).get_ObjectName(@as(*const IADsHold, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsHold_put_ObjectName(self: *const T, bstrObjectName: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsHold.VTable, @ptrCast(self.vtable)).put_ObjectName(@as(*const IADsHold, @ptrCast(self)), bstrObjectName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsHold_get_Amount(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsHold.VTable, @ptrCast(self.vtable)).get_Amount(@as(*const IADsHold, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsHold_put_Amount(self: *const T, lnAmount: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsHold.VTable, @ptrCast(self.vtable)).put_Amount(@as(*const IADsHold, @ptrCast(self)), lnAmount);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsObjectOptions_Value = Guid.initString("46f14fda-232b-11d1-a808-00c04fd8d5a8");
|
|
pub const IID_IADsObjectOptions = &IID_IADsObjectOptions_Value;
|
|
pub const IADsObjectOptions = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
GetOption: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsObjectOptions,
|
|
lnOption: i32,
|
|
pvValue: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsObjectOptions,
|
|
lnOption: i32,
|
|
pvValue: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetOption: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsObjectOptions,
|
|
lnOption: i32,
|
|
vValue: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsObjectOptions,
|
|
lnOption: i32,
|
|
vValue: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsObjectOptions_GetOption(self: *const T, lnOption: i32, pvValue: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsObjectOptions.VTable, @ptrCast(self.vtable)).GetOption(@as(*const IADsObjectOptions, @ptrCast(self)), lnOption, pvValue);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsObjectOptions_SetOption(self: *const T, lnOption: i32, vValue: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsObjectOptions.VTable, @ptrCast(self.vtable)).SetOption(@as(*const IADsObjectOptions, @ptrCast(self)), lnOption, vValue);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsPathname_Value = Guid.initString("d592aed4-f420-11d0-a36e-00c04fb950dc");
|
|
pub const IID_IADsPathname = &IID_IADsPathname_Value;
|
|
pub const IADsPathname = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
Set: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
bstrADsPath: ?BSTR,
|
|
lnSetType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
bstrADsPath: ?BSTR,
|
|
lnSetType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetDisplayType: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
lnDisplayType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
lnDisplayType: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Retrieve: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
lnFormatType: i32,
|
|
pbstrADsPath: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
lnFormatType: i32,
|
|
pbstrADsPath: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetNumElements: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
plnNumPathElements: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
plnNumPathElements: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetElement: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
lnElementIndex: i32,
|
|
pbstrElement: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
lnElementIndex: i32,
|
|
pbstrElement: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
AddLeafElement: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
bstrLeafElement: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
bstrLeafElement: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
RemoveLeafElement: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CopyPath: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
ppAdsPath: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
ppAdsPath: ?*?*IDispatch,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetEscapedElement: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
lnReserved: i32,
|
|
bstrInStr: ?BSTR,
|
|
pbstrOutStr: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
lnReserved: i32,
|
|
bstrInStr: ?BSTR,
|
|
pbstrOutStr: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_EscapedMode: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_EscapedMode: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsPathname,
|
|
lnEscapedMode: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsPathname,
|
|
lnEscapedMode: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_Set(self: *const T, bstrADsPath: ?BSTR, lnSetType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).Set(@as(*const IADsPathname, @ptrCast(self)), bstrADsPath, lnSetType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_SetDisplayType(self: *const T, lnDisplayType: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).SetDisplayType(@as(*const IADsPathname, @ptrCast(self)), lnDisplayType);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_Retrieve(self: *const T, lnFormatType: i32, pbstrADsPath: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).Retrieve(@as(*const IADsPathname, @ptrCast(self)), lnFormatType, pbstrADsPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_GetNumElements(self: *const T, plnNumPathElements: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).GetNumElements(@as(*const IADsPathname, @ptrCast(self)), plnNumPathElements);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_GetElement(self: *const T, lnElementIndex: i32, pbstrElement: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).GetElement(@as(*const IADsPathname, @ptrCast(self)), lnElementIndex, pbstrElement);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_AddLeafElement(self: *const T, bstrLeafElement: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).AddLeafElement(@as(*const IADsPathname, @ptrCast(self)), bstrLeafElement);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_RemoveLeafElement(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).RemoveLeafElement(@as(*const IADsPathname, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_CopyPath(self: *const T, ppAdsPath: ?*?*IDispatch) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).CopyPath(@as(*const IADsPathname, @ptrCast(self)), ppAdsPath);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_GetEscapedElement(self: *const T, lnReserved: i32, bstrInStr: ?BSTR, pbstrOutStr: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).GetEscapedElement(@as(*const IADsPathname, @ptrCast(self)), lnReserved, bstrInStr, pbstrOutStr);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_get_EscapedMode(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).get_EscapedMode(@as(*const IADsPathname, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsPathname_put_EscapedMode(self: *const T, lnEscapedMode: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsPathname.VTable, @ptrCast(self.vtable)).put_EscapedMode(@as(*const IADsPathname, @ptrCast(self)), lnEscapedMode);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsADSystemInfo_Value = Guid.initString("5bb11929-afd1-11d2-9cb9-0000f87a369e");
|
|
pub const IID_IADsADSystemInfo = &IID_IADsADSystemInfo_Value;
|
|
pub const IADsADSystemInfo = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_UserName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ComputerName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SiteName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DomainShortName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DomainDNSName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ForestDNSName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PDCRoleOwner: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SchemaRoleOwner: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_IsNativeMode: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
retval: ?*i16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetAnyDCName: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
pszDCName: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
pszDCName: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetDCSiteName: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
szServer: ?BSTR,
|
|
pszSiteName: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
szServer: ?BSTR,
|
|
pszSiteName: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
RefreshSchemaCache: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetTrees: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsADSystemInfo,
|
|
pvTrees: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsADSystemInfo,
|
|
pvTrees: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_UserName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_UserName(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_ComputerName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_ComputerName(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_SiteName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_SiteName(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_DomainShortName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_DomainShortName(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_DomainDNSName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_DomainDNSName(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_ForestDNSName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_ForestDNSName(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_PDCRoleOwner(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_PDCRoleOwner(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_SchemaRoleOwner(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_SchemaRoleOwner(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_get_IsNativeMode(self: *const T, retval: ?*i16) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).get_IsNativeMode(@as(*const IADsADSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_GetAnyDCName(self: *const T, pszDCName: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).GetAnyDCName(@as(*const IADsADSystemInfo, @ptrCast(self)), pszDCName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_GetDCSiteName(self: *const T, szServer: ?BSTR, pszSiteName: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).GetDCSiteName(@as(*const IADsADSystemInfo, @ptrCast(self)), szServer, pszSiteName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_RefreshSchemaCache(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).RefreshSchemaCache(@as(*const IADsADSystemInfo, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsADSystemInfo_GetTrees(self: *const T, pvTrees: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsADSystemInfo.VTable, @ptrCast(self.vtable)).GetTrees(@as(*const IADsADSystemInfo, @ptrCast(self)), pvTrees);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsWinNTSystemInfo_Value = Guid.initString("6c6d65dc-afd1-11d2-9cb9-0000f87a369e");
|
|
pub const IID_IADsWinNTSystemInfo = &IID_IADsWinNTSystemInfo_Value;
|
|
pub const IADsWinNTSystemInfo = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_UserName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsWinNTSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsWinNTSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_ComputerName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsWinNTSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsWinNTSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DomainName: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsWinNTSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsWinNTSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_PDC: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsWinNTSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsWinNTSystemInfo,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsWinNTSystemInfo_get_UserName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsWinNTSystemInfo.VTable, @ptrCast(self.vtable)).get_UserName(@as(*const IADsWinNTSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsWinNTSystemInfo_get_ComputerName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsWinNTSystemInfo.VTable, @ptrCast(self.vtable)).get_ComputerName(@as(*const IADsWinNTSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsWinNTSystemInfo_get_DomainName(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsWinNTSystemInfo.VTable, @ptrCast(self.vtable)).get_DomainName(@as(*const IADsWinNTSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsWinNTSystemInfo_get_PDC(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsWinNTSystemInfo.VTable, @ptrCast(self.vtable)).get_PDC(@as(*const IADsWinNTSystemInfo, @ptrCast(self)), retval);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsDNWithBinary_Value = Guid.initString("7e99c0a2-f935-11d2-ba96-00c04fb6d0d1");
|
|
pub const IID_IADsDNWithBinary = &IID_IADsDNWithBinary_Value;
|
|
pub const IADsDNWithBinary = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_BinaryValue: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDNWithBinary,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDNWithBinary,
|
|
retval: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_BinaryValue: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDNWithBinary,
|
|
vBinaryValue: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDNWithBinary,
|
|
vBinaryValue: VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DNString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDNWithBinary,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDNWithBinary,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DNString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDNWithBinary,
|
|
bstrDNString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDNWithBinary,
|
|
bstrDNString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDNWithBinary_get_BinaryValue(self: *const T, retval: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDNWithBinary.VTable, @ptrCast(self.vtable)).get_BinaryValue(@as(*const IADsDNWithBinary, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDNWithBinary_put_BinaryValue(self: *const T, vBinaryValue: VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDNWithBinary.VTable, @ptrCast(self.vtable)).put_BinaryValue(@as(*const IADsDNWithBinary, @ptrCast(self)), vBinaryValue);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDNWithBinary_get_DNString(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDNWithBinary.VTable, @ptrCast(self.vtable)).get_DNString(@as(*const IADsDNWithBinary, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDNWithBinary_put_DNString(self: *const T, bstrDNString: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDNWithBinary.VTable, @ptrCast(self.vtable)).put_DNString(@as(*const IADsDNWithBinary, @ptrCast(self)), bstrDNString);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsDNWithString_Value = Guid.initString("370df02e-f934-11d2-ba96-00c04fb6d0d1");
|
|
pub const IID_IADsDNWithString = &IID_IADsDNWithString_Value;
|
|
pub const IADsDNWithString = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_StringValue: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDNWithString,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDNWithString,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_StringValue: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDNWithString,
|
|
bstrStringValue: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDNWithString,
|
|
bstrStringValue: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_DNString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDNWithString,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDNWithString,
|
|
retval: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_DNString: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsDNWithString,
|
|
bstrDNString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsDNWithString,
|
|
bstrDNString: ?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDNWithString_get_StringValue(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDNWithString.VTable, @ptrCast(self.vtable)).get_StringValue(@as(*const IADsDNWithString, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDNWithString_put_StringValue(self: *const T, bstrStringValue: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDNWithString.VTable, @ptrCast(self.vtable)).put_StringValue(@as(*const IADsDNWithString, @ptrCast(self)), bstrStringValue);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDNWithString_get_DNString(self: *const T, retval: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDNWithString.VTable, @ptrCast(self.vtable)).get_DNString(@as(*const IADsDNWithString, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsDNWithString_put_DNString(self: *const T, bstrDNString: ?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsDNWithString.VTable, @ptrCast(self.vtable)).put_DNString(@as(*const IADsDNWithString, @ptrCast(self)), bstrDNString);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IADsSecurityUtility_Value = Guid.initString("a63251b2-5f21-474b-ab52-4a8efad10895");
|
|
pub const IID_IADsSecurityUtility = &IID_IADsSecurityUtility_Value;
|
|
pub const IADsSecurityUtility = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDispatch.VTable,
|
|
GetSecurityDescriptor: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityUtility,
|
|
varPath: VARIANT,
|
|
lPathFormat: i32,
|
|
lFormat: i32,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsSecurityUtility,
|
|
varPath: VARIANT,
|
|
lPathFormat: i32,
|
|
lFormat: i32,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetSecurityDescriptor: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityUtility,
|
|
varPath: VARIANT,
|
|
lPathFormat: i32,
|
|
varData: VARIANT,
|
|
lDataFormat: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsSecurityUtility,
|
|
varPath: VARIANT,
|
|
lPathFormat: i32,
|
|
varData: VARIANT,
|
|
lDataFormat: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
ConvertSecurityDescriptor: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityUtility,
|
|
varSD: VARIANT,
|
|
lDataFormat: i32,
|
|
lOutFormat: i32,
|
|
pResult: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IADsSecurityUtility,
|
|
varSD: VARIANT,
|
|
lDataFormat: i32,
|
|
lOutFormat: i32,
|
|
pResult: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
get_SecurityMask: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityUtility,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityUtility,
|
|
retval: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
put_SecurityMask: switch (@import("builtin").zig_backend) {
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
.stage1 => fn(
|
|
self: *const IADsSecurityUtility,
|
|
lnSecurityMask: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
// TODO: this function has a "SpecialName", should Zig do anything with this?
|
|
else => *const fn(
|
|
self: *const IADsSecurityUtility,
|
|
lnSecurityMask: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDispatch.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityUtility_GetSecurityDescriptor(self: *const T, varPath: VARIANT, lPathFormat: i32, lFormat: i32, pVariant: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityUtility.VTable, @ptrCast(self.vtable)).GetSecurityDescriptor(@as(*const IADsSecurityUtility, @ptrCast(self)), varPath, lPathFormat, lFormat, pVariant);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityUtility_SetSecurityDescriptor(self: *const T, varPath: VARIANT, lPathFormat: i32, varData: VARIANT, lDataFormat: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityUtility.VTable, @ptrCast(self.vtable)).SetSecurityDescriptor(@as(*const IADsSecurityUtility, @ptrCast(self)), varPath, lPathFormat, varData, lDataFormat);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityUtility_ConvertSecurityDescriptor(self: *const T, varSD: VARIANT, lDataFormat: i32, lOutFormat: i32, pResult: ?*VARIANT) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityUtility.VTable, @ptrCast(self.vtable)).ConvertSecurityDescriptor(@as(*const IADsSecurityUtility, @ptrCast(self)), varSD, lDataFormat, lOutFormat, pResult);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityUtility_get_SecurityMask(self: *const T, retval: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityUtility.VTable, @ptrCast(self.vtable)).get_SecurityMask(@as(*const IADsSecurityUtility, @ptrCast(self)), retval);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IADsSecurityUtility_put_SecurityMask(self: *const T, lnSecurityMask: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IADsSecurityUtility.VTable, @ptrCast(self.vtable)).put_SecurityMask(@as(*const IADsSecurityUtility, @ptrCast(self)), lnSecurityMask);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
pub const DSOBJECT = extern struct {
|
|
dwFlags: u32,
|
|
dwProviderFlags: u32,
|
|
offsetName: u32,
|
|
offsetClass: u32,
|
|
};
|
|
|
|
pub const DSOBJECTNAMES = extern struct {
|
|
clsidNamespace: Guid,
|
|
cItems: u32,
|
|
aObjects: [1]DSOBJECT,
|
|
};
|
|
|
|
pub const DSDISPLAYSPECOPTIONS = extern struct {
|
|
dwSize: u32,
|
|
dwFlags: u32,
|
|
offsetAttribPrefix: u32,
|
|
offsetUserName: u32,
|
|
offsetPassword: u32,
|
|
offsetServer: u32,
|
|
offsetServerConfigPath: u32,
|
|
};
|
|
|
|
pub const DSPROPERTYPAGEINFO = extern struct {
|
|
offsetString: u32,
|
|
};
|
|
|
|
pub const DOMAINDESC = extern struct {
|
|
pszName: ?PWSTR,
|
|
pszPath: ?PWSTR,
|
|
pszNCName: ?PWSTR,
|
|
pszTrustParent: ?PWSTR,
|
|
pszObjectClass: ?PWSTR,
|
|
ulFlags: u32,
|
|
fDownLevel: BOOL,
|
|
pdChildList: ?*DOMAINDESC,
|
|
pdNextSibling: ?*DOMAINDESC,
|
|
};
|
|
|
|
pub const DOMAIN_TREE = extern struct {
|
|
dsSize: u32,
|
|
dwCount: u32,
|
|
aDomains: [1]DOMAINDESC,
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDsBrowseDomainTree_Value = Guid.initString("7cabcf1e-78f5-11d2-960c-00c04fa31a86");
|
|
pub const IID_IDsBrowseDomainTree = &IID_IDsBrowseDomainTree_Value;
|
|
pub const IDsBrowseDomainTree = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
BrowseTo: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
hwndParent: ?HWND,
|
|
ppszTargetPath: ?*?PWSTR,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
hwndParent: ?HWND,
|
|
ppszTargetPath: ?*?PWSTR,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetDomains: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
ppDomainTree: ?*?*DOMAIN_TREE,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
ppDomainTree: ?*?*DOMAIN_TREE,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
FreeDomains: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
ppDomainTree: ?*?*DOMAIN_TREE,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
ppDomainTree: ?*?*DOMAIN_TREE,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
FlushCachedDomains: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetComputer: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
pszComputerName: ?[*:0]const u16,
|
|
pszUserName: ?[*:0]const u16,
|
|
pszPassword: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsBrowseDomainTree,
|
|
pszComputerName: ?[*:0]const u16,
|
|
pszUserName: ?[*:0]const u16,
|
|
pszPassword: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsBrowseDomainTree_BrowseTo(self: *const T, hwndParent: ?HWND, ppszTargetPath: ?*?PWSTR, dwFlags: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsBrowseDomainTree.VTable, @ptrCast(self.vtable)).BrowseTo(@as(*const IDsBrowseDomainTree, @ptrCast(self)), hwndParent, ppszTargetPath, dwFlags);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsBrowseDomainTree_GetDomains(self: *const T, ppDomainTree: ?*?*DOMAIN_TREE, dwFlags: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsBrowseDomainTree.VTable, @ptrCast(self.vtable)).GetDomains(@as(*const IDsBrowseDomainTree, @ptrCast(self)), ppDomainTree, dwFlags);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsBrowseDomainTree_FreeDomains(self: *const T, ppDomainTree: ?*?*DOMAIN_TREE) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsBrowseDomainTree.VTable, @ptrCast(self.vtable)).FreeDomains(@as(*const IDsBrowseDomainTree, @ptrCast(self)), ppDomainTree);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsBrowseDomainTree_FlushCachedDomains(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsBrowseDomainTree.VTable, @ptrCast(self.vtable)).FlushCachedDomains(@as(*const IDsBrowseDomainTree, @ptrCast(self)));
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsBrowseDomainTree_SetComputer(self: *const T, pszComputerName: ?[*:0]const u16, pszUserName: ?[*:0]const u16, pszPassword: ?[*:0]const u16) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsBrowseDomainTree.VTable, @ptrCast(self.vtable)).SetComputer(@as(*const IDsBrowseDomainTree, @ptrCast(self)), pszComputerName, pszUserName, pszPassword);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
pub const LPDSENUMATTRIBUTES = switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
lParam: LPARAM,
|
|
pszAttributeName: ?[*:0]const u16,
|
|
pszDisplayName: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
lParam: LPARAM,
|
|
pszAttributeName: ?[*:0]const u16,
|
|
pszDisplayName: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
} ;
|
|
|
|
pub const DSCLASSCREATIONINFO = extern struct {
|
|
dwFlags: u32,
|
|
clsidWizardDialog: Guid,
|
|
clsidWizardPrimaryPage: Guid,
|
|
cWizardExtensions: u32,
|
|
aWizardExtensions: [1]Guid,
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDsDisplaySpecifier_Value = Guid.initString("1ab4a8c0-6a0b-11d2-ad49-00c04fa31a86");
|
|
pub const IID_IDsDisplaySpecifier = &IID_IDsDisplaySpecifier_Value;
|
|
pub const IDsDisplaySpecifier = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
SetServer: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszServer: ?[*:0]const u16,
|
|
pszUserName: ?[*:0]const u16,
|
|
pszPassword: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszServer: ?[*:0]const u16,
|
|
pszUserName: ?[*:0]const u16,
|
|
pszPassword: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetLanguageID: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
langid: u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
langid: u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetDisplaySpecifier: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
riid: ?*const Guid,
|
|
ppv: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
riid: ?*const Guid,
|
|
ppv: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetIconLocation: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
pszBuffer: [*:0]u16,
|
|
cchBuffer: i32,
|
|
presid: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
pszBuffer: [*:0]u16,
|
|
cchBuffer: i32,
|
|
presid: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetIcon: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
cxIcon: i32,
|
|
cyIcon: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) ?HICON,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
cxIcon: i32,
|
|
cyIcon: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) ?HICON,
|
|
},
|
|
GetFriendlyClassName: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pszBuffer: [*:0]u16,
|
|
cchBuffer: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pszBuffer: [*:0]u16,
|
|
cchBuffer: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetFriendlyAttributeName: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pszAttributeName: ?[*:0]const u16,
|
|
pszBuffer: [*:0]u16,
|
|
cchBuffer: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pszAttributeName: ?[*:0]const u16,
|
|
pszBuffer: [*:0]u16,
|
|
cchBuffer: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
IsClassContainer: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pszADsPath: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pszADsPath: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL,
|
|
},
|
|
GetClassCreationInfo: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
ppdscci: ?*?*DSCLASSCREATIONINFO,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
ppdscci: ?*?*DSCLASSCREATIONINFO,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
EnumClassAttributes: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pcbEnum: ?LPDSENUMATTRIBUTES,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pcbEnum: ?LPDSENUMATTRIBUTES,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetAttributeADsType: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszAttributeName: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) ADSTYPEENUM,
|
|
else => *const fn(
|
|
self: *const IDsDisplaySpecifier,
|
|
pszAttributeName: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) ADSTYPEENUM,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_SetServer(self: *const T, pszServer: ?[*:0]const u16, pszUserName: ?[*:0]const u16, pszPassword: ?[*:0]const u16, dwFlags: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).SetServer(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszServer, pszUserName, pszPassword, dwFlags);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_SetLanguageID(self: *const T, langid: u16) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).SetLanguageID(@as(*const IDsDisplaySpecifier, @ptrCast(self)), langid);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_GetDisplaySpecifier(self: *const T, pszObjectClass: ?[*:0]const u16, riid: ?*const Guid, ppv: ?*?*anyopaque) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).GetDisplaySpecifier(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszObjectClass, riid, ppv);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_GetIconLocation(self: *const T, pszObjectClass: ?[*:0]const u16, dwFlags: u32, pszBuffer: [*:0]u16, cchBuffer: i32, presid: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).GetIconLocation(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszObjectClass, dwFlags, pszBuffer, cchBuffer, presid);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_GetIcon(self: *const T, pszObjectClass: ?[*:0]const u16, dwFlags: u32, cxIcon: i32, cyIcon: i32) callconv(.Inline) ?HICON {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).GetIcon(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszObjectClass, dwFlags, cxIcon, cyIcon);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_GetFriendlyClassName(self: *const T, pszObjectClass: ?[*:0]const u16, pszBuffer: [*:0]u16, cchBuffer: i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).GetFriendlyClassName(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszObjectClass, pszBuffer, cchBuffer);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_GetFriendlyAttributeName(self: *const T, pszObjectClass: ?[*:0]const u16, pszAttributeName: ?[*:0]const u16, pszBuffer: [*:0]u16, cchBuffer: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).GetFriendlyAttributeName(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszObjectClass, pszAttributeName, pszBuffer, cchBuffer);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_IsClassContainer(self: *const T, pszObjectClass: ?[*:0]const u16, pszADsPath: ?[*:0]const u16, dwFlags: u32) callconv(.Inline) BOOL {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).IsClassContainer(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszObjectClass, pszADsPath, dwFlags);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_GetClassCreationInfo(self: *const T, pszObjectClass: ?[*:0]const u16, ppdscci: ?*?*DSCLASSCREATIONINFO) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).GetClassCreationInfo(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszObjectClass, ppdscci);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_EnumClassAttributes(self: *const T, pszObjectClass: ?[*:0]const u16, pcbEnum: ?LPDSENUMATTRIBUTES, lParam: LPARAM) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).EnumClassAttributes(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszObjectClass, pcbEnum, lParam);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsDisplaySpecifier_GetAttributeADsType(self: *const T, pszAttributeName: ?[*:0]const u16) callconv(.Inline) ADSTYPEENUM {
|
|
return @as(*const IDsDisplaySpecifier.VTable, @ptrCast(self.vtable)).GetAttributeADsType(@as(*const IDsDisplaySpecifier, @ptrCast(self)), pszAttributeName);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
pub const DSBROWSEINFOW = extern struct {
|
|
cbStruct: u32,
|
|
hwndOwner: ?HWND,
|
|
pszCaption: ?[*:0]const u16,
|
|
pszTitle: ?[*:0]const u16,
|
|
pszRoot: ?[*:0]const u16,
|
|
pszPath: ?PWSTR,
|
|
cchPath: u32,
|
|
dwFlags: u32,
|
|
pfnCallback: ?BFFCALLBACK,
|
|
lParam: LPARAM,
|
|
dwReturnFormat: u32,
|
|
pUserName: ?[*:0]const u16,
|
|
pPassword: ?[*:0]const u16,
|
|
pszObjectClass: ?PWSTR,
|
|
cchObjectClass: u32,
|
|
};
|
|
|
|
pub const DSBROWSEINFOA = extern struct {
|
|
cbStruct: u32,
|
|
hwndOwner: ?HWND,
|
|
pszCaption: ?[*:0]const u8,
|
|
pszTitle: ?[*:0]const u8,
|
|
pszRoot: ?[*:0]const u16,
|
|
pszPath: ?PWSTR,
|
|
cchPath: u32,
|
|
dwFlags: u32,
|
|
pfnCallback: ?BFFCALLBACK,
|
|
lParam: LPARAM,
|
|
dwReturnFormat: u32,
|
|
pUserName: ?[*:0]const u16,
|
|
pPassword: ?[*:0]const u16,
|
|
pszObjectClass: ?PWSTR,
|
|
cchObjectClass: u32,
|
|
};
|
|
|
|
pub const DSBITEMW = extern struct {
|
|
cbStruct: u32,
|
|
pszADsPath: ?[*:0]const u16,
|
|
pszClass: ?[*:0]const u16,
|
|
dwMask: u32,
|
|
dwState: u32,
|
|
dwStateMask: u32,
|
|
szDisplayName: [64]u16,
|
|
szIconLocation: [260]u16,
|
|
iIconResID: i32,
|
|
};
|
|
|
|
pub const DSBITEMA = extern struct {
|
|
cbStruct: u32,
|
|
pszADsPath: ?[*:0]const u16,
|
|
pszClass: ?[*:0]const u16,
|
|
dwMask: u32,
|
|
dwState: u32,
|
|
dwStateMask: u32,
|
|
szDisplayName: [64]CHAR,
|
|
szIconLocation: [260]CHAR,
|
|
iIconResID: i32,
|
|
};
|
|
|
|
pub const DSOP_UPLEVEL_FILTER_FLAGS = extern struct {
|
|
flBothModes: u32,
|
|
flMixedModeOnly: u32,
|
|
flNativeModeOnly: u32,
|
|
};
|
|
|
|
pub const DSOP_FILTER_FLAGS = extern struct {
|
|
Uplevel: DSOP_UPLEVEL_FILTER_FLAGS,
|
|
flDownlevel: u32,
|
|
};
|
|
|
|
pub const DSOP_SCOPE_INIT_INFO = extern struct {
|
|
cbSize: u32,
|
|
flType: u32,
|
|
flScope: u32,
|
|
FilterFlags: DSOP_FILTER_FLAGS,
|
|
pwzDcName: ?[*:0]const u16,
|
|
pwzADsPath: ?[*:0]const u16,
|
|
hr: HRESULT,
|
|
};
|
|
|
|
pub const DSOP_INIT_INFO = extern struct {
|
|
cbSize: u32,
|
|
pwzTargetComputer: ?[*:0]const u16,
|
|
cDsScopeInfos: u32,
|
|
aDsScopeInfos: ?*DSOP_SCOPE_INIT_INFO,
|
|
flOptions: u32,
|
|
cAttributesToFetch: u32,
|
|
apwzAttributeNames: ?*?PWSTR,
|
|
};
|
|
|
|
pub const DS_SELECTION = extern struct {
|
|
pwzName: ?PWSTR,
|
|
pwzADsPath: ?PWSTR,
|
|
pwzClass: ?PWSTR,
|
|
pwzUPN: ?PWSTR,
|
|
pvarFetchedAttributes: ?*VARIANT,
|
|
flScopeType: u32,
|
|
};
|
|
|
|
pub const DS_SELECTION_LIST = extern struct {
|
|
cItems: u32,
|
|
cFetchedAttributes: u32,
|
|
aDsSelection: [1]DS_SELECTION,
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDsObjectPicker_Value = Guid.initString("0c87e64e-3b7a-11d2-b9e0-00c04fd8dbf7");
|
|
pub const IID_IDsObjectPicker = &IID_IDsObjectPicker_Value;
|
|
pub const IDsObjectPicker = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
Initialize: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsObjectPicker,
|
|
pInitInfo: ?*DSOP_INIT_INFO,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsObjectPicker,
|
|
pInitInfo: ?*DSOP_INIT_INFO,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
InvokeDialog: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsObjectPicker,
|
|
hwndParent: ?HWND,
|
|
ppdoSelections: ?*?*IDataObject,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsObjectPicker,
|
|
hwndParent: ?HWND,
|
|
ppdoSelections: ?*?*IDataObject,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsObjectPicker_Initialize(self: *const T, pInitInfo: ?*DSOP_INIT_INFO) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsObjectPicker.VTable, @ptrCast(self.vtable)).Initialize(@as(*const IDsObjectPicker, @ptrCast(self)), pInitInfo);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsObjectPicker_InvokeDialog(self: *const T, hwndParent: ?HWND, ppdoSelections: ?*?*IDataObject) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsObjectPicker.VTable, @ptrCast(self.vtable)).InvokeDialog(@as(*const IDsObjectPicker, @ptrCast(self)), hwndParent, ppdoSelections);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windowsServer2008'
|
|
const IID_IDsObjectPickerCredentials_Value = Guid.initString("e2d3ec9b-d041-445a-8f16-4748de8fb1cf");
|
|
pub const IID_IDsObjectPickerCredentials = &IID_IDsObjectPickerCredentials_Value;
|
|
pub const IDsObjectPickerCredentials = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IDsObjectPicker.VTable,
|
|
SetCredentials: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsObjectPickerCredentials,
|
|
szUserName: ?[*:0]const u16,
|
|
szPassword: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsObjectPickerCredentials,
|
|
szUserName: ?[*:0]const u16,
|
|
szPassword: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IDsObjectPicker.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsObjectPickerCredentials_SetCredentials(self: *const T, szUserName: ?[*:0]const u16, szPassword: ?[*:0]const u16) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsObjectPickerCredentials.VTable, @ptrCast(self.vtable)).SetCredentials(@as(*const IDsObjectPickerCredentials, @ptrCast(self)), szUserName, szPassword);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
pub const DSQUERYINITPARAMS = extern struct {
|
|
cbStruct: u32,
|
|
dwFlags: u32,
|
|
pDefaultScope: ?PWSTR,
|
|
pDefaultSaveLocation: ?PWSTR,
|
|
pUserName: ?PWSTR,
|
|
pPassword: ?PWSTR,
|
|
pServer: ?PWSTR,
|
|
};
|
|
|
|
pub const DSCOLUMN = extern struct {
|
|
dwFlags: u32,
|
|
fmt: i32,
|
|
cx: i32,
|
|
idsName: i32,
|
|
offsetProperty: i32,
|
|
dwReserved: u32,
|
|
};
|
|
|
|
pub const DSQUERYPARAMS = extern struct {
|
|
cbStruct: u32,
|
|
dwFlags: u32,
|
|
hInstance: ?HINSTANCE,
|
|
offsetQuery: i32,
|
|
iColumns: i32,
|
|
dwReserved: u32,
|
|
aColumns: [1]DSCOLUMN,
|
|
};
|
|
|
|
pub const DSQUERYCLASSLIST = extern struct {
|
|
cbStruct: u32,
|
|
cClasses: i32,
|
|
offsetClass: [1]u32,
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDsAdminCreateObj_Value = Guid.initString("53554a38-f902-11d2-82b9-00c04f68928b");
|
|
pub const IID_IDsAdminCreateObj = &IID_IDsAdminCreateObj_Value;
|
|
pub const IDsAdminCreateObj = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
Initialize: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminCreateObj,
|
|
pADsContainerObj: ?*IADsContainer,
|
|
pADsCopySource: ?*IADs,
|
|
lpszClassName: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminCreateObj,
|
|
pADsContainerObj: ?*IADsContainer,
|
|
pADsCopySource: ?*IADs,
|
|
lpszClassName: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
CreateModal: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminCreateObj,
|
|
hwndParent: ?HWND,
|
|
ppADsObj: ?*?*IADs,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminCreateObj,
|
|
hwndParent: ?HWND,
|
|
ppADsObj: ?*?*IADs,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminCreateObj_Initialize(self: *const T, pADsContainerObj: ?*IADsContainer, pADsCopySource: ?*IADs, lpszClassName: ?[*:0]const u16) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminCreateObj.VTable, @ptrCast(self.vtable)).Initialize(@as(*const IDsAdminCreateObj, @ptrCast(self)), pADsContainerObj, pADsCopySource, lpszClassName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminCreateObj_CreateModal(self: *const T, hwndParent: ?HWND, ppADsObj: ?*?*IADs) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminCreateObj.VTable, @ptrCast(self.vtable)).CreateModal(@as(*const IDsAdminCreateObj, @ptrCast(self)), hwndParent, ppADsObj);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDsAdminNewObj_Value = Guid.initString("f2573587-e6fc-11d2-82af-00c04f68928b");
|
|
pub const IID_IDsAdminNewObj = &IID_IDsAdminNewObj_Value;
|
|
pub const IDsAdminNewObj = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
SetButtons: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObj,
|
|
nCurrIndex: u32,
|
|
bValid: BOOL,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObj,
|
|
nCurrIndex: u32,
|
|
bValid: BOOL,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetPageCounts: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObj,
|
|
pnTotal: ?*i32,
|
|
pnStartIndex: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObj,
|
|
pnTotal: ?*i32,
|
|
pnStartIndex: ?*i32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObj_SetButtons(self: *const T, nCurrIndex: u32, bValid: BOOL) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObj.VTable, @ptrCast(self.vtable)).SetButtons(@as(*const IDsAdminNewObj, @ptrCast(self)), nCurrIndex, bValid);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObj_GetPageCounts(self: *const T, pnTotal: ?*i32, pnStartIndex: ?*i32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObj.VTable, @ptrCast(self.vtable)).GetPageCounts(@as(*const IDsAdminNewObj, @ptrCast(self)), pnTotal, pnStartIndex);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDsAdminNewObjPrimarySite_Value = Guid.initString("be2b487e-f904-11d2-82b9-00c04f68928b");
|
|
pub const IID_IDsAdminNewObjPrimarySite = &IID_IDsAdminNewObjPrimarySite_Value;
|
|
pub const IDsAdminNewObjPrimarySite = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
CreateNew: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObjPrimarySite,
|
|
pszName: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObjPrimarySite,
|
|
pszName: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Commit: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObjPrimarySite,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObjPrimarySite,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObjPrimarySite_CreateNew(self: *const T, pszName: ?[*:0]const u16) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObjPrimarySite.VTable, @ptrCast(self.vtable)).CreateNew(@as(*const IDsAdminNewObjPrimarySite, @ptrCast(self)), pszName);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObjPrimarySite_Commit(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObjPrimarySite.VTable, @ptrCast(self.vtable)).Commit(@as(*const IDsAdminNewObjPrimarySite, @ptrCast(self)));
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
pub const DSA_NEWOBJ_DISPINFO = extern struct {
|
|
dwSize: u32,
|
|
hObjClassIcon: ?HICON,
|
|
lpszWizTitle: ?PWSTR,
|
|
lpszContDisplayName: ?PWSTR,
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDsAdminNewObjExt_Value = Guid.initString("6088eae2-e7bf-11d2-82af-00c04f68928b");
|
|
pub const IID_IDsAdminNewObjExt = &IID_IDsAdminNewObjExt_Value;
|
|
pub const IDsAdminNewObjExt = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
Initialize: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
pADsContainerObj: ?*IADsContainer,
|
|
pADsCopySource: ?*IADs,
|
|
lpszClassName: ?[*:0]const u16,
|
|
pDsAdminNewObj: ?*IDsAdminNewObj,
|
|
pDispInfo: ?*DSA_NEWOBJ_DISPINFO,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
pADsContainerObj: ?*IADsContainer,
|
|
pADsCopySource: ?*IADs,
|
|
lpszClassName: ?[*:0]const u16,
|
|
pDsAdminNewObj: ?*IDsAdminNewObj,
|
|
pDispInfo: ?*DSA_NEWOBJ_DISPINFO,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
AddPages: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
lpfnAddPage: ?LPFNSVADDPROPSHEETPAGE,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
lpfnAddPage: ?LPFNSVADDPROPSHEETPAGE,
|
|
lParam: LPARAM,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
SetObject: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
pADsObj: ?*IADs,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
pADsObj: ?*IADs,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
WriteData: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
hWnd: ?HWND,
|
|
uContext: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
hWnd: ?HWND,
|
|
uContext: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
OnError: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
hWnd: ?HWND,
|
|
hr: HRESULT,
|
|
uContext: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
hWnd: ?HWND,
|
|
hr: HRESULT,
|
|
uContext: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
GetSummaryInfo: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
pBstrText: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNewObjExt,
|
|
pBstrText: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObjExt_Initialize(self: *const T, pADsContainerObj: ?*IADsContainer, pADsCopySource: ?*IADs, lpszClassName: ?[*:0]const u16, pDsAdminNewObj: ?*IDsAdminNewObj, pDispInfo: ?*DSA_NEWOBJ_DISPINFO) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObjExt.VTable, @ptrCast(self.vtable)).Initialize(@as(*const IDsAdminNewObjExt, @ptrCast(self)), pADsContainerObj, pADsCopySource, lpszClassName, pDsAdminNewObj, pDispInfo);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObjExt_AddPages(self: *const T, lpfnAddPage: ?LPFNSVADDPROPSHEETPAGE, lParam: LPARAM) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObjExt.VTable, @ptrCast(self.vtable)).AddPages(@as(*const IDsAdminNewObjExt, @ptrCast(self)), lpfnAddPage, lParam);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObjExt_SetObject(self: *const T, pADsObj: ?*IADs) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObjExt.VTable, @ptrCast(self.vtable)).SetObject(@as(*const IDsAdminNewObjExt, @ptrCast(self)), pADsObj);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObjExt_WriteData(self: *const T, hWnd: ?HWND, uContext: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObjExt.VTable, @ptrCast(self.vtable)).WriteData(@as(*const IDsAdminNewObjExt, @ptrCast(self)), hWnd, uContext);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObjExt_OnError(self: *const T, hWnd: ?HWND, hr: HRESULT, uContext: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObjExt.VTable, @ptrCast(self.vtable)).OnError(@as(*const IDsAdminNewObjExt, @ptrCast(self)), hWnd, hr, uContext);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNewObjExt_GetSummaryInfo(self: *const T, pBstrText: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNewObjExt.VTable, @ptrCast(self.vtable)).GetSummaryInfo(@as(*const IDsAdminNewObjExt, @ptrCast(self)), pBstrText);
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
const IID_IDsAdminNotifyHandler_Value = Guid.initString("e4a2b8b3-5a18-11d2-97c1-00a0c9a06d2d");
|
|
pub const IID_IDsAdminNotifyHandler = &IID_IDsAdminNotifyHandler_Value;
|
|
pub const IDsAdminNotifyHandler = extern struct {
|
|
pub const VTable = extern struct {
|
|
base: IUnknown.VTable,
|
|
Initialize: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNotifyHandler,
|
|
pExtraInfo: ?*IDataObject,
|
|
puEventFlags: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNotifyHandler,
|
|
pExtraInfo: ?*IDataObject,
|
|
puEventFlags: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Begin: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNotifyHandler,
|
|
uEvent: u32,
|
|
pArg1: ?*IDataObject,
|
|
pArg2: ?*IDataObject,
|
|
puFlags: ?*u32,
|
|
pBstr: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNotifyHandler,
|
|
uEvent: u32,
|
|
pArg1: ?*IDataObject,
|
|
pArg2: ?*IDataObject,
|
|
puFlags: ?*u32,
|
|
pBstr: ?*?BSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
Notify: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNotifyHandler,
|
|
nItem: u32,
|
|
uFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNotifyHandler,
|
|
nItem: u32,
|
|
uFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
End: switch (@import("builtin").zig_backend) {
|
|
.stage1 => fn(
|
|
self: *const IDsAdminNotifyHandler,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
else => *const fn(
|
|
self: *const IDsAdminNotifyHandler,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT,
|
|
},
|
|
};
|
|
vtable: *const VTable,
|
|
pub fn MethodMixin(comptime T: type) type { return struct {
|
|
pub usingnamespace IUnknown.MethodMixin(T);
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNotifyHandler_Initialize(self: *const T, pExtraInfo: ?*IDataObject, puEventFlags: ?*u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNotifyHandler.VTable, @ptrCast(self.vtable)).Initialize(@as(*const IDsAdminNotifyHandler, @ptrCast(self)), pExtraInfo, puEventFlags);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNotifyHandler_Begin(self: *const T, uEvent: u32, pArg1: ?*IDataObject, pArg2: ?*IDataObject, puFlags: ?*u32, pBstr: ?*?BSTR) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNotifyHandler.VTable, @ptrCast(self.vtable)).Begin(@as(*const IDsAdminNotifyHandler, @ptrCast(self)), uEvent, pArg1, pArg2, puFlags, pBstr);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNotifyHandler_Notify(self: *const T, nItem: u32, uFlags: u32) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNotifyHandler.VTable, @ptrCast(self.vtable)).Notify(@as(*const IDsAdminNotifyHandler, @ptrCast(self)), nItem, uFlags);
|
|
}
|
|
// NOTE: method is namespaced with interface name to avoid conflicts for now
|
|
pub fn IDsAdminNotifyHandler_End(self: *const T) callconv(.Inline) HRESULT {
|
|
return @as(*const IDsAdminNotifyHandler.VTable, @ptrCast(self.vtable)).End(@as(*const IDsAdminNotifyHandler, @ptrCast(self)));
|
|
}
|
|
};}
|
|
pub usingnamespace MethodMixin(@This());
|
|
};
|
|
|
|
pub const ADSPROPINITPARAMS = extern struct {
|
|
dwSize: u32,
|
|
dwFlags: u32,
|
|
hr: HRESULT,
|
|
pDsObj: ?*IDirectoryObject,
|
|
pwzCN: ?PWSTR,
|
|
pWritableAttrs: ?*ADS_ATTR_INFO,
|
|
};
|
|
|
|
pub const ADSPROPERROR = extern struct {
|
|
hwndPage: ?HWND,
|
|
pszPageTitle: ?PWSTR,
|
|
pszObjPath: ?PWSTR,
|
|
pszObjClass: ?PWSTR,
|
|
hr: HRESULT,
|
|
pszError: ?PWSTR,
|
|
};
|
|
|
|
pub const SCHEDULE_HEADER = extern struct {
|
|
Type: u32,
|
|
Offset: u32,
|
|
};
|
|
|
|
pub const SCHEDULE = extern struct {
|
|
Size: u32,
|
|
Bandwidth: u32,
|
|
NumberOfSchedules: u32,
|
|
Schedules: [1]SCHEDULE_HEADER,
|
|
};
|
|
|
|
pub const DS_MANGLE_FOR = enum(i32) {
|
|
UNKNOWN = 0,
|
|
OBJECT_RDN_FOR_DELETION = 1,
|
|
OBJECT_RDN_FOR_NAME_CONFLICT = 2,
|
|
};
|
|
pub const DS_MANGLE_UNKNOWN = DS_MANGLE_FOR.UNKNOWN;
|
|
pub const DS_MANGLE_OBJECT_RDN_FOR_DELETION = DS_MANGLE_FOR.OBJECT_RDN_FOR_DELETION;
|
|
pub const DS_MANGLE_OBJECT_RDN_FOR_NAME_CONFLICT = DS_MANGLE_FOR.OBJECT_RDN_FOR_NAME_CONFLICT;
|
|
|
|
pub const DS_NAME_FORMAT = enum(i32) {
|
|
UNKNOWN_NAME = 0,
|
|
FQDN_1779_NAME = 1,
|
|
NT4_ACCOUNT_NAME = 2,
|
|
DISPLAY_NAME = 3,
|
|
UNIQUE_ID_NAME = 6,
|
|
CANONICAL_NAME = 7,
|
|
USER_PRINCIPAL_NAME = 8,
|
|
CANONICAL_NAME_EX = 9,
|
|
SERVICE_PRINCIPAL_NAME = 10,
|
|
SID_OR_SID_HISTORY_NAME = 11,
|
|
DNS_DOMAIN_NAME = 12,
|
|
};
|
|
pub const DS_UNKNOWN_NAME = DS_NAME_FORMAT.UNKNOWN_NAME;
|
|
pub const DS_FQDN_1779_NAME = DS_NAME_FORMAT.FQDN_1779_NAME;
|
|
pub const DS_NT4_ACCOUNT_NAME = DS_NAME_FORMAT.NT4_ACCOUNT_NAME;
|
|
pub const DS_DISPLAY_NAME = DS_NAME_FORMAT.DISPLAY_NAME;
|
|
pub const DS_UNIQUE_ID_NAME = DS_NAME_FORMAT.UNIQUE_ID_NAME;
|
|
pub const DS_CANONICAL_NAME = DS_NAME_FORMAT.CANONICAL_NAME;
|
|
pub const DS_USER_PRINCIPAL_NAME = DS_NAME_FORMAT.USER_PRINCIPAL_NAME;
|
|
pub const DS_CANONICAL_NAME_EX = DS_NAME_FORMAT.CANONICAL_NAME_EX;
|
|
pub const DS_SERVICE_PRINCIPAL_NAME = DS_NAME_FORMAT.SERVICE_PRINCIPAL_NAME;
|
|
pub const DS_SID_OR_SID_HISTORY_NAME = DS_NAME_FORMAT.SID_OR_SID_HISTORY_NAME;
|
|
pub const DS_DNS_DOMAIN_NAME = DS_NAME_FORMAT.DNS_DOMAIN_NAME;
|
|
|
|
pub const DS_NAME_FLAGS = enum(i32) {
|
|
NO_FLAGS = 0,
|
|
FLAG_SYNTACTICAL_ONLY = 1,
|
|
FLAG_EVAL_AT_DC = 2,
|
|
FLAG_GCVERIFY = 4,
|
|
FLAG_TRUST_REFERRAL = 8,
|
|
};
|
|
pub const DS_NAME_NO_FLAGS = DS_NAME_FLAGS.NO_FLAGS;
|
|
pub const DS_NAME_FLAG_SYNTACTICAL_ONLY = DS_NAME_FLAGS.FLAG_SYNTACTICAL_ONLY;
|
|
pub const DS_NAME_FLAG_EVAL_AT_DC = DS_NAME_FLAGS.FLAG_EVAL_AT_DC;
|
|
pub const DS_NAME_FLAG_GCVERIFY = DS_NAME_FLAGS.FLAG_GCVERIFY;
|
|
pub const DS_NAME_FLAG_TRUST_REFERRAL = DS_NAME_FLAGS.FLAG_TRUST_REFERRAL;
|
|
|
|
pub const DS_NAME_ERROR = enum(i32) {
|
|
NO_ERROR = 0,
|
|
ERROR_RESOLVING = 1,
|
|
ERROR_NOT_FOUND = 2,
|
|
ERROR_NOT_UNIQUE = 3,
|
|
ERROR_NO_MAPPING = 4,
|
|
ERROR_DOMAIN_ONLY = 5,
|
|
ERROR_NO_SYNTACTICAL_MAPPING = 6,
|
|
ERROR_TRUST_REFERRAL = 7,
|
|
};
|
|
pub const DS_NAME_NO_ERROR = DS_NAME_ERROR.NO_ERROR;
|
|
pub const DS_NAME_ERROR_RESOLVING = DS_NAME_ERROR.ERROR_RESOLVING;
|
|
pub const DS_NAME_ERROR_NOT_FOUND = DS_NAME_ERROR.ERROR_NOT_FOUND;
|
|
pub const DS_NAME_ERROR_NOT_UNIQUE = DS_NAME_ERROR.ERROR_NOT_UNIQUE;
|
|
pub const DS_NAME_ERROR_NO_MAPPING = DS_NAME_ERROR.ERROR_NO_MAPPING;
|
|
pub const DS_NAME_ERROR_DOMAIN_ONLY = DS_NAME_ERROR.ERROR_DOMAIN_ONLY;
|
|
pub const DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = DS_NAME_ERROR.ERROR_NO_SYNTACTICAL_MAPPING;
|
|
pub const DS_NAME_ERROR_TRUST_REFERRAL = DS_NAME_ERROR.ERROR_TRUST_REFERRAL;
|
|
|
|
pub const DS_SPN_NAME_TYPE = enum(i32) {
|
|
DNS_HOST = 0,
|
|
DN_HOST = 1,
|
|
NB_HOST = 2,
|
|
DOMAIN = 3,
|
|
NB_DOMAIN = 4,
|
|
SERVICE = 5,
|
|
};
|
|
pub const DS_SPN_DNS_HOST = DS_SPN_NAME_TYPE.DNS_HOST;
|
|
pub const DS_SPN_DN_HOST = DS_SPN_NAME_TYPE.DN_HOST;
|
|
pub const DS_SPN_NB_HOST = DS_SPN_NAME_TYPE.NB_HOST;
|
|
pub const DS_SPN_DOMAIN = DS_SPN_NAME_TYPE.DOMAIN;
|
|
pub const DS_SPN_NB_DOMAIN = DS_SPN_NAME_TYPE.NB_DOMAIN;
|
|
pub const DS_SPN_SERVICE = DS_SPN_NAME_TYPE.SERVICE;
|
|
|
|
pub const DS_SPN_WRITE_OP = enum(i32) {
|
|
ADD_SPN_OP = 0,
|
|
REPLACE_SPN_OP = 1,
|
|
DELETE_SPN_OP = 2,
|
|
};
|
|
pub const DS_SPN_ADD_SPN_OP = DS_SPN_WRITE_OP.ADD_SPN_OP;
|
|
pub const DS_SPN_REPLACE_SPN_OP = DS_SPN_WRITE_OP.REPLACE_SPN_OP;
|
|
pub const DS_SPN_DELETE_SPN_OP = DS_SPN_WRITE_OP.DELETE_SPN_OP;
|
|
|
|
pub const DS_NAME_RESULT_ITEMA = extern struct {
|
|
status: u32,
|
|
pDomain: ?PSTR,
|
|
pName: ?PSTR,
|
|
};
|
|
|
|
pub const DS_NAME_RESULTA = extern struct {
|
|
cItems: u32,
|
|
rItems: ?*DS_NAME_RESULT_ITEMA,
|
|
};
|
|
|
|
pub const DS_NAME_RESULT_ITEMW = extern struct {
|
|
status: u32,
|
|
pDomain: ?PWSTR,
|
|
pName: ?PWSTR,
|
|
};
|
|
|
|
pub const DS_NAME_RESULTW = extern struct {
|
|
cItems: u32,
|
|
rItems: ?*DS_NAME_RESULT_ITEMW,
|
|
};
|
|
|
|
pub const DS_REPSYNCALL_ERROR = enum(i32) {
|
|
WIN32_ERROR_CONTACTING_SERVER = 0,
|
|
WIN32_ERROR_REPLICATING = 1,
|
|
SERVER_UNREACHABLE = 2,
|
|
};
|
|
pub const DS_REPSYNCALL_WIN32_ERROR_CONTACTING_SERVER = DS_REPSYNCALL_ERROR.WIN32_ERROR_CONTACTING_SERVER;
|
|
pub const DS_REPSYNCALL_WIN32_ERROR_REPLICATING = DS_REPSYNCALL_ERROR.WIN32_ERROR_REPLICATING;
|
|
pub const DS_REPSYNCALL_SERVER_UNREACHABLE = DS_REPSYNCALL_ERROR.SERVER_UNREACHABLE;
|
|
|
|
pub const DS_REPSYNCALL_EVENT = enum(i32) {
|
|
ERROR = 0,
|
|
SYNC_STARTED = 1,
|
|
SYNC_COMPLETED = 2,
|
|
FINISHED = 3,
|
|
};
|
|
pub const DS_REPSYNCALL_EVENT_ERROR = DS_REPSYNCALL_EVENT.ERROR;
|
|
pub const DS_REPSYNCALL_EVENT_SYNC_STARTED = DS_REPSYNCALL_EVENT.SYNC_STARTED;
|
|
pub const DS_REPSYNCALL_EVENT_SYNC_COMPLETED = DS_REPSYNCALL_EVENT.SYNC_COMPLETED;
|
|
pub const DS_REPSYNCALL_EVENT_FINISHED = DS_REPSYNCALL_EVENT.FINISHED;
|
|
|
|
pub const DS_REPSYNCALL_SYNCA = extern struct {
|
|
pszSrcId: ?PSTR,
|
|
pszDstId: ?PSTR,
|
|
pszNC: ?PSTR,
|
|
pguidSrc: ?*Guid,
|
|
pguidDst: ?*Guid,
|
|
};
|
|
|
|
pub const DS_REPSYNCALL_SYNCW = extern struct {
|
|
pszSrcId: ?PWSTR,
|
|
pszDstId: ?PWSTR,
|
|
pszNC: ?PWSTR,
|
|
pguidSrc: ?*Guid,
|
|
pguidDst: ?*Guid,
|
|
};
|
|
|
|
pub const DS_REPSYNCALL_ERRINFOA = extern struct {
|
|
pszSvrId: ?PSTR,
|
|
@"error": DS_REPSYNCALL_ERROR,
|
|
dwWin32Err: u32,
|
|
pszSrcId: ?PSTR,
|
|
};
|
|
|
|
pub const DS_REPSYNCALL_ERRINFOW = extern struct {
|
|
pszSvrId: ?PWSTR,
|
|
@"error": DS_REPSYNCALL_ERROR,
|
|
dwWin32Err: u32,
|
|
pszSrcId: ?PWSTR,
|
|
};
|
|
|
|
pub const DS_REPSYNCALL_UPDATEA = extern struct {
|
|
event: DS_REPSYNCALL_EVENT,
|
|
pErrInfo: ?*DS_REPSYNCALL_ERRINFOA,
|
|
pSync: ?*DS_REPSYNCALL_SYNCA,
|
|
};
|
|
|
|
pub const DS_REPSYNCALL_UPDATEW = extern struct {
|
|
event: DS_REPSYNCALL_EVENT,
|
|
pErrInfo: ?*DS_REPSYNCALL_ERRINFOW,
|
|
pSync: ?*DS_REPSYNCALL_SYNCW,
|
|
};
|
|
|
|
pub const DS_SITE_COST_INFO = extern struct {
|
|
errorCode: u32,
|
|
cost: u32,
|
|
};
|
|
|
|
pub const DS_SCHEMA_GUID_MAPA = extern struct {
|
|
guid: Guid,
|
|
guidType: u32,
|
|
pName: ?PSTR,
|
|
};
|
|
|
|
pub const DS_SCHEMA_GUID_MAPW = extern struct {
|
|
guid: Guid,
|
|
guidType: u32,
|
|
pName: ?PWSTR,
|
|
};
|
|
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_1A = extern struct {
|
|
NetbiosName: ?PSTR,
|
|
DnsHostName: ?PSTR,
|
|
SiteName: ?PSTR,
|
|
ComputerObjectName: ?PSTR,
|
|
ServerObjectName: ?PSTR,
|
|
fIsPdc: BOOL,
|
|
fDsEnabled: BOOL,
|
|
};
|
|
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_1W = extern struct {
|
|
NetbiosName: ?PWSTR,
|
|
DnsHostName: ?PWSTR,
|
|
SiteName: ?PWSTR,
|
|
ComputerObjectName: ?PWSTR,
|
|
ServerObjectName: ?PWSTR,
|
|
fIsPdc: BOOL,
|
|
fDsEnabled: BOOL,
|
|
};
|
|
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_2A = extern struct {
|
|
NetbiosName: ?PSTR,
|
|
DnsHostName: ?PSTR,
|
|
SiteName: ?PSTR,
|
|
SiteObjectName: ?PSTR,
|
|
ComputerObjectName: ?PSTR,
|
|
ServerObjectName: ?PSTR,
|
|
NtdsDsaObjectName: ?PSTR,
|
|
fIsPdc: BOOL,
|
|
fDsEnabled: BOOL,
|
|
fIsGc: BOOL,
|
|
SiteObjectGuid: Guid,
|
|
ComputerObjectGuid: Guid,
|
|
ServerObjectGuid: Guid,
|
|
NtdsDsaObjectGuid: Guid,
|
|
};
|
|
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_2W = extern struct {
|
|
NetbiosName: ?PWSTR,
|
|
DnsHostName: ?PWSTR,
|
|
SiteName: ?PWSTR,
|
|
SiteObjectName: ?PWSTR,
|
|
ComputerObjectName: ?PWSTR,
|
|
ServerObjectName: ?PWSTR,
|
|
NtdsDsaObjectName: ?PWSTR,
|
|
fIsPdc: BOOL,
|
|
fDsEnabled: BOOL,
|
|
fIsGc: BOOL,
|
|
SiteObjectGuid: Guid,
|
|
ComputerObjectGuid: Guid,
|
|
ServerObjectGuid: Guid,
|
|
NtdsDsaObjectGuid: Guid,
|
|
};
|
|
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_3A = extern struct {
|
|
NetbiosName: ?PSTR,
|
|
DnsHostName: ?PSTR,
|
|
SiteName: ?PSTR,
|
|
SiteObjectName: ?PSTR,
|
|
ComputerObjectName: ?PSTR,
|
|
ServerObjectName: ?PSTR,
|
|
NtdsDsaObjectName: ?PSTR,
|
|
fIsPdc: BOOL,
|
|
fDsEnabled: BOOL,
|
|
fIsGc: BOOL,
|
|
fIsRodc: BOOL,
|
|
SiteObjectGuid: Guid,
|
|
ComputerObjectGuid: Guid,
|
|
ServerObjectGuid: Guid,
|
|
NtdsDsaObjectGuid: Guid,
|
|
};
|
|
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_3W = extern struct {
|
|
NetbiosName: ?PWSTR,
|
|
DnsHostName: ?PWSTR,
|
|
SiteName: ?PWSTR,
|
|
SiteObjectName: ?PWSTR,
|
|
ComputerObjectName: ?PWSTR,
|
|
ServerObjectName: ?PWSTR,
|
|
NtdsDsaObjectName: ?PWSTR,
|
|
fIsPdc: BOOL,
|
|
fDsEnabled: BOOL,
|
|
fIsGc: BOOL,
|
|
fIsRodc: BOOL,
|
|
SiteObjectGuid: Guid,
|
|
ComputerObjectGuid: Guid,
|
|
ServerObjectGuid: Guid,
|
|
NtdsDsaObjectGuid: Guid,
|
|
};
|
|
|
|
pub const DS_KCC_TASKID = enum(i32) {
|
|
Y = 0,
|
|
};
|
|
pub const DS_KCC_TASKID_UPDATE_TOPOLOGY = DS_KCC_TASKID.Y;
|
|
|
|
pub const DS_REPL_INFO_TYPE = enum(i32) {
|
|
NEIGHBORS = 0,
|
|
CURSORS_FOR_NC = 1,
|
|
METADATA_FOR_OBJ = 2,
|
|
KCC_DSA_CONNECT_FAILURES = 3,
|
|
KCC_DSA_LINK_FAILURES = 4,
|
|
PENDING_OPS = 5,
|
|
METADATA_FOR_ATTR_VALUE = 6,
|
|
CURSORS_2_FOR_NC = 7,
|
|
CURSORS_3_FOR_NC = 8,
|
|
METADATA_2_FOR_OBJ = 9,
|
|
METADATA_2_FOR_ATTR_VALUE = 10,
|
|
METADATA_EXT_FOR_ATTR_VALUE = 11,
|
|
TYPE_MAX = 12,
|
|
};
|
|
pub const DS_REPL_INFO_NEIGHBORS = DS_REPL_INFO_TYPE.NEIGHBORS;
|
|
pub const DS_REPL_INFO_CURSORS_FOR_NC = DS_REPL_INFO_TYPE.CURSORS_FOR_NC;
|
|
pub const DS_REPL_INFO_METADATA_FOR_OBJ = DS_REPL_INFO_TYPE.METADATA_FOR_OBJ;
|
|
pub const DS_REPL_INFO_KCC_DSA_CONNECT_FAILURES = DS_REPL_INFO_TYPE.KCC_DSA_CONNECT_FAILURES;
|
|
pub const DS_REPL_INFO_KCC_DSA_LINK_FAILURES = DS_REPL_INFO_TYPE.KCC_DSA_LINK_FAILURES;
|
|
pub const DS_REPL_INFO_PENDING_OPS = DS_REPL_INFO_TYPE.PENDING_OPS;
|
|
pub const DS_REPL_INFO_METADATA_FOR_ATTR_VALUE = DS_REPL_INFO_TYPE.METADATA_FOR_ATTR_VALUE;
|
|
pub const DS_REPL_INFO_CURSORS_2_FOR_NC = DS_REPL_INFO_TYPE.CURSORS_2_FOR_NC;
|
|
pub const DS_REPL_INFO_CURSORS_3_FOR_NC = DS_REPL_INFO_TYPE.CURSORS_3_FOR_NC;
|
|
pub const DS_REPL_INFO_METADATA_2_FOR_OBJ = DS_REPL_INFO_TYPE.METADATA_2_FOR_OBJ;
|
|
pub const DS_REPL_INFO_METADATA_2_FOR_ATTR_VALUE = DS_REPL_INFO_TYPE.METADATA_2_FOR_ATTR_VALUE;
|
|
pub const DS_REPL_INFO_METADATA_EXT_FOR_ATTR_VALUE = DS_REPL_INFO_TYPE.METADATA_EXT_FOR_ATTR_VALUE;
|
|
pub const DS_REPL_INFO_TYPE_MAX = DS_REPL_INFO_TYPE.TYPE_MAX;
|
|
|
|
pub const DS_REPL_NEIGHBORW = extern struct {
|
|
pszNamingContext: ?PWSTR,
|
|
pszSourceDsaDN: ?PWSTR,
|
|
pszSourceDsaAddress: ?PWSTR,
|
|
pszAsyncIntersiteTransportDN: ?PWSTR,
|
|
dwReplicaFlags: u32,
|
|
dwReserved: u32,
|
|
uuidNamingContextObjGuid: Guid,
|
|
uuidSourceDsaObjGuid: Guid,
|
|
uuidSourceDsaInvocationID: Guid,
|
|
uuidAsyncIntersiteTransportObjGuid: Guid,
|
|
usnLastObjChangeSynced: i64,
|
|
usnAttributeFilter: i64,
|
|
ftimeLastSyncSuccess: FILETIME,
|
|
ftimeLastSyncAttempt: FILETIME,
|
|
dwLastSyncResult: u32,
|
|
cNumConsecutiveSyncFailures: u32,
|
|
};
|
|
|
|
pub const DS_REPL_NEIGHBORW_BLOB = extern struct {
|
|
oszNamingContext: u32,
|
|
oszSourceDsaDN: u32,
|
|
oszSourceDsaAddress: u32,
|
|
oszAsyncIntersiteTransportDN: u32,
|
|
dwReplicaFlags: u32,
|
|
dwReserved: u32,
|
|
uuidNamingContextObjGuid: Guid,
|
|
uuidSourceDsaObjGuid: Guid,
|
|
uuidSourceDsaInvocationID: Guid,
|
|
uuidAsyncIntersiteTransportObjGuid: Guid,
|
|
usnLastObjChangeSynced: i64,
|
|
usnAttributeFilter: i64,
|
|
ftimeLastSyncSuccess: FILETIME,
|
|
ftimeLastSyncAttempt: FILETIME,
|
|
dwLastSyncResult: u32,
|
|
cNumConsecutiveSyncFailures: u32,
|
|
};
|
|
|
|
pub const DS_REPL_NEIGHBORSW = extern struct {
|
|
cNumNeighbors: u32,
|
|
dwReserved: u32,
|
|
rgNeighbor: [1]DS_REPL_NEIGHBORW,
|
|
};
|
|
|
|
pub const DS_REPL_CURSOR = extern struct {
|
|
uuidSourceDsaInvocationID: Guid,
|
|
usnAttributeFilter: i64,
|
|
};
|
|
|
|
pub const DS_REPL_CURSOR_2 = extern struct {
|
|
uuidSourceDsaInvocationID: Guid,
|
|
usnAttributeFilter: i64,
|
|
ftimeLastSyncSuccess: FILETIME,
|
|
};
|
|
|
|
pub const DS_REPL_CURSOR_3W = extern struct {
|
|
uuidSourceDsaInvocationID: Guid,
|
|
usnAttributeFilter: i64,
|
|
ftimeLastSyncSuccess: FILETIME,
|
|
pszSourceDsaDN: ?PWSTR,
|
|
};
|
|
|
|
pub const DS_REPL_CURSOR_BLOB = extern struct {
|
|
uuidSourceDsaInvocationID: Guid,
|
|
usnAttributeFilter: i64,
|
|
ftimeLastSyncSuccess: FILETIME,
|
|
oszSourceDsaDN: u32,
|
|
};
|
|
|
|
pub const DS_REPL_CURSORS = extern struct {
|
|
cNumCursors: u32,
|
|
dwReserved: u32,
|
|
rgCursor: [1]DS_REPL_CURSOR,
|
|
};
|
|
|
|
pub const DS_REPL_CURSORS_2 = extern struct {
|
|
cNumCursors: u32,
|
|
dwEnumerationContext: u32,
|
|
rgCursor: [1]DS_REPL_CURSOR_2,
|
|
};
|
|
|
|
pub const DS_REPL_CURSORS_3W = extern struct {
|
|
cNumCursors: u32,
|
|
dwEnumerationContext: u32,
|
|
rgCursor: [1]DS_REPL_CURSOR_3W,
|
|
};
|
|
|
|
pub const DS_REPL_ATTR_META_DATA = extern struct {
|
|
pszAttributeName: ?PWSTR,
|
|
dwVersion: u32,
|
|
ftimeLastOriginatingChange: FILETIME,
|
|
uuidLastOriginatingDsaInvocationID: Guid,
|
|
usnOriginatingChange: i64,
|
|
usnLocalChange: i64,
|
|
};
|
|
|
|
pub const DS_REPL_ATTR_META_DATA_2 = extern struct {
|
|
pszAttributeName: ?PWSTR,
|
|
dwVersion: u32,
|
|
ftimeLastOriginatingChange: FILETIME,
|
|
uuidLastOriginatingDsaInvocationID: Guid,
|
|
usnOriginatingChange: i64,
|
|
usnLocalChange: i64,
|
|
pszLastOriginatingDsaDN: ?PWSTR,
|
|
};
|
|
|
|
pub const DS_REPL_ATTR_META_DATA_BLOB = extern struct {
|
|
oszAttributeName: u32,
|
|
dwVersion: u32,
|
|
ftimeLastOriginatingChange: FILETIME,
|
|
uuidLastOriginatingDsaInvocationID: Guid,
|
|
usnOriginatingChange: i64,
|
|
usnLocalChange: i64,
|
|
oszLastOriginatingDsaDN: u32,
|
|
};
|
|
|
|
pub const DS_REPL_OBJ_META_DATA = extern struct {
|
|
cNumEntries: u32,
|
|
dwReserved: u32,
|
|
rgMetaData: [1]DS_REPL_ATTR_META_DATA,
|
|
};
|
|
|
|
pub const DS_REPL_OBJ_META_DATA_2 = extern struct {
|
|
cNumEntries: u32,
|
|
dwReserved: u32,
|
|
rgMetaData: [1]DS_REPL_ATTR_META_DATA_2,
|
|
};
|
|
|
|
pub const DS_REPL_KCC_DSA_FAILUREW = extern struct {
|
|
pszDsaDN: ?PWSTR,
|
|
uuidDsaObjGuid: Guid,
|
|
ftimeFirstFailure: FILETIME,
|
|
cNumFailures: u32,
|
|
dwLastResult: u32,
|
|
};
|
|
|
|
pub const DS_REPL_KCC_DSA_FAILUREW_BLOB = extern struct {
|
|
oszDsaDN: u32,
|
|
uuidDsaObjGuid: Guid,
|
|
ftimeFirstFailure: FILETIME,
|
|
cNumFailures: u32,
|
|
dwLastResult: u32,
|
|
};
|
|
|
|
pub const DS_REPL_KCC_DSA_FAILURESW = extern struct {
|
|
cNumEntries: u32,
|
|
dwReserved: u32,
|
|
rgDsaFailure: [1]DS_REPL_KCC_DSA_FAILUREW,
|
|
};
|
|
|
|
pub const DS_REPL_OP_TYPE = enum(i32) {
|
|
SYNC = 0,
|
|
ADD = 1,
|
|
DELETE = 2,
|
|
MODIFY = 3,
|
|
UPDATE_REFS = 4,
|
|
};
|
|
pub const DS_REPL_OP_TYPE_SYNC = DS_REPL_OP_TYPE.SYNC;
|
|
pub const DS_REPL_OP_TYPE_ADD = DS_REPL_OP_TYPE.ADD;
|
|
pub const DS_REPL_OP_TYPE_DELETE = DS_REPL_OP_TYPE.DELETE;
|
|
pub const DS_REPL_OP_TYPE_MODIFY = DS_REPL_OP_TYPE.MODIFY;
|
|
pub const DS_REPL_OP_TYPE_UPDATE_REFS = DS_REPL_OP_TYPE.UPDATE_REFS;
|
|
|
|
pub const DS_REPL_OPW = extern struct {
|
|
ftimeEnqueued: FILETIME,
|
|
ulSerialNumber: u32,
|
|
ulPriority: u32,
|
|
OpType: DS_REPL_OP_TYPE,
|
|
ulOptions: u32,
|
|
pszNamingContext: ?PWSTR,
|
|
pszDsaDN: ?PWSTR,
|
|
pszDsaAddress: ?PWSTR,
|
|
uuidNamingContextObjGuid: Guid,
|
|
uuidDsaObjGuid: Guid,
|
|
};
|
|
|
|
pub const DS_REPL_OPW_BLOB = extern struct {
|
|
ftimeEnqueued: FILETIME,
|
|
ulSerialNumber: u32,
|
|
ulPriority: u32,
|
|
OpType: DS_REPL_OP_TYPE,
|
|
ulOptions: u32,
|
|
oszNamingContext: u32,
|
|
oszDsaDN: u32,
|
|
oszDsaAddress: u32,
|
|
uuidNamingContextObjGuid: Guid,
|
|
uuidDsaObjGuid: Guid,
|
|
};
|
|
|
|
pub const DS_REPL_PENDING_OPSW = extern struct {
|
|
ftimeCurrentOpStarted: FILETIME,
|
|
cNumPendingOps: u32,
|
|
rgPendingOp: [1]DS_REPL_OPW,
|
|
};
|
|
|
|
pub const DS_REPL_VALUE_META_DATA = extern struct {
|
|
pszAttributeName: ?PWSTR,
|
|
pszObjectDn: ?PWSTR,
|
|
cbData: u32,
|
|
pbData: ?*u8,
|
|
ftimeDeleted: FILETIME,
|
|
ftimeCreated: FILETIME,
|
|
dwVersion: u32,
|
|
ftimeLastOriginatingChange: FILETIME,
|
|
uuidLastOriginatingDsaInvocationID: Guid,
|
|
usnOriginatingChange: i64,
|
|
usnLocalChange: i64,
|
|
};
|
|
|
|
pub const DS_REPL_VALUE_META_DATA_2 = extern struct {
|
|
pszAttributeName: ?PWSTR,
|
|
pszObjectDn: ?PWSTR,
|
|
cbData: u32,
|
|
pbData: ?*u8,
|
|
ftimeDeleted: FILETIME,
|
|
ftimeCreated: FILETIME,
|
|
dwVersion: u32,
|
|
ftimeLastOriginatingChange: FILETIME,
|
|
uuidLastOriginatingDsaInvocationID: Guid,
|
|
usnOriginatingChange: i64,
|
|
usnLocalChange: i64,
|
|
pszLastOriginatingDsaDN: ?PWSTR,
|
|
};
|
|
|
|
pub const DS_REPL_VALUE_META_DATA_EXT = extern struct {
|
|
pszAttributeName: ?PWSTR,
|
|
pszObjectDn: ?PWSTR,
|
|
cbData: u32,
|
|
pbData: ?*u8,
|
|
ftimeDeleted: FILETIME,
|
|
ftimeCreated: FILETIME,
|
|
dwVersion: u32,
|
|
ftimeLastOriginatingChange: FILETIME,
|
|
uuidLastOriginatingDsaInvocationID: Guid,
|
|
usnOriginatingChange: i64,
|
|
usnLocalChange: i64,
|
|
pszLastOriginatingDsaDN: ?PWSTR,
|
|
dwUserIdentifier: u32,
|
|
dwPriorLinkState: u32,
|
|
dwCurrentLinkState: u32,
|
|
};
|
|
|
|
pub const DS_REPL_VALUE_META_DATA_BLOB = extern struct {
|
|
oszAttributeName: u32,
|
|
oszObjectDn: u32,
|
|
cbData: u32,
|
|
obData: u32,
|
|
ftimeDeleted: FILETIME,
|
|
ftimeCreated: FILETIME,
|
|
dwVersion: u32,
|
|
ftimeLastOriginatingChange: FILETIME,
|
|
uuidLastOriginatingDsaInvocationID: Guid,
|
|
usnOriginatingChange: i64,
|
|
usnLocalChange: i64,
|
|
oszLastOriginatingDsaDN: u32,
|
|
};
|
|
|
|
pub const DS_REPL_VALUE_META_DATA_BLOB_EXT = extern struct {
|
|
oszAttributeName: u32,
|
|
oszObjectDn: u32,
|
|
cbData: u32,
|
|
obData: u32,
|
|
ftimeDeleted: FILETIME,
|
|
ftimeCreated: FILETIME,
|
|
dwVersion: u32,
|
|
ftimeLastOriginatingChange: FILETIME,
|
|
uuidLastOriginatingDsaInvocationID: Guid,
|
|
usnOriginatingChange: i64,
|
|
usnLocalChange: i64,
|
|
oszLastOriginatingDsaDN: u32,
|
|
dwUserIdentifier: u32,
|
|
dwPriorLinkState: u32,
|
|
dwCurrentLinkState: u32,
|
|
};
|
|
|
|
pub const DS_REPL_ATTR_VALUE_META_DATA = extern struct {
|
|
cNumEntries: u32,
|
|
dwEnumerationContext: u32,
|
|
rgMetaData: [1]DS_REPL_VALUE_META_DATA,
|
|
};
|
|
|
|
pub const DS_REPL_ATTR_VALUE_META_DATA_2 = extern struct {
|
|
cNumEntries: u32,
|
|
dwEnumerationContext: u32,
|
|
rgMetaData: [1]DS_REPL_VALUE_META_DATA_2,
|
|
};
|
|
|
|
pub const DS_REPL_ATTR_VALUE_META_DATA_EXT = extern struct {
|
|
cNumEntries: u32,
|
|
dwEnumerationContext: u32,
|
|
rgMetaData: [1]DS_REPL_VALUE_META_DATA_EXT,
|
|
};
|
|
|
|
pub const DS_REPL_QUEUE_STATISTICSW = extern struct {
|
|
ftimeCurrentOpStarted: FILETIME,
|
|
cNumPendingOps: u32,
|
|
ftimeOldestSync: FILETIME,
|
|
ftimeOldestAdd: FILETIME,
|
|
ftimeOldestMod: FILETIME,
|
|
ftimeOldestDel: FILETIME,
|
|
ftimeOldestUpdRefs: FILETIME,
|
|
};
|
|
|
|
pub const DSROLE_MACHINE_ROLE = enum(i32) {
|
|
StandaloneWorkstation = 0,
|
|
MemberWorkstation = 1,
|
|
StandaloneServer = 2,
|
|
MemberServer = 3,
|
|
BackupDomainController = 4,
|
|
PrimaryDomainController = 5,
|
|
};
|
|
pub const DsRole_RoleStandaloneWorkstation = DSROLE_MACHINE_ROLE.StandaloneWorkstation;
|
|
pub const DsRole_RoleMemberWorkstation = DSROLE_MACHINE_ROLE.MemberWorkstation;
|
|
pub const DsRole_RoleStandaloneServer = DSROLE_MACHINE_ROLE.StandaloneServer;
|
|
pub const DsRole_RoleMemberServer = DSROLE_MACHINE_ROLE.MemberServer;
|
|
pub const DsRole_RoleBackupDomainController = DSROLE_MACHINE_ROLE.BackupDomainController;
|
|
pub const DsRole_RolePrimaryDomainController = DSROLE_MACHINE_ROLE.PrimaryDomainController;
|
|
|
|
pub const DSROLE_SERVER_STATE = enum(i32) {
|
|
Unknown = 0,
|
|
Primary = 1,
|
|
Backup = 2,
|
|
};
|
|
pub const DsRoleServerUnknown = DSROLE_SERVER_STATE.Unknown;
|
|
pub const DsRoleServerPrimary = DSROLE_SERVER_STATE.Primary;
|
|
pub const DsRoleServerBackup = DSROLE_SERVER_STATE.Backup;
|
|
|
|
pub const DSROLE_PRIMARY_DOMAIN_INFO_LEVEL = enum(i32) {
|
|
PrimaryDomainInfoBasic = 1,
|
|
UpgradeStatus = 2,
|
|
OperationState = 3,
|
|
};
|
|
pub const DsRolePrimaryDomainInfoBasic = DSROLE_PRIMARY_DOMAIN_INFO_LEVEL.PrimaryDomainInfoBasic;
|
|
pub const DsRoleUpgradeStatus = DSROLE_PRIMARY_DOMAIN_INFO_LEVEL.UpgradeStatus;
|
|
pub const DsRoleOperationState = DSROLE_PRIMARY_DOMAIN_INFO_LEVEL.OperationState;
|
|
|
|
pub const DSROLE_PRIMARY_DOMAIN_INFO_BASIC = extern struct {
|
|
MachineRole: DSROLE_MACHINE_ROLE,
|
|
Flags: u32,
|
|
DomainNameFlat: ?PWSTR,
|
|
DomainNameDns: ?PWSTR,
|
|
DomainForestName: ?PWSTR,
|
|
DomainGuid: Guid,
|
|
};
|
|
|
|
pub const DSROLE_UPGRADE_STATUS_INFO = extern struct {
|
|
OperationState: u32,
|
|
PreviousServerState: DSROLE_SERVER_STATE,
|
|
};
|
|
|
|
pub const DSROLE_OPERATION_STATE = enum(i32) {
|
|
Idle = 0,
|
|
Active = 1,
|
|
NeedReboot = 2,
|
|
};
|
|
pub const DsRoleOperationIdle = DSROLE_OPERATION_STATE.Idle;
|
|
pub const DsRoleOperationActive = DSROLE_OPERATION_STATE.Active;
|
|
pub const DsRoleOperationNeedReboot = DSROLE_OPERATION_STATE.NeedReboot;
|
|
|
|
pub const DSROLE_OPERATION_STATE_INFO = extern struct {
|
|
OperationState: DSROLE_OPERATION_STATE,
|
|
};
|
|
|
|
pub const DOMAIN_CONTROLLER_INFOA = extern struct {
|
|
DomainControllerName: ?PSTR,
|
|
DomainControllerAddress: ?PSTR,
|
|
DomainControllerAddressType: u32,
|
|
DomainGuid: Guid,
|
|
DomainName: ?PSTR,
|
|
DnsForestName: ?PSTR,
|
|
Flags: u32,
|
|
DcSiteName: ?PSTR,
|
|
ClientSiteName: ?PSTR,
|
|
};
|
|
|
|
pub const DOMAIN_CONTROLLER_INFOW = extern struct {
|
|
DomainControllerName: ?PWSTR,
|
|
DomainControllerAddress: ?PWSTR,
|
|
DomainControllerAddressType: u32,
|
|
DomainGuid: Guid,
|
|
DomainName: ?PWSTR,
|
|
DnsForestName: ?PWSTR,
|
|
Flags: u32,
|
|
DcSiteName: ?PWSTR,
|
|
ClientSiteName: ?PWSTR,
|
|
};
|
|
|
|
pub const DS_DOMAIN_TRUSTSW = extern struct {
|
|
NetbiosDomainName: ?PWSTR,
|
|
DnsDomainName: ?PWSTR,
|
|
Flags: u32,
|
|
ParentIndex: u32,
|
|
TrustType: u32,
|
|
TrustAttributes: u32,
|
|
DomainSid: ?PSID,
|
|
DomainGuid: Guid,
|
|
};
|
|
|
|
pub const DS_DOMAIN_TRUSTSA = extern struct {
|
|
NetbiosDomainName: ?PSTR,
|
|
DnsDomainName: ?PSTR,
|
|
Flags: u32,
|
|
ParentIndex: u32,
|
|
TrustType: u32,
|
|
TrustAttributes: u32,
|
|
DomainSid: ?PSID,
|
|
DomainGuid: Guid,
|
|
};
|
|
|
|
// TODO: this type has a FreeFunc 'DsGetDcCloseW', what can Zig do with this information?
|
|
// TODO: this type has an InvalidHandleValue of '0', what can Zig do with this information?
|
|
pub const GetDcContextHandle = isize;
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Section: Functions (158)
|
|
//--------------------------------------------------------------------------------
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsGetObject(
|
|
lpszPathName: ?[*:0]const u16,
|
|
riid: ?*const Guid,
|
|
ppObject: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsBuildEnumerator(
|
|
pADsContainer: ?*IADsContainer,
|
|
ppEnumVariant: ?*?*IEnumVARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsFreeEnumerator(
|
|
pEnumVariant: ?*IEnumVARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsEnumerateNext(
|
|
pEnumVariant: ?*IEnumVARIANT,
|
|
cElements: u32,
|
|
pvar: ?*VARIANT,
|
|
pcElementsFetched: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsBuildVarArrayStr(
|
|
lppPathNames: [*]?PWSTR,
|
|
dwPathNames: u32,
|
|
pVar: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsBuildVarArrayInt(
|
|
lpdwObjectTypes: ?*u32,
|
|
dwObjectTypes: u32,
|
|
pVar: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsOpenObject(
|
|
lpszPathName: ?[*:0]const u16,
|
|
lpszUserName: ?[*:0]const u16,
|
|
lpszPassword: ?[*:0]const u16,
|
|
dwReserved: ADS_AUTHENTICATION_ENUM,
|
|
riid: ?*const Guid,
|
|
ppObject: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsGetLastError(
|
|
lpError: ?*u32,
|
|
lpErrorBuf: [*:0]u16,
|
|
dwErrorBufLen: u32,
|
|
lpNameBuf: [*:0]u16,
|
|
dwNameBufLen: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsSetLastError(
|
|
dwErr: u32,
|
|
pszError: ?[*:0]const u16,
|
|
pszProvider: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn AllocADsMem(
|
|
cb: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) ?*anyopaque;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn FreeADsMem(
|
|
pMem: ?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ReallocADsMem(
|
|
pOldMem: ?*anyopaque,
|
|
cbOld: u32,
|
|
cbNew: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) ?*anyopaque;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn AllocADsStr(
|
|
pStr: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) ?PWSTR;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn FreeADsStr(
|
|
pStr: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ReallocADsStr(
|
|
ppStr: ?*?PWSTR,
|
|
pStr: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn ADsEncodeBinaryData(
|
|
pbSrcData: ?*u8,
|
|
dwSrcLen: u32,
|
|
ppszDestData: ?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
pub extern "activeds" fn ADsDecodeBinaryData(
|
|
szSrcData: ?[*:0]const u16,
|
|
ppbDestData: ?*?*u8,
|
|
pdwDestLen: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
pub extern "activeds" fn PropVariantToAdsType(
|
|
pVariant: ?*VARIANT,
|
|
dwNumVariant: u32,
|
|
ppAdsValues: ?*?*ADSVALUE,
|
|
pdwNumValues: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
pub extern "activeds" fn AdsTypeToPropVariant(
|
|
pAdsValues: ?*ADSVALUE,
|
|
dwNumValues: u32,
|
|
pVariant: ?*VARIANT,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
pub extern "activeds" fn AdsFreeAdsValues(
|
|
pAdsValues: ?*ADSVALUE,
|
|
dwNumValues: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn BinarySDToSecurityDescriptor(
|
|
pSecurityDescriptor: ?PSECURITY_DESCRIPTOR,
|
|
pVarsec: ?*VARIANT,
|
|
pszServerName: ?[*:0]const u16,
|
|
userName: ?[*:0]const u16,
|
|
passWord: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "activeds" fn SecurityDescriptorToBinarySD(
|
|
vVarSecDes: VARIANT,
|
|
ppSecurityDescriptor: ?*?PSECURITY_DESCRIPTOR,
|
|
pdwSDLength: ?*u32,
|
|
pszServerName: ?[*:0]const u16,
|
|
userName: ?[*:0]const u16,
|
|
passWord: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsuiext" fn DsBrowseForContainerW(
|
|
pInfo: ?*DSBROWSEINFOW,
|
|
) callconv(@import("std").os.windows.WINAPI) i32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsuiext" fn DsBrowseForContainerA(
|
|
pInfo: ?*DSBROWSEINFOA,
|
|
) callconv(@import("std").os.windows.WINAPI) i32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsuiext" fn DsGetIcon(
|
|
dwFlags: u32,
|
|
pszObjectClass: ?[*:0]const u16,
|
|
cxImage: i32,
|
|
cyImage: i32,
|
|
) callconv(@import("std").os.windows.WINAPI) ?HICON;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsuiext" fn DsGetFriendlyClassName(
|
|
pszObjectClass: ?[*:0]const u16,
|
|
pszBuffer: [*:0]u16,
|
|
cchBuffer: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsprop" fn ADsPropCreateNotifyObj(
|
|
pAppThdDataObj: ?*IDataObject,
|
|
pwzADsObjName: ?PWSTR,
|
|
phNotifyObj: ?*?HWND,
|
|
) callconv(@import("std").os.windows.WINAPI) HRESULT;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsprop" fn ADsPropGetInitInfo(
|
|
hNotifyObj: ?HWND,
|
|
pInitParams: ?*ADSPROPINITPARAMS,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsprop" fn ADsPropSetHwndWithTitle(
|
|
hNotifyObj: ?HWND,
|
|
hPage: ?HWND,
|
|
ptzTitle: ?*i8,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsprop" fn ADsPropSetHwnd(
|
|
hNotifyObj: ?HWND,
|
|
hPage: ?HWND,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsprop" fn ADsPropCheckIfWritable(
|
|
pwzAttr: ?[*:0]const u16,
|
|
pWritableAttrs: ?*const ADS_ATTR_INFO,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsprop" fn ADsPropSendErrorMessage(
|
|
hNotifyObj: ?HWND,
|
|
pError: ?*ADSPROPERROR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsprop" fn ADsPropShowErrorDialog(
|
|
hNotifyObj: ?HWND,
|
|
hPage: ?HWND,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsMakeSpnW(
|
|
ServiceClass: ?[*:0]const u16,
|
|
ServiceName: ?[*:0]const u16,
|
|
InstanceName: ?[*:0]const u16,
|
|
InstancePort: u16,
|
|
Referrer: ?[*:0]const u16,
|
|
pcSpnLength: ?*u32,
|
|
pszSpn: ?[*:0]u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsMakeSpnA(
|
|
ServiceClass: ?[*:0]const u8,
|
|
ServiceName: ?[*:0]const u8,
|
|
InstanceName: ?[*:0]const u8,
|
|
InstancePort: u16,
|
|
Referrer: ?[*:0]const u8,
|
|
pcSpnLength: ?*u32,
|
|
pszSpn: ?[*:0]u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsCrackSpnA(
|
|
pszSpn: ?[*:0]const u8,
|
|
pcServiceClass: ?*u32,
|
|
ServiceClass: ?[*:0]u8,
|
|
pcServiceName: ?*u32,
|
|
ServiceName: ?[*:0]u8,
|
|
pcInstanceName: ?*u32,
|
|
InstanceName: ?[*:0]u8,
|
|
pInstancePort: ?*u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsCrackSpnW(
|
|
pszSpn: ?[*:0]const u16,
|
|
pcServiceClass: ?*u32,
|
|
ServiceClass: ?[*:0]u16,
|
|
pcServiceName: ?*u32,
|
|
ServiceName: ?[*:0]u16,
|
|
pcInstanceName: ?*u32,
|
|
InstanceName: ?[*:0]u16,
|
|
pInstancePort: ?*u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsQuoteRdnValueW(
|
|
cUnquotedRdnValueLength: u32,
|
|
psUnquotedRdnValue: [*:0]const u16,
|
|
pcQuotedRdnValueLength: ?*u32,
|
|
psQuotedRdnValue: [*]u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsQuoteRdnValueA(
|
|
cUnquotedRdnValueLength: u32,
|
|
psUnquotedRdnValue: [*]const u8,
|
|
pcQuotedRdnValueLength: ?*u32,
|
|
psQuotedRdnValue: [*]u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsUnquoteRdnValueW(
|
|
cQuotedRdnValueLength: u32,
|
|
psQuotedRdnValue: [*:0]const u16,
|
|
pcUnquotedRdnValueLength: ?*u32,
|
|
psUnquotedRdnValue: [*]u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsUnquoteRdnValueA(
|
|
cQuotedRdnValueLength: u32,
|
|
psQuotedRdnValue: [*]const u8,
|
|
pcUnquotedRdnValueLength: ?*u32,
|
|
psUnquotedRdnValue: [*]u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsGetRdnW(
|
|
ppDN: [*]?PWSTR,
|
|
pcDN: ?*u32,
|
|
ppKey: ?*?PWSTR,
|
|
pcKey: ?*u32,
|
|
ppVal: ?*?PWSTR,
|
|
pcVal: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsCrackUnquotedMangledRdnW(
|
|
pszRDN: [*:0]const u16,
|
|
cchRDN: u32,
|
|
pGuid: ?*Guid,
|
|
peDsMangleFor: ?*DS_MANGLE_FOR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsCrackUnquotedMangledRdnA(
|
|
pszRDN: [*:0]const u8,
|
|
cchRDN: u32,
|
|
pGuid: ?*Guid,
|
|
peDsMangleFor: ?*DS_MANGLE_FOR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsIsMangledRdnValueW(
|
|
pszRdn: [*:0]const u16,
|
|
cRdn: u32,
|
|
eDsMangleForDesired: DS_MANGLE_FOR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsIsMangledRdnValueA(
|
|
pszRdn: [*:0]const u8,
|
|
cRdn: u32,
|
|
eDsMangleForDesired: DS_MANGLE_FOR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsIsMangledDnA(
|
|
pszDn: ?[*:0]const u8,
|
|
eDsMangleFor: DS_MANGLE_FOR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "dsparse" fn DsIsMangledDnW(
|
|
pszDn: ?[*:0]const u16,
|
|
eDsMangleFor: DS_MANGLE_FOR,
|
|
) callconv(@import("std").os.windows.WINAPI) BOOL;
|
|
|
|
pub extern "dsparse" fn DsCrackSpn2A(
|
|
pszSpn: [*:0]const u8,
|
|
cSpn: u32,
|
|
pcServiceClass: ?*u32,
|
|
ServiceClass: ?[*:0]u8,
|
|
pcServiceName: ?*u32,
|
|
ServiceName: ?[*:0]u8,
|
|
pcInstanceName: ?*u32,
|
|
InstanceName: ?[*:0]u8,
|
|
pInstancePort: ?*u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
pub extern "dsparse" fn DsCrackSpn2W(
|
|
pszSpn: [*:0]const u16,
|
|
cSpn: u32,
|
|
pcServiceClass: ?*u32,
|
|
ServiceClass: ?[*:0]u16,
|
|
pcServiceName: ?*u32,
|
|
ServiceName: ?[*:0]u16,
|
|
pcInstanceName: ?*u32,
|
|
InstanceName: ?[*:0]u16,
|
|
pInstancePort: ?*u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
pub extern "dsparse" fn DsCrackSpn3W(
|
|
pszSpn: ?[*:0]const u16,
|
|
cSpn: u32,
|
|
pcHostName: ?*u32,
|
|
HostName: [*:0]u16,
|
|
pcInstanceName: ?*u32,
|
|
InstanceName: [*:0]u16,
|
|
pPortNumber: ?*u16,
|
|
pcDomainName: ?*u32,
|
|
DomainName: [*:0]u16,
|
|
pcRealmName: ?*u32,
|
|
RealmName: [*:0]u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
pub extern "dsparse" fn DsCrackSpn4W(
|
|
pszSpn: ?[*:0]const u16,
|
|
cSpn: u32,
|
|
pcHostName: ?*u32,
|
|
HostName: [*:0]u16,
|
|
pcInstanceName: ?*u32,
|
|
InstanceName: [*:0]u16,
|
|
pcPortName: ?*u32,
|
|
PortName: [*:0]u16,
|
|
pcDomainName: ?*u32,
|
|
DomainName: [*:0]u16,
|
|
pcRealmName: ?*u32,
|
|
RealmName: [*:0]u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindW(
|
|
DomainControllerName: ?[*:0]const u16,
|
|
DnsDomainName: ?[*:0]const u16,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindA(
|
|
DomainControllerName: ?[*:0]const u8,
|
|
DnsDomainName: ?[*:0]const u8,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindWithCredW(
|
|
DomainControllerName: ?[*:0]const u16,
|
|
DnsDomainName: ?[*:0]const u16,
|
|
AuthIdentity: ?*anyopaque,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindWithCredA(
|
|
DomainControllerName: ?[*:0]const u8,
|
|
DnsDomainName: ?[*:0]const u8,
|
|
AuthIdentity: ?*anyopaque,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindWithSpnW(
|
|
DomainControllerName: ?[*:0]const u16,
|
|
DnsDomainName: ?[*:0]const u16,
|
|
AuthIdentity: ?*anyopaque,
|
|
ServicePrincipalName: ?[*:0]const u16,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindWithSpnA(
|
|
DomainControllerName: ?[*:0]const u8,
|
|
DnsDomainName: ?[*:0]const u8,
|
|
AuthIdentity: ?*anyopaque,
|
|
ServicePrincipalName: ?[*:0]const u8,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindWithSpnExW(
|
|
DomainControllerName: ?[*:0]const u16,
|
|
DnsDomainName: ?[*:0]const u16,
|
|
AuthIdentity: ?*anyopaque,
|
|
ServicePrincipalName: ?[*:0]const u16,
|
|
BindFlags: u32,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindWithSpnExA(
|
|
DomainControllerName: ?[*:0]const u8,
|
|
DnsDomainName: ?[*:0]const u8,
|
|
AuthIdentity: ?*anyopaque,
|
|
ServicePrincipalName: ?[*:0]const u8,
|
|
BindFlags: u32,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindByInstanceW(
|
|
ServerName: ?[*:0]const u16,
|
|
Annotation: ?[*:0]const u16,
|
|
InstanceGuid: ?*Guid,
|
|
DnsDomainName: ?[*:0]const u16,
|
|
AuthIdentity: ?*anyopaque,
|
|
ServicePrincipalName: ?[*:0]const u16,
|
|
BindFlags: u32,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindByInstanceA(
|
|
ServerName: ?[*:0]const u8,
|
|
Annotation: ?[*:0]const u8,
|
|
InstanceGuid: ?*Guid,
|
|
DnsDomainName: ?[*:0]const u8,
|
|
AuthIdentity: ?*anyopaque,
|
|
ServicePrincipalName: ?[*:0]const u8,
|
|
BindFlags: u32,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindToISTGW(
|
|
SiteName: ?[*:0]const u16,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindToISTGA(
|
|
SiteName: ?[*:0]const u8,
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsBindingSetTimeout(
|
|
hDS: ?HANDLE,
|
|
cTimeoutSecs: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsUnBindW(
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsUnBindA(
|
|
phDS: ?*?HANDLE,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsMakePasswordCredentialsW(
|
|
User: ?[*:0]const u16,
|
|
Domain: ?[*:0]const u16,
|
|
Password: ?[*:0]const u16,
|
|
pAuthIdentity: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsMakePasswordCredentialsA(
|
|
User: ?[*:0]const u8,
|
|
Domain: ?[*:0]const u8,
|
|
Password: ?[*:0]const u8,
|
|
pAuthIdentity: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreePasswordCredentials(
|
|
AuthIdentity: ?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsCrackNamesW(
|
|
hDS: ?HANDLE,
|
|
flags: DS_NAME_FLAGS,
|
|
formatOffered: DS_NAME_FORMAT,
|
|
formatDesired: DS_NAME_FORMAT,
|
|
cNames: u32,
|
|
rpNames: [*]const ?[*:0]const u16,
|
|
ppResult: ?*?*DS_NAME_RESULTW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsCrackNamesA(
|
|
hDS: ?HANDLE,
|
|
flags: DS_NAME_FLAGS,
|
|
formatOffered: DS_NAME_FORMAT,
|
|
formatDesired: DS_NAME_FORMAT,
|
|
cNames: u32,
|
|
rpNames: [*]const ?[*:0]const u8,
|
|
ppResult: ?*?*DS_NAME_RESULTA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreeNameResultW(
|
|
pResult: ?*DS_NAME_RESULTW,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreeNameResultA(
|
|
pResult: ?*DS_NAME_RESULTA,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsGetSpnA(
|
|
ServiceType: DS_SPN_NAME_TYPE,
|
|
ServiceClass: ?[*:0]const u8,
|
|
ServiceName: ?[*:0]const u8,
|
|
InstancePort: u16,
|
|
cInstanceNames: u16,
|
|
pInstanceNames: ?[*]?PSTR,
|
|
pInstancePorts: ?[*:0]const u16,
|
|
pcSpn: ?*u32,
|
|
prpszSpn: ?*?*?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsGetSpnW(
|
|
ServiceType: DS_SPN_NAME_TYPE,
|
|
ServiceClass: ?[*:0]const u16,
|
|
ServiceName: ?[*:0]const u16,
|
|
InstancePort: u16,
|
|
cInstanceNames: u16,
|
|
pInstanceNames: ?[*]?PWSTR,
|
|
pInstancePorts: ?[*:0]const u16,
|
|
pcSpn: ?*u32,
|
|
prpszSpn: ?*?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreeSpnArrayA(
|
|
cSpn: u32,
|
|
rpszSpn: [*]?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreeSpnArrayW(
|
|
cSpn: u32,
|
|
rpszSpn: [*]?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsWriteAccountSpnA(
|
|
hDS: ?HANDLE,
|
|
Operation: DS_SPN_WRITE_OP,
|
|
pszAccount: ?[*:0]const u8,
|
|
cSpn: u32,
|
|
rpszSpn: [*]?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsWriteAccountSpnW(
|
|
hDS: ?HANDLE,
|
|
Operation: DS_SPN_WRITE_OP,
|
|
pszAccount: ?[*:0]const u16,
|
|
cSpn: u32,
|
|
rpszSpn: [*]?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsClientMakeSpnForTargetServerW(
|
|
ServiceClass: ?[*:0]const u16,
|
|
ServiceName: ?[*:0]const u16,
|
|
pcSpnLength: ?*u32,
|
|
pszSpn: [*:0]u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsClientMakeSpnForTargetServerA(
|
|
ServiceClass: ?[*:0]const u8,
|
|
ServiceName: ?[*:0]const u8,
|
|
pcSpnLength: ?*u32,
|
|
pszSpn: [*:0]u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsServerRegisterSpnA(
|
|
Operation: DS_SPN_WRITE_OP,
|
|
ServiceClass: ?[*:0]const u8,
|
|
UserObjectDN: ?[*:0]const u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsServerRegisterSpnW(
|
|
Operation: DS_SPN_WRITE_OP,
|
|
ServiceClass: ?[*:0]const u16,
|
|
UserObjectDN: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaSyncA(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u8,
|
|
pUuidDsaSrc: ?*const Guid,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaSyncW(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u16,
|
|
pUuidDsaSrc: ?*const Guid,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaAddA(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u8,
|
|
SourceDsaDn: ?[*:0]const u8,
|
|
TransportDn: ?[*:0]const u8,
|
|
SourceDsaAddress: ?[*:0]const u8,
|
|
pSchedule: ?*const SCHEDULE,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaAddW(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u16,
|
|
SourceDsaDn: ?[*:0]const u16,
|
|
TransportDn: ?[*:0]const u16,
|
|
SourceDsaAddress: ?[*:0]const u16,
|
|
pSchedule: ?*const SCHEDULE,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaDelA(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u8,
|
|
DsaSrc: ?[*:0]const u8,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaDelW(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u16,
|
|
DsaSrc: ?[*:0]const u16,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaModifyA(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u8,
|
|
pUuidSourceDsa: ?*const Guid,
|
|
TransportDn: ?[*:0]const u8,
|
|
SourceDsaAddress: ?[*:0]const u8,
|
|
pSchedule: ?*const SCHEDULE,
|
|
ReplicaFlags: u32,
|
|
ModifyFields: u32,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaModifyW(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u16,
|
|
pUuidSourceDsa: ?*const Guid,
|
|
TransportDn: ?[*:0]const u16,
|
|
SourceDsaAddress: ?[*:0]const u16,
|
|
pSchedule: ?*const SCHEDULE,
|
|
ReplicaFlags: u32,
|
|
ModifyFields: u32,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaUpdateRefsA(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u8,
|
|
DsaDest: ?[*:0]const u8,
|
|
pUuidDsaDest: ?*const Guid,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaUpdateRefsW(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u16,
|
|
DsaDest: ?[*:0]const u16,
|
|
pUuidDsaDest: ?*const Guid,
|
|
Options: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaSyncAllA(
|
|
hDS: ?HANDLE,
|
|
pszNameContext: ?[*:0]const u8,
|
|
ulFlags: u32,
|
|
pFnCallBack: isize,
|
|
pCallbackData: ?*anyopaque,
|
|
pErrors: ?*?*?*DS_REPSYNCALL_ERRINFOA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaSyncAllW(
|
|
hDS: ?HANDLE,
|
|
pszNameContext: ?[*:0]const u16,
|
|
ulFlags: u32,
|
|
pFnCallBack: isize,
|
|
pCallbackData: ?*anyopaque,
|
|
pErrors: ?*?*?*DS_REPSYNCALL_ERRINFOW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsRemoveDsServerW(
|
|
hDs: ?HANDLE,
|
|
ServerDN: ?PWSTR,
|
|
DomainDN: ?PWSTR,
|
|
fLastDcInDomain: ?*BOOL,
|
|
fCommit: BOOL,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsRemoveDsServerA(
|
|
hDs: ?HANDLE,
|
|
ServerDN: ?PSTR,
|
|
DomainDN: ?PSTR,
|
|
fLastDcInDomain: ?*BOOL,
|
|
fCommit: BOOL,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsRemoveDsDomainW(
|
|
hDs: ?HANDLE,
|
|
DomainDN: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsRemoveDsDomainA(
|
|
hDs: ?HANDLE,
|
|
DomainDN: ?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListSitesA(
|
|
hDs: ?HANDLE,
|
|
ppSites: ?*?*DS_NAME_RESULTA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListSitesW(
|
|
hDs: ?HANDLE,
|
|
ppSites: ?*?*DS_NAME_RESULTW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListServersInSiteA(
|
|
hDs: ?HANDLE,
|
|
site: ?[*:0]const u8,
|
|
ppServers: ?*?*DS_NAME_RESULTA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListServersInSiteW(
|
|
hDs: ?HANDLE,
|
|
site: ?[*:0]const u16,
|
|
ppServers: ?*?*DS_NAME_RESULTW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListDomainsInSiteA(
|
|
hDs: ?HANDLE,
|
|
site: ?[*:0]const u8,
|
|
ppDomains: ?*?*DS_NAME_RESULTA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListDomainsInSiteW(
|
|
hDs: ?HANDLE,
|
|
site: ?[*:0]const u16,
|
|
ppDomains: ?*?*DS_NAME_RESULTW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListServersForDomainInSiteA(
|
|
hDs: ?HANDLE,
|
|
domain: ?[*:0]const u8,
|
|
site: ?[*:0]const u8,
|
|
ppServers: ?*?*DS_NAME_RESULTA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListServersForDomainInSiteW(
|
|
hDs: ?HANDLE,
|
|
domain: ?[*:0]const u16,
|
|
site: ?[*:0]const u16,
|
|
ppServers: ?*?*DS_NAME_RESULTW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListInfoForServerA(
|
|
hDs: ?HANDLE,
|
|
server: ?[*:0]const u8,
|
|
ppInfo: ?*?*DS_NAME_RESULTA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListInfoForServerW(
|
|
hDs: ?HANDLE,
|
|
server: ?[*:0]const u16,
|
|
ppInfo: ?*?*DS_NAME_RESULTW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListRolesA(
|
|
hDs: ?HANDLE,
|
|
ppRoles: ?*?*DS_NAME_RESULTA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsListRolesW(
|
|
hDs: ?HANDLE,
|
|
ppRoles: ?*?*DS_NAME_RESULTW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsQuerySitesByCostW(
|
|
hDS: ?HANDLE,
|
|
pwszFromSite: ?PWSTR,
|
|
rgwszToSites: [*]?PWSTR,
|
|
cToSites: u32,
|
|
dwFlags: u32,
|
|
prgSiteInfo: ?*?*DS_SITE_COST_INFO,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsQuerySitesByCostA(
|
|
hDS: ?HANDLE,
|
|
pszFromSite: ?PSTR,
|
|
rgszToSites: [*]?PSTR,
|
|
cToSites: u32,
|
|
dwFlags: u32,
|
|
prgSiteInfo: ?*?*DS_SITE_COST_INFO,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsQuerySitesFree(
|
|
rgSiteInfo: ?*DS_SITE_COST_INFO,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsMapSchemaGuidsA(
|
|
hDs: ?HANDLE,
|
|
cGuids: u32,
|
|
rGuids: [*]Guid,
|
|
ppGuidMap: ?*?*DS_SCHEMA_GUID_MAPA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreeSchemaGuidMapA(
|
|
pGuidMap: ?*DS_SCHEMA_GUID_MAPA,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsMapSchemaGuidsW(
|
|
hDs: ?HANDLE,
|
|
cGuids: u32,
|
|
rGuids: [*]Guid,
|
|
ppGuidMap: ?*?*DS_SCHEMA_GUID_MAPW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreeSchemaGuidMapW(
|
|
pGuidMap: ?*DS_SCHEMA_GUID_MAPW,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsGetDomainControllerInfoA(
|
|
hDs: ?HANDLE,
|
|
DomainName: ?[*:0]const u8,
|
|
InfoLevel: u32,
|
|
pcOut: ?*u32,
|
|
ppInfo: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsGetDomainControllerInfoW(
|
|
hDs: ?HANDLE,
|
|
DomainName: ?[*:0]const u16,
|
|
InfoLevel: u32,
|
|
pcOut: ?*u32,
|
|
ppInfo: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreeDomainControllerInfoA(
|
|
InfoLevel: u32,
|
|
cInfo: u32,
|
|
pInfo: [*]u8,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsFreeDomainControllerInfoW(
|
|
InfoLevel: u32,
|
|
cInfo: u32,
|
|
pInfo: [*]u8,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaConsistencyCheck(
|
|
hDS: ?HANDLE,
|
|
TaskID: DS_KCC_TASKID,
|
|
dwFlags: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaVerifyObjectsW(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u16,
|
|
pUuidDsaSrc: ?*const Guid,
|
|
ulOptions: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaVerifyObjectsA(
|
|
hDS: ?HANDLE,
|
|
NameContext: ?[*:0]const u8,
|
|
pUuidDsaSrc: ?*const Guid,
|
|
ulOptions: u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaGetInfoW(
|
|
hDS: ?HANDLE,
|
|
InfoType: DS_REPL_INFO_TYPE,
|
|
pszObject: ?[*:0]const u16,
|
|
puuidForSourceDsaObjGuid: ?*Guid,
|
|
ppInfo: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaGetInfo2W(
|
|
hDS: ?HANDLE,
|
|
InfoType: DS_REPL_INFO_TYPE,
|
|
pszObject: ?[*:0]const u16,
|
|
puuidForSourceDsaObjGuid: ?*Guid,
|
|
pszAttributeName: ?[*:0]const u16,
|
|
pszValue: ?[*:0]const u16,
|
|
dwFlags: u32,
|
|
dwEnumerationContext: u32,
|
|
ppInfo: ?*?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsReplicaFreeInfo(
|
|
InfoType: DS_REPL_INFO_TYPE,
|
|
pInfo: ?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsAddSidHistoryW(
|
|
hDS: ?HANDLE,
|
|
Flags: u32,
|
|
SrcDomain: ?[*:0]const u16,
|
|
SrcPrincipal: ?[*:0]const u16,
|
|
SrcDomainController: ?[*:0]const u16,
|
|
SrcDomainCreds: ?*anyopaque,
|
|
DstDomain: ?[*:0]const u16,
|
|
DstPrincipal: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsAddSidHistoryA(
|
|
hDS: ?HANDLE,
|
|
Flags: u32,
|
|
SrcDomain: ?[*:0]const u8,
|
|
SrcPrincipal: ?[*:0]const u8,
|
|
SrcDomainController: ?[*:0]const u8,
|
|
SrcDomainCreds: ?*anyopaque,
|
|
DstDomain: ?[*:0]const u8,
|
|
DstPrincipal: ?[*:0]const u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsInheritSecurityIdentityW(
|
|
hDS: ?HANDLE,
|
|
Flags: u32,
|
|
SrcPrincipal: ?[*:0]const u16,
|
|
DstPrincipal: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "ntdsapi" fn DsInheritSecurityIdentityA(
|
|
hDS: ?HANDLE,
|
|
Flags: u32,
|
|
SrcPrincipal: ?[*:0]const u8,
|
|
DstPrincipal: ?[*:0]const u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsRoleGetPrimaryDomainInformation(
|
|
lpServer: ?[*:0]const u16,
|
|
InfoLevel: DSROLE_PRIMARY_DOMAIN_INFO_LEVEL,
|
|
Buffer: ?*?*u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsRoleFreeMemory(
|
|
Buffer: ?*anyopaque,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcNameA(
|
|
ComputerName: ?[*:0]const u8,
|
|
DomainName: ?[*:0]const u8,
|
|
DomainGuid: ?*Guid,
|
|
SiteName: ?[*:0]const u8,
|
|
Flags: u32,
|
|
DomainControllerInfo: ?*?*DOMAIN_CONTROLLER_INFOA,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcNameW(
|
|
ComputerName: ?[*:0]const u16,
|
|
DomainName: ?[*:0]const u16,
|
|
DomainGuid: ?*Guid,
|
|
SiteName: ?[*:0]const u16,
|
|
Flags: u32,
|
|
DomainControllerInfo: ?*?*DOMAIN_CONTROLLER_INFOW,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetSiteNameA(
|
|
ComputerName: ?[*:0]const u8,
|
|
SiteName: ?*?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetSiteNameW(
|
|
ComputerName: ?[*:0]const u16,
|
|
SiteName: ?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsValidateSubnetNameW(
|
|
SubnetName: ?[*:0]const u16,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsValidateSubnetNameA(
|
|
SubnetName: ?[*:0]const u8,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsAddressToSiteNamesW(
|
|
ComputerName: ?[*:0]const u16,
|
|
EntryCount: u32,
|
|
SocketAddresses: [*]SOCKET_ADDRESS,
|
|
SiteNames: ?*?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsAddressToSiteNamesA(
|
|
ComputerName: ?[*:0]const u8,
|
|
EntryCount: u32,
|
|
SocketAddresses: [*]SOCKET_ADDRESS,
|
|
SiteNames: ?*?*?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsAddressToSiteNamesExW(
|
|
ComputerName: ?[*:0]const u16,
|
|
EntryCount: u32,
|
|
SocketAddresses: [*]SOCKET_ADDRESS,
|
|
SiteNames: ?*?*?PWSTR,
|
|
SubnetNames: ?*?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsAddressToSiteNamesExA(
|
|
ComputerName: ?[*:0]const u8,
|
|
EntryCount: u32,
|
|
SocketAddresses: [*]SOCKET_ADDRESS,
|
|
SiteNames: ?*?*?PSTR,
|
|
SubnetNames: ?*?*?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsEnumerateDomainTrustsW(
|
|
ServerName: ?PWSTR,
|
|
Flags: u32,
|
|
Domains: ?*?*DS_DOMAIN_TRUSTSW,
|
|
DomainCount: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsEnumerateDomainTrustsA(
|
|
ServerName: ?PSTR,
|
|
Flags: u32,
|
|
Domains: ?*?*DS_DOMAIN_TRUSTSA,
|
|
DomainCount: ?*u32,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetForestTrustInformationW(
|
|
ServerName: ?[*:0]const u16,
|
|
TrustedDomainName: ?[*:0]const u16,
|
|
Flags: u32,
|
|
ForestTrustInfo: ?*?*LSA_FOREST_TRUST_INFORMATION,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsMergeForestTrustInformationW(
|
|
DomainName: ?[*:0]const u16,
|
|
NewForestTrustInfo: ?*LSA_FOREST_TRUST_INFORMATION,
|
|
OldForestTrustInfo: ?*LSA_FOREST_TRUST_INFORMATION,
|
|
MergedForestTrustInfo: ?*?*LSA_FOREST_TRUST_INFORMATION,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcSiteCoverageW(
|
|
ServerName: ?[*:0]const u16,
|
|
EntryCount: ?*u32,
|
|
SiteNames: ?*?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcSiteCoverageA(
|
|
ServerName: ?[*:0]const u8,
|
|
EntryCount: ?*u32,
|
|
SiteNames: ?*?*?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsDeregisterDnsHostRecordsW(
|
|
ServerName: ?PWSTR,
|
|
DnsDomainName: ?PWSTR,
|
|
DomainGuid: ?*Guid,
|
|
DsaGuid: ?*Guid,
|
|
DnsHostName: ?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsDeregisterDnsHostRecordsA(
|
|
ServerName: ?PSTR,
|
|
DnsDomainName: ?PSTR,
|
|
DomainGuid: ?*Guid,
|
|
DsaGuid: ?*Guid,
|
|
DnsHostName: ?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcOpenW(
|
|
DnsName: ?[*:0]const u16,
|
|
OptionFlags: u32,
|
|
SiteName: ?[*:0]const u16,
|
|
DomainGuid: ?*Guid,
|
|
DnsForestName: ?[*:0]const u16,
|
|
DcFlags: u32,
|
|
RetGetDcContext: ?*GetDcContextHandle,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcOpenA(
|
|
DnsName: ?[*:0]const u8,
|
|
OptionFlags: u32,
|
|
SiteName: ?[*:0]const u8,
|
|
DomainGuid: ?*Guid,
|
|
DnsForestName: ?[*:0]const u8,
|
|
DcFlags: u32,
|
|
RetGetDcContext: ?*GetDcContextHandle,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcNextW(
|
|
GetDcContextHandle: ?HANDLE,
|
|
SockAddressCount: ?*u32,
|
|
SockAddresses: ?*?*SOCKET_ADDRESS,
|
|
DnsHostName: ?*?PWSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcNextA(
|
|
GetDcContextHandle: ?HANDLE,
|
|
SockAddressCount: ?*u32,
|
|
SockAddresses: ?*?*SOCKET_ADDRESS,
|
|
DnsHostName: ?*?PSTR,
|
|
) callconv(@import("std").os.windows.WINAPI) u32;
|
|
|
|
// TODO: this type is limited to platform 'windows6.0.6000'
|
|
pub extern "netapi32" fn DsGetDcCloseW(
|
|
GetDcContextHandle: GetDcContextHandle,
|
|
) callconv(@import("std").os.windows.WINAPI) void;
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
// Section: Unicode Aliases (69)
|
|
//--------------------------------------------------------------------------------
|
|
const thismodule = @This();
|
|
pub usingnamespace switch (@import("../zig.zig").unicode_mode) {
|
|
.ansi => struct {
|
|
pub const DSBROWSEINFO = thismodule.DSBROWSEINFOA;
|
|
pub const DSBITEM = thismodule.DSBITEMA;
|
|
pub const DS_NAME_RESULT_ITEM = thismodule.DS_NAME_RESULT_ITEMA;
|
|
pub const DS_NAME_RESULT = thismodule.DS_NAME_RESULTA;
|
|
pub const DS_REPSYNCALL_SYNC = thismodule.DS_REPSYNCALL_SYNCA;
|
|
pub const DS_REPSYNCALL_ERRINFO = thismodule.DS_REPSYNCALL_ERRINFOA;
|
|
pub const DS_REPSYNCALL_UPDATE = thismodule.DS_REPSYNCALL_UPDATEA;
|
|
pub const DS_SCHEMA_GUID_MAP = thismodule.DS_SCHEMA_GUID_MAPA;
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_1 = thismodule.DS_DOMAIN_CONTROLLER_INFO_1A;
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_2 = thismodule.DS_DOMAIN_CONTROLLER_INFO_2A;
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_3 = thismodule.DS_DOMAIN_CONTROLLER_INFO_3A;
|
|
pub const DOMAIN_CONTROLLER_INFO = thismodule.DOMAIN_CONTROLLER_INFOA;
|
|
pub const DS_DOMAIN_TRUSTS = thismodule.DS_DOMAIN_TRUSTSA;
|
|
pub const DsBrowseForContainer = thismodule.DsBrowseForContainerA;
|
|
pub const DsMakeSpn = thismodule.DsMakeSpnA;
|
|
pub const DsCrackSpn = thismodule.DsCrackSpnA;
|
|
pub const DsQuoteRdnValue = thismodule.DsQuoteRdnValueA;
|
|
pub const DsUnquoteRdnValue = thismodule.DsUnquoteRdnValueA;
|
|
pub const DsCrackUnquotedMangledRdn = thismodule.DsCrackUnquotedMangledRdnA;
|
|
pub const DsIsMangledRdnValue = thismodule.DsIsMangledRdnValueA;
|
|
pub const DsIsMangledDn = thismodule.DsIsMangledDnA;
|
|
pub const DsCrackSpn2 = thismodule.DsCrackSpn2A;
|
|
pub const DsBind = thismodule.DsBindA;
|
|
pub const DsBindWithCred = thismodule.DsBindWithCredA;
|
|
pub const DsBindWithSpn = thismodule.DsBindWithSpnA;
|
|
pub const DsBindWithSpnEx = thismodule.DsBindWithSpnExA;
|
|
pub const DsBindByInstance = thismodule.DsBindByInstanceA;
|
|
pub const DsBindToISTG = thismodule.DsBindToISTGA;
|
|
pub const DsUnBind = thismodule.DsUnBindA;
|
|
pub const DsMakePasswordCredentials = thismodule.DsMakePasswordCredentialsA;
|
|
pub const DsCrackNames = thismodule.DsCrackNamesA;
|
|
pub const DsFreeNameResult = thismodule.DsFreeNameResultA;
|
|
pub const DsGetSpn = thismodule.DsGetSpnA;
|
|
pub const DsFreeSpnArray = thismodule.DsFreeSpnArrayA;
|
|
pub const DsWriteAccountSpn = thismodule.DsWriteAccountSpnA;
|
|
pub const DsClientMakeSpnForTargetServer = thismodule.DsClientMakeSpnForTargetServerA;
|
|
pub const DsServerRegisterSpn = thismodule.DsServerRegisterSpnA;
|
|
pub const DsReplicaSync = thismodule.DsReplicaSyncA;
|
|
pub const DsReplicaAdd = thismodule.DsReplicaAddA;
|
|
pub const DsReplicaDel = thismodule.DsReplicaDelA;
|
|
pub const DsReplicaModify = thismodule.DsReplicaModifyA;
|
|
pub const DsReplicaUpdateRefs = thismodule.DsReplicaUpdateRefsA;
|
|
pub const DsReplicaSyncAll = thismodule.DsReplicaSyncAllA;
|
|
pub const DsRemoveDsServer = thismodule.DsRemoveDsServerA;
|
|
pub const DsRemoveDsDomain = thismodule.DsRemoveDsDomainA;
|
|
pub const DsListSites = thismodule.DsListSitesA;
|
|
pub const DsListServersInSite = thismodule.DsListServersInSiteA;
|
|
pub const DsListDomainsInSite = thismodule.DsListDomainsInSiteA;
|
|
pub const DsListServersForDomainInSite = thismodule.DsListServersForDomainInSiteA;
|
|
pub const DsListInfoForServer = thismodule.DsListInfoForServerA;
|
|
pub const DsListRoles = thismodule.DsListRolesA;
|
|
pub const DsQuerySitesByCost = thismodule.DsQuerySitesByCostA;
|
|
pub const DsMapSchemaGuids = thismodule.DsMapSchemaGuidsA;
|
|
pub const DsFreeSchemaGuidMap = thismodule.DsFreeSchemaGuidMapA;
|
|
pub const DsGetDomainControllerInfo = thismodule.DsGetDomainControllerInfoA;
|
|
pub const DsFreeDomainControllerInfo = thismodule.DsFreeDomainControllerInfoA;
|
|
pub const DsReplicaVerifyObjects = thismodule.DsReplicaVerifyObjectsA;
|
|
pub const DsAddSidHistory = thismodule.DsAddSidHistoryA;
|
|
pub const DsInheritSecurityIdentity = thismodule.DsInheritSecurityIdentityA;
|
|
pub const DsGetDcName = thismodule.DsGetDcNameA;
|
|
pub const DsGetSiteName = thismodule.DsGetSiteNameA;
|
|
pub const DsValidateSubnetName = thismodule.DsValidateSubnetNameA;
|
|
pub const DsAddressToSiteNames = thismodule.DsAddressToSiteNamesA;
|
|
pub const DsAddressToSiteNamesEx = thismodule.DsAddressToSiteNamesExA;
|
|
pub const DsEnumerateDomainTrusts = thismodule.DsEnumerateDomainTrustsA;
|
|
pub const DsGetDcSiteCoverage = thismodule.DsGetDcSiteCoverageA;
|
|
pub const DsDeregisterDnsHostRecords = thismodule.DsDeregisterDnsHostRecordsA;
|
|
pub const DsGetDcOpen = thismodule.DsGetDcOpenA;
|
|
pub const DsGetDcNext = thismodule.DsGetDcNextA;
|
|
},
|
|
.wide => struct {
|
|
pub const DSBROWSEINFO = thismodule.DSBROWSEINFOW;
|
|
pub const DSBITEM = thismodule.DSBITEMW;
|
|
pub const DS_NAME_RESULT_ITEM = thismodule.DS_NAME_RESULT_ITEMW;
|
|
pub const DS_NAME_RESULT = thismodule.DS_NAME_RESULTW;
|
|
pub const DS_REPSYNCALL_SYNC = thismodule.DS_REPSYNCALL_SYNCW;
|
|
pub const DS_REPSYNCALL_ERRINFO = thismodule.DS_REPSYNCALL_ERRINFOW;
|
|
pub const DS_REPSYNCALL_UPDATE = thismodule.DS_REPSYNCALL_UPDATEW;
|
|
pub const DS_SCHEMA_GUID_MAP = thismodule.DS_SCHEMA_GUID_MAPW;
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_1 = thismodule.DS_DOMAIN_CONTROLLER_INFO_1W;
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_2 = thismodule.DS_DOMAIN_CONTROLLER_INFO_2W;
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_3 = thismodule.DS_DOMAIN_CONTROLLER_INFO_3W;
|
|
pub const DOMAIN_CONTROLLER_INFO = thismodule.DOMAIN_CONTROLLER_INFOW;
|
|
pub const DS_DOMAIN_TRUSTS = thismodule.DS_DOMAIN_TRUSTSW;
|
|
pub const DsBrowseForContainer = thismodule.DsBrowseForContainerW;
|
|
pub const DsMakeSpn = thismodule.DsMakeSpnW;
|
|
pub const DsCrackSpn = thismodule.DsCrackSpnW;
|
|
pub const DsQuoteRdnValue = thismodule.DsQuoteRdnValueW;
|
|
pub const DsUnquoteRdnValue = thismodule.DsUnquoteRdnValueW;
|
|
pub const DsCrackUnquotedMangledRdn = thismodule.DsCrackUnquotedMangledRdnW;
|
|
pub const DsIsMangledRdnValue = thismodule.DsIsMangledRdnValueW;
|
|
pub const DsIsMangledDn = thismodule.DsIsMangledDnW;
|
|
pub const DsCrackSpn2 = thismodule.DsCrackSpn2W;
|
|
pub const DsBind = thismodule.DsBindW;
|
|
pub const DsBindWithCred = thismodule.DsBindWithCredW;
|
|
pub const DsBindWithSpn = thismodule.DsBindWithSpnW;
|
|
pub const DsBindWithSpnEx = thismodule.DsBindWithSpnExW;
|
|
pub const DsBindByInstance = thismodule.DsBindByInstanceW;
|
|
pub const DsBindToISTG = thismodule.DsBindToISTGW;
|
|
pub const DsUnBind = thismodule.DsUnBindW;
|
|
pub const DsMakePasswordCredentials = thismodule.DsMakePasswordCredentialsW;
|
|
pub const DsCrackNames = thismodule.DsCrackNamesW;
|
|
pub const DsFreeNameResult = thismodule.DsFreeNameResultW;
|
|
pub const DsGetSpn = thismodule.DsGetSpnW;
|
|
pub const DsFreeSpnArray = thismodule.DsFreeSpnArrayW;
|
|
pub const DsWriteAccountSpn = thismodule.DsWriteAccountSpnW;
|
|
pub const DsClientMakeSpnForTargetServer = thismodule.DsClientMakeSpnForTargetServerW;
|
|
pub const DsServerRegisterSpn = thismodule.DsServerRegisterSpnW;
|
|
pub const DsReplicaSync = thismodule.DsReplicaSyncW;
|
|
pub const DsReplicaAdd = thismodule.DsReplicaAddW;
|
|
pub const DsReplicaDel = thismodule.DsReplicaDelW;
|
|
pub const DsReplicaModify = thismodule.DsReplicaModifyW;
|
|
pub const DsReplicaUpdateRefs = thismodule.DsReplicaUpdateRefsW;
|
|
pub const DsReplicaSyncAll = thismodule.DsReplicaSyncAllW;
|
|
pub const DsRemoveDsServer = thismodule.DsRemoveDsServerW;
|
|
pub const DsRemoveDsDomain = thismodule.DsRemoveDsDomainW;
|
|
pub const DsListSites = thismodule.DsListSitesW;
|
|
pub const DsListServersInSite = thismodule.DsListServersInSiteW;
|
|
pub const DsListDomainsInSite = thismodule.DsListDomainsInSiteW;
|
|
pub const DsListServersForDomainInSite = thismodule.DsListServersForDomainInSiteW;
|
|
pub const DsListInfoForServer = thismodule.DsListInfoForServerW;
|
|
pub const DsListRoles = thismodule.DsListRolesW;
|
|
pub const DsQuerySitesByCost = thismodule.DsQuerySitesByCostW;
|
|
pub const DsMapSchemaGuids = thismodule.DsMapSchemaGuidsW;
|
|
pub const DsFreeSchemaGuidMap = thismodule.DsFreeSchemaGuidMapW;
|
|
pub const DsGetDomainControllerInfo = thismodule.DsGetDomainControllerInfoW;
|
|
pub const DsFreeDomainControllerInfo = thismodule.DsFreeDomainControllerInfoW;
|
|
pub const DsReplicaVerifyObjects = thismodule.DsReplicaVerifyObjectsW;
|
|
pub const DsAddSidHistory = thismodule.DsAddSidHistoryW;
|
|
pub const DsInheritSecurityIdentity = thismodule.DsInheritSecurityIdentityW;
|
|
pub const DsGetDcName = thismodule.DsGetDcNameW;
|
|
pub const DsGetSiteName = thismodule.DsGetSiteNameW;
|
|
pub const DsValidateSubnetName = thismodule.DsValidateSubnetNameW;
|
|
pub const DsAddressToSiteNames = thismodule.DsAddressToSiteNamesW;
|
|
pub const DsAddressToSiteNamesEx = thismodule.DsAddressToSiteNamesExW;
|
|
pub const DsEnumerateDomainTrusts = thismodule.DsEnumerateDomainTrustsW;
|
|
pub const DsGetDcSiteCoverage = thismodule.DsGetDcSiteCoverageW;
|
|
pub const DsDeregisterDnsHostRecords = thismodule.DsDeregisterDnsHostRecordsW;
|
|
pub const DsGetDcOpen = thismodule.DsGetDcOpenW;
|
|
pub const DsGetDcNext = thismodule.DsGetDcNextW;
|
|
},
|
|
.unspecified => if (@import("builtin").is_test) struct {
|
|
pub const DSBROWSEINFO = *opaque{};
|
|
pub const DSBITEM = *opaque{};
|
|
pub const DS_NAME_RESULT_ITEM = *opaque{};
|
|
pub const DS_NAME_RESULT = *opaque{};
|
|
pub const DS_REPSYNCALL_SYNC = *opaque{};
|
|
pub const DS_REPSYNCALL_ERRINFO = *opaque{};
|
|
pub const DS_REPSYNCALL_UPDATE = *opaque{};
|
|
pub const DS_SCHEMA_GUID_MAP = *opaque{};
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_1 = *opaque{};
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_2 = *opaque{};
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_3 = *opaque{};
|
|
pub const DOMAIN_CONTROLLER_INFO = *opaque{};
|
|
pub const DS_DOMAIN_TRUSTS = *opaque{};
|
|
pub const DsBrowseForContainer = *opaque{};
|
|
pub const DsMakeSpn = *opaque{};
|
|
pub const DsCrackSpn = *opaque{};
|
|
pub const DsQuoteRdnValue = *opaque{};
|
|
pub const DsUnquoteRdnValue = *opaque{};
|
|
pub const DsCrackUnquotedMangledRdn = *opaque{};
|
|
pub const DsIsMangledRdnValue = *opaque{};
|
|
pub const DsIsMangledDn = *opaque{};
|
|
pub const DsCrackSpn2 = *opaque{};
|
|
pub const DsBind = *opaque{};
|
|
pub const DsBindWithCred = *opaque{};
|
|
pub const DsBindWithSpn = *opaque{};
|
|
pub const DsBindWithSpnEx = *opaque{};
|
|
pub const DsBindByInstance = *opaque{};
|
|
pub const DsBindToISTG = *opaque{};
|
|
pub const DsUnBind = *opaque{};
|
|
pub const DsMakePasswordCredentials = *opaque{};
|
|
pub const DsCrackNames = *opaque{};
|
|
pub const DsFreeNameResult = *opaque{};
|
|
pub const DsGetSpn = *opaque{};
|
|
pub const DsFreeSpnArray = *opaque{};
|
|
pub const DsWriteAccountSpn = *opaque{};
|
|
pub const DsClientMakeSpnForTargetServer = *opaque{};
|
|
pub const DsServerRegisterSpn = *opaque{};
|
|
pub const DsReplicaSync = *opaque{};
|
|
pub const DsReplicaAdd = *opaque{};
|
|
pub const DsReplicaDel = *opaque{};
|
|
pub const DsReplicaModify = *opaque{};
|
|
pub const DsReplicaUpdateRefs = *opaque{};
|
|
pub const DsReplicaSyncAll = *opaque{};
|
|
pub const DsRemoveDsServer = *opaque{};
|
|
pub const DsRemoveDsDomain = *opaque{};
|
|
pub const DsListSites = *opaque{};
|
|
pub const DsListServersInSite = *opaque{};
|
|
pub const DsListDomainsInSite = *opaque{};
|
|
pub const DsListServersForDomainInSite = *opaque{};
|
|
pub const DsListInfoForServer = *opaque{};
|
|
pub const DsListRoles = *opaque{};
|
|
pub const DsQuerySitesByCost = *opaque{};
|
|
pub const DsMapSchemaGuids = *opaque{};
|
|
pub const DsFreeSchemaGuidMap = *opaque{};
|
|
pub const DsGetDomainControllerInfo = *opaque{};
|
|
pub const DsFreeDomainControllerInfo = *opaque{};
|
|
pub const DsReplicaVerifyObjects = *opaque{};
|
|
pub const DsAddSidHistory = *opaque{};
|
|
pub const DsInheritSecurityIdentity = *opaque{};
|
|
pub const DsGetDcName = *opaque{};
|
|
pub const DsGetSiteName = *opaque{};
|
|
pub const DsValidateSubnetName = *opaque{};
|
|
pub const DsAddressToSiteNames = *opaque{};
|
|
pub const DsAddressToSiteNamesEx = *opaque{};
|
|
pub const DsEnumerateDomainTrusts = *opaque{};
|
|
pub const DsGetDcSiteCoverage = *opaque{};
|
|
pub const DsDeregisterDnsHostRecords = *opaque{};
|
|
pub const DsGetDcOpen = *opaque{};
|
|
pub const DsGetDcNext = *opaque{};
|
|
} else struct {
|
|
pub const DSBROWSEINFO = @compileError("'DSBROWSEINFO' requires that UNICODE be set to true or false in the root module");
|
|
pub const DSBITEM = @compileError("'DSBITEM' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_NAME_RESULT_ITEM = @compileError("'DS_NAME_RESULT_ITEM' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_NAME_RESULT = @compileError("'DS_NAME_RESULT' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_REPSYNCALL_SYNC = @compileError("'DS_REPSYNCALL_SYNC' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_REPSYNCALL_ERRINFO = @compileError("'DS_REPSYNCALL_ERRINFO' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_REPSYNCALL_UPDATE = @compileError("'DS_REPSYNCALL_UPDATE' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_SCHEMA_GUID_MAP = @compileError("'DS_SCHEMA_GUID_MAP' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_1 = @compileError("'DS_DOMAIN_CONTROLLER_INFO_1' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_2 = @compileError("'DS_DOMAIN_CONTROLLER_INFO_2' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_DOMAIN_CONTROLLER_INFO_3 = @compileError("'DS_DOMAIN_CONTROLLER_INFO_3' requires that UNICODE be set to true or false in the root module");
|
|
pub const DOMAIN_CONTROLLER_INFO = @compileError("'DOMAIN_CONTROLLER_INFO' requires that UNICODE be set to true or false in the root module");
|
|
pub const DS_DOMAIN_TRUSTS = @compileError("'DS_DOMAIN_TRUSTS' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsBrowseForContainer = @compileError("'DsBrowseForContainer' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsMakeSpn = @compileError("'DsMakeSpn' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsCrackSpn = @compileError("'DsCrackSpn' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsQuoteRdnValue = @compileError("'DsQuoteRdnValue' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsUnquoteRdnValue = @compileError("'DsUnquoteRdnValue' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsCrackUnquotedMangledRdn = @compileError("'DsCrackUnquotedMangledRdn' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsIsMangledRdnValue = @compileError("'DsIsMangledRdnValue' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsIsMangledDn = @compileError("'DsIsMangledDn' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsCrackSpn2 = @compileError("'DsCrackSpn2' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsBind = @compileError("'DsBind' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsBindWithCred = @compileError("'DsBindWithCred' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsBindWithSpn = @compileError("'DsBindWithSpn' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsBindWithSpnEx = @compileError("'DsBindWithSpnEx' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsBindByInstance = @compileError("'DsBindByInstance' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsBindToISTG = @compileError("'DsBindToISTG' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsUnBind = @compileError("'DsUnBind' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsMakePasswordCredentials = @compileError("'DsMakePasswordCredentials' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsCrackNames = @compileError("'DsCrackNames' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsFreeNameResult = @compileError("'DsFreeNameResult' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsGetSpn = @compileError("'DsGetSpn' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsFreeSpnArray = @compileError("'DsFreeSpnArray' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsWriteAccountSpn = @compileError("'DsWriteAccountSpn' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsClientMakeSpnForTargetServer = @compileError("'DsClientMakeSpnForTargetServer' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsServerRegisterSpn = @compileError("'DsServerRegisterSpn' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsReplicaSync = @compileError("'DsReplicaSync' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsReplicaAdd = @compileError("'DsReplicaAdd' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsReplicaDel = @compileError("'DsReplicaDel' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsReplicaModify = @compileError("'DsReplicaModify' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsReplicaUpdateRefs = @compileError("'DsReplicaUpdateRefs' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsReplicaSyncAll = @compileError("'DsReplicaSyncAll' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsRemoveDsServer = @compileError("'DsRemoveDsServer' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsRemoveDsDomain = @compileError("'DsRemoveDsDomain' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsListSites = @compileError("'DsListSites' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsListServersInSite = @compileError("'DsListServersInSite' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsListDomainsInSite = @compileError("'DsListDomainsInSite' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsListServersForDomainInSite = @compileError("'DsListServersForDomainInSite' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsListInfoForServer = @compileError("'DsListInfoForServer' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsListRoles = @compileError("'DsListRoles' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsQuerySitesByCost = @compileError("'DsQuerySitesByCost' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsMapSchemaGuids = @compileError("'DsMapSchemaGuids' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsFreeSchemaGuidMap = @compileError("'DsFreeSchemaGuidMap' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsGetDomainControllerInfo = @compileError("'DsGetDomainControllerInfo' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsFreeDomainControllerInfo = @compileError("'DsFreeDomainControllerInfo' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsReplicaVerifyObjects = @compileError("'DsReplicaVerifyObjects' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsAddSidHistory = @compileError("'DsAddSidHistory' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsInheritSecurityIdentity = @compileError("'DsInheritSecurityIdentity' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsGetDcName = @compileError("'DsGetDcName' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsGetSiteName = @compileError("'DsGetSiteName' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsValidateSubnetName = @compileError("'DsValidateSubnetName' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsAddressToSiteNames = @compileError("'DsAddressToSiteNames' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsAddressToSiteNamesEx = @compileError("'DsAddressToSiteNamesEx' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsEnumerateDomainTrusts = @compileError("'DsEnumerateDomainTrusts' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsGetDcSiteCoverage = @compileError("'DsGetDcSiteCoverage' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsDeregisterDnsHostRecords = @compileError("'DsDeregisterDnsHostRecords' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsGetDcOpen = @compileError("'DsGetDcOpen' requires that UNICODE be set to true or false in the root module");
|
|
pub const DsGetDcNext = @compileError("'DsGetDcNext' requires that UNICODE be set to true or false in the root module");
|
|
},
|
|
};
|
|
//--------------------------------------------------------------------------------
|
|
// Section: Imports (35)
|
|
//--------------------------------------------------------------------------------
|
|
const Guid = @import("../zig.zig").Guid;
|
|
const BFFCALLBACK = @import("../ui/shell.zig").BFFCALLBACK;
|
|
const BOOL = @import("../foundation.zig").BOOL;
|
|
const BOOLEAN = @import("../foundation.zig").BOOLEAN;
|
|
const BSTR = @import("../foundation.zig").BSTR;
|
|
const CHAR = @import("../foundation.zig").CHAR;
|
|
const DISPPARAMS = @import("../system/com.zig").DISPPARAMS;
|
|
const DLGPROC = @import("../ui/windows_and_messaging.zig").DLGPROC;
|
|
const EXCEPINFO = @import("../system/com.zig").EXCEPINFO;
|
|
const FILETIME = @import("../foundation.zig").FILETIME;
|
|
const HANDLE = @import("../foundation.zig").HANDLE;
|
|
const HICON = @import("../ui/windows_and_messaging.zig").HICON;
|
|
const HINSTANCE = @import("../foundation.zig").HINSTANCE;
|
|
const HKEY = @import("../system/registry.zig").HKEY;
|
|
const HRESULT = @import("../foundation.zig").HRESULT;
|
|
const HWND = @import("../foundation.zig").HWND;
|
|
const IDataObject = @import("../system/com.zig").IDataObject;
|
|
const IDispatch = @import("../system/com.zig").IDispatch;
|
|
const IEnumVARIANT = @import("../system/ole.zig").IEnumVARIANT;
|
|
const IPersist = @import("../system/com.zig").IPersist;
|
|
const IPropertyBag = @import("../system/com/structured_storage.zig").IPropertyBag;
|
|
const ITypeInfo = @import("../system/com.zig").ITypeInfo;
|
|
const IUnknown = @import("../system/com.zig").IUnknown;
|
|
const LARGE_INTEGER = @import("../foundation.zig").LARGE_INTEGER;
|
|
const LPARAM = @import("../foundation.zig").LPARAM;
|
|
const LPFNSVADDPROPSHEETPAGE = @import("../ui/controls.zig").LPFNSVADDPROPSHEETPAGE;
|
|
const LSA_FOREST_TRUST_INFORMATION = @import("../security/authentication/identity.zig").LSA_FOREST_TRUST_INFORMATION;
|
|
const PSECURITY_DESCRIPTOR = @import("../security.zig").PSECURITY_DESCRIPTOR;
|
|
const PSID = @import("../foundation.zig").PSID;
|
|
const PSTR = @import("../foundation.zig").PSTR;
|
|
const PWSTR = @import("../foundation.zig").PWSTR;
|
|
const SOCKET_ADDRESS = @import("../networking/win_sock.zig").SOCKET_ADDRESS;
|
|
const SYSTEMTIME = @import("../foundation.zig").SYSTEMTIME;
|
|
const VARIANT = @import("../system/com.zig").VARIANT;
|
|
const WPARAM = @import("../foundation.zig").WPARAM;
|
|
|
|
test {
|
|
// The following '_ = <FuncPtrType>' lines are a workaround for https://github.com/ziglang/zig/issues/4476
|
|
if (@hasDecl(@This(), "LPCQADDFORMSPROC")) { _ = LPCQADDFORMSPROC; }
|
|
if (@hasDecl(@This(), "LPCQADDPAGESPROC")) { _ = LPCQADDPAGESPROC; }
|
|
if (@hasDecl(@This(), "LPCQPAGEPROC")) { _ = LPCQPAGEPROC; }
|
|
if (@hasDecl(@This(), "LPDSENUMATTRIBUTES")) { _ = LPDSENUMATTRIBUTES; }
|
|
|
|
@setEvalBranchQuota(
|
|
comptime @import("std").meta.declarations(@This()).len * 3
|
|
);
|
|
|
|
// reference all the pub declarations
|
|
if (!@import("builtin").is_test) return;
|
|
inline for (comptime @import("std").meta.declarations(@This())) |decl| {
|
|
_ = @field(@This(), decl.name);
|
|
}
|
|
}
|