RTMv2 functions are written with the following assumptions.
- RTMv2 functions do not allocate memory for the client. The client must always allocate memory.
- When a client is unregistering, it must perform clean-up operations itself, such as releasing all memory allocated.
- Clients must release handles correctly; memory leaks can occur if a client does not observe this practice.
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.
