*
* maybe the bind_guid could also be the invocation_id see drsuapi_DsReplicaConnection04
*/
- const string DRSUAPI_DS_BIND_GUID = "e24d201a-4fd6-11d1-a3da-0000f875ae0d";
+ const char *DRSUAPI_DS_BIND_GUID = "e24d201a-4fd6-11d1-a3da-0000f875ae0d";
/*
* this magic guid are needed to fetch the whole tree with drsuapi_DsGetNCChanges()
*/
- const string DRSUAPI_DS_BIND_GUID_W2K = "6abec3d1-3054-41c8-a362-5a0c5b7d5d71";
- const string DRSUAPI_DS_BIND_GUID_W2K3 = "6afab99c-6e26-464a-975f-f58f105218bc";
+ const char *DRSUAPI_DS_BIND_GUID_W2K = "6abec3d1-3054-41c8-a362-5a0c5b7d5d71";
+ const char *DRSUAPI_DS_BIND_GUID_W2K3 = "6afab99c-6e26-464a-975f-f58f105218bc";
WERROR drsuapi_DsBind(
[in,unique] GUID *bind_guid,
typedef struct {
[ref] drsuapi_DsReplicaObjectIdentifier *naming_context;
- [ref] ascstr *dest_dsa_dns_name;
+ [ref,charset(DOS),string] uint8 *dest_dsa_dns_name;
GUID dest_dsa_guid;
drsuapi_DsReplicaUpdateRefsOptions options;
} drsuapi_DsReplicaUpdateRefsRequest1;
*/
#define astring15 [flag(STR_ASCII|STR_FIXLEN15)] string
-/*
- an ascii string prefixed with [size] [offset] [length], all 32 bits
- null terminated
-*/
-#define ascstr [flag(STR_ASCII|STR_SIZE4|STR_LEN4)] string
-
/*
an ascii string prefixed with [offset] [length], both 32 bits
null terminated
WERROR mgmt_inq_princ_name (
[in] uint32 authn_proto,
[in] uint32 princ_name_size,
- [out] ascstr princ_name
+ [out] [string,charset(DOS)] uint8 princ_name[]
);
}