windows-nt/Source/XPSP1/NT/com/oleutest/memalloc/test.idl

30 lines
704 B
Plaintext
Raw Normal View History

2020-09-26 03:20:57 -05:00
[
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);
}