windows-nt/Source/XPSP1/NT/com/oleutest/memalloc/test.idl
2020-09-26 16:20:57 +08:00

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);
}