These are (or at least should be) all documented, so are "simple" to the extent that you just need to look them up! For example the replacement of P% with ]^P% for 64-bit assembler code is documented in section 9f of the Differences between BB4W and BBCSDL document. Accessing a structure member is documented in the main Help manual.
Admittedly you may need to look further afield to find information which is not BBC BASIC specific. For example to recover the native window handle you need to refer to the documentation for the SDL_GetWindowWMinfo() function and converting 32-bit assembler code to 64-bit requires a knowledge of the 64-bit Windows ABI.
Inevitably you are breaking new ground here - it's highly unlikely that anybody else will have attempted to run Direct3D in BBCSDL - so there will be a need to research beyond what is documented in the BBC BASIC manuals etc. Although you can post here and wait for me or somebody else to link to the relevant web site, it would be quicker for you to do your own research. An AI chatbot will often find things.