30 lines
704 B
Plaintext
30 lines
704 B
Plaintext
|
[
|
||
|
uuid(9D4ED230-A00B-101A-9160-08002B284C2C),
|
||
|
version(1.0),
|
||
|
endpoint("ncalrpc:[memtest]"),
|
||
|
pointer_default(unique)
|
||
|
]
|
||
|
interface Test
|
||
|
{
|
||
|
cpp_quote("#define PWSZ_PROTOCOL L\"ncalrpc\"")
|
||
|
cpp_quote("#define PWSZ_ENDPOINT L\"memtest\"")
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
long cb;
|
||
|
[size_is(cb)] byte *pb;
|
||
|
} SCountedBytes;
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
long ccb;
|
||
|
[size_is(ccb)] SCountedBytes *pcb;
|
||
|
} SCountedCountedBytes;
|
||
|
|
||
|
boolean CopyBytes(
|
||
|
[in] SCountedCountedBytes *pccbIn,
|
||
|
[out] SCountedCountedBytes *pccbOut);
|
||
|
boolean StopServer(void);
|
||
|
}
|
||
|
|