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

int main(int argc, char** argv) {
    MyInterface_v1_0_c_ifspec = (void*)1;
    MyInterface_v1_0_s_ifspec = (void*)1;
    printf("set 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); 
}