void function (parameter-list);
return-type function(void);
typedef [context_handle] void * context-handle-type;
return-type function (...[context_handle] void * * context-handle-type...);
void VoidFunc1(void);
HRESULT VoidFunc2([in, out] short s1);
typedef [context_handle] void * MY_CX_HNDL_TYPE;
HRESULT InitHandle([out] MY_CX_HNDL_TYPE * ppCxHndl);
The base type void indicates a procedure with no arguments or a procedure that does not return a result value.
The pointer type void *, which in C describes a generic pointer that can be cast to represent any pointer type, is limited in MIDL to its use with the context_handle keyword.
base_types, context_handle, IDL