summaryrefslogtreecommitdiff
path: root/tests/projects/windows/idl/test_rpc_noserver/src/test_iid.c
blob: 04103389420b4be5a15b3956e922a90932439b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <Windows.h>
#include <example.h>
#include <stdio.h>

int main(int argc, char** argv) {
    MyInterface_v1_0_c_ifspec = (void*)1;
    printf("call ok\n");
    return 0;
}

void __RPC_FAR * __RPC_API midl_user_allocate(size_t cBytes) {
    return(malloc(cBytes)); 
}

void __RPC_API midl_user_free(void __RPC_FAR * p) {
    free(p); 
}