The stubs call the type_free_local function to free the memory allocated by a call to the named_type_to_local routine. It does not free the memory allocated by the stub. The function prototype is defined as:
void __RPC_USER <local_type>_free_local(<named_type> __RPC_FAR *);
The parameter is a pointer to the memory allocated by named_type_to_local.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
