Question on COM
Posted on 1998-11-16
I have an IDL file .I want to know how to
declare a function pointer as a function argument in
the IDL file .
when I declared it like -->
int Save([in] FILE *fp , unsigned int (*pFn)(const void *buffer, size_t size, size_t count, FILE *stream));
The MIDL compiler ignores this declaration .
Here Save Method accepts a file pointer and also
a function pointer as an argument .However when I declared
it this way , the MIDL compiler ignored it .
I want to know how to declare it so that the
MIDL compiler accepts it .
If you have any clue to this problem , please
let me know .
Thanks in advance ,