The named_type_free_inst Function

The stubs call the named_type_free_inst function to free memory associated with the transmitted type. The function is defined as:

void __RPC_USER <named_type>_free_inst(<type> __RPC_FAR *)

The parameter points to the instance of the transmitted type. This object should not be freed. For a discussion on when to call the function, see The represent_as Attribute.