6 uuid("d049b186-814f-11d1-9a3c-00c04fc9b232"),
8 endpoint("ncacn_ip_tcp:", "ncalrpc:"),
9 helpstring("File Replication API"),
10 pointer_default(unique)
16 [todo
] void FRSAPI_VERIFY_PROMOTION
();
20 [todo
] void FRSAPI_PROMOTION_STATUS
();
24 [todo
] void FRSAPI_START_DEMOTION
();
28 [todo
] void FRSAPI_COMMIT_DEMOTION
();
33 /* The DsPollingLongInterval and DsPollingShortInterval attributes
34 represent registry attributes below HKLM\System\CCS\Services\NtFrs */
36 WERROR frsapi_SetDsPollingIntervalW
(
37 [in] uint32 CurrentInterval
,
38 [in] uint32 DsPollingLongInterval
,
39 [in] uint32 DsPollingShortInterval
44 WERROR frsapi_GetDsPollingIntervalW
(
45 [out] uint32
*CurrentInterval
,
46 [out] uint32
*DsPollingLongInterval
,
47 [out] uint32
*DsPollingShortInterval
52 [todo
] void FRSAPI_VERIFY_PROMOTION_W
();
56 typedef [v1_enum] enum {
57 FRSAPI_INFO_VERSION
= 0,
60 FRSAPI_INFO_MEMORY
= 3,
61 FRSAPI_INFO_IDTABLE
= 4,
62 FRSAPI_INFO_OUTLOG
= 5,
63 FRSAPI_INFO_INLOG
= 6,
64 FRSAPI_INFO_THREADS
= 7,
65 FRSAPI_INFO_STAGE
= 8,
66 FRSAPI_INFO_CONFIGTABLE
= 9
74 frsapi_InfoEnum level
;
79 /* [size_is(length-offset)] uint8 *data; */
80 [subcontext_size
(length
-offset
),subcontext
(0),flag
(NDR_REMAINING
)] DATA_BLOB blob
;
84 [in] [range(0,0x10000)] uint32 length
,
85 /* [in,out] [size_is(length)] [unique] uint8 *data */
86 [in,out,unique] frsapi_Info
*info
92 typedef [v1_enum] enum {
93 FRSAPI_REPLICA_SET_TYPE_0
= 0x00000000,
94 FRSAPI_REPLICA_SET_TYPE_DOMAIN
= 0x00000002,
95 FRSAPI_REPLICA_SET_TYPE_DFS
= 0x00000003
96 } frsapi_ReplicaSetType
;
98 WERROR frsapi_IsPathReplicated
(
99 [in,unique] [string,charset
(UTF16
)] uint16
*path
,
100 [in] frsapi_ReplicaSetType replica_set_type
,
101 [out] uint32
*unknown1
,
102 [out] uint32
*unknown2
,
103 [out] uint32
*unknown3
,
104 [out] GUID
*replica_set_guid
109 [todo
] void FRSAPI_WRITER_COMMAND
();
113 /* not supported before w2k3 sp2 */
114 WERROR frsapi_ForceReplication
(
115 [in,unique] GUID
*guid1
,
116 [in,unique] GUID
*guid2
,
117 [in,unique] [charset
(UTF16
),string] uint16
*replica_set
,
118 [in,unique] [charset
(UTF16
),string] uint16
*partner_name