3.2.5.2 Manipulating Render Target Resources

The render target is the top-most resource of the composition tree. To create a render target, the server MUST allocate a new handle and send a MILCMD_CHANNEL_CREATERESOURCE, with the type field set to TYPE_DESKTOPRENDERTARGET and the hNewResource field set to the new resource handle. After creating the render target, the server MUST configure the new resource with a MILCMD_HWNDTARGET_CREATE message.