2006-12-29 00:00:51 +03:00
#include "idl_types.h"
2006-12-29 10:31:04 +03:00
import "misc.idl";
2006-12-29 00:00:51 +03:00
[
2006-08-16 18:49:22 +04:00
uuid("f5cc59b4-4264-101a-8c59-08002b2f8426"),
version(1.1),
endpoint("ncacn_ip_tcp:", "ncalrpc:"),
helpstring("File Replication Service"),
2006-09-19 01:52:00 +04:00
pointer_default(unique)
2006-08-16 18:49:22 +04:00
]
interface frsrpc
{
/*****************/
/* Function 0x00 */
2006-12-29 10:31:04 +03:00
typedef struct {
uint32 unknown1;
} frsrpc_FrsSendCommPktChunkDataA;
typedef struct {
uint32 unknown1;
GUID unknown2;
[subcontext(4)] nstring unknown3;
} frsrpc_FrsSendCommPktChunkDataB;
typedef struct {
uint32 unknown1;
GUID unknown2;
} frsrpc_FrsSendCommPktChunkDataC;
typedef struct {
NTTIME time;
} frsrpc_FrsSendCommPktChunkDataD;
typedef [nodiscriminant] union {
[default,flag(NDR_REMAINING)] DATA_BLOB blob;
[case(1)] frsrpc_FrsSendCommPktChunkDataA A;
[case(2)] frsrpc_FrsSendCommPktChunkDataA A;
[case(3)] frsrpc_FrsSendCommPktChunkDataB B;
[case(4)] frsrpc_FrsSendCommPktChunkDataB B;
[case(5)] frsrpc_FrsSendCommPktChunkDataB B;
[case(8)] frsrpc_FrsSendCommPktChunkDataB B;
[case(6)] frsrpc_FrsSendCommPktChunkDataC C;
[case(18)] frsrpc_FrsSendCommPktChunkDataD D;
[case(19)] frsrpc_FrsSendCommPktChunkDataA A;
} frsrpc_FrsSendCommPktChunkData;
typedef struct {
uint16 type;
[subcontext(4),switch_is(type)] frsrpc_FrsSendCommPktChunkData data;
} frsrpc_FrsSendCommPktChunk;
typedef [flag(NDR_NOALIGN)] struct {
frsrpc_FrsSendCommPktChunk chunk1;
frsrpc_FrsSendCommPktChunk chunk2;
frsrpc_FrsSendCommPktChunk chunk3;
frsrpc_FrsSendCommPktChunk chunk4;
frsrpc_FrsSendCommPktChunk chunk5;
frsrpc_FrsSendCommPktChunk chunk6;
frsrpc_FrsSendCommPktChunk chunk7;
frsrpc_FrsSendCommPktChunk chunk8;
frsrpc_FrsSendCommPktChunk chunk9;
} frsrpc_FrsSendCommPktChunkCtr;
2006-12-29 00:00:51 +03:00
typedef struct {
uint32 unknown1;
uint32 unknown2;
uint32 unknown3;
uint32 unknown4;
2007-11-01 05:17:55 +03:00
uint32 tlv_size;
2006-12-29 00:00:51 +03:00
uint32 unknown6;
2007-11-01 05:20:17 +03:00
uint32 unknown7; /* This may be a UNIQUE pointer? */
2007-11-01 05:16:28 +03:00
uint32 unknown8;
uint32 unknown9;
2006-12-29 00:00:51 +03:00
/*
* the format of this blob is this:
*
* some of the folloeing chunks are concatenated:
*
* struct {
* uint16 type;
* [subcontext(4),switch_is(type)] chunk_data data;
* } chunk;
*
* some of the chunk are like this:
*
* struct {
* uint32 unknown; // 0x00000010
* struct GUID guid;
* lstring string;
* } ...;
*/
2007-11-01 05:17:55 +03:00
[subcontext(4)/*,size_is(tlv_size)*/] frsrpc_FrsSendCommPktChunkCtr *chunks;
2007-11-01 06:00:05 +03:00
uint32 unknown10;
uint32 unknown11;
2006-12-29 00:00:51 +03:00
} frsrpc_FrsSendCommPktReq;
WERROR frsrpc_FrsSendCommPkt(
[in] frsrpc_FrsSendCommPktReq req
);
2006-08-16 18:49:22 +04:00
/*****************/
/* Function 0x01 */
void FRSRPC_VERIFY_PROMOTION_PARENT();
/*****************/
/* Function 0x02 */
void FRSRPC_START_PROMOTION_PARENT();
/*****************/
/* Function 0x03 */
void FRSRPC_NOP();
/*****************/
/* Function 0x04 */
void FRSRPC_BACKUP_COMPLETE();
/*****************/
/* Function 0x05 */
void FRSRPC_BACKUP_COMPLETE_5();
/*****************/
/* Function 0x06 */
void FRSRPC_BACKUP_COMPLETE_6();
/*****************/
/* Function 0x07 */
void FRSRPC_BACKUP_COMPLETE_7();
/*****************/
/* Function 0x08 */
void FRSRPC_BACKUP_COMPLETE_8();
/*****************/
/* Function 0x09 */
void FRSRPC_BACKUP_COMPLETE_9();
/*****************/
/* Function 0x0a */
void FRSRPC_VERIFY_PROMOTION_PARENT_EX();
}