mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
704 B
29 lines
704 B
[
|
|
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);
|
|
}
|
|
|