Enumerating RCData resources from the EXE file which has been launched
The code is mostly fine but there a couple of minor issues:


The documentation for EnumResNameProc explains that lpszType and lpszName could be IDs rather than strings. Use the helper function Is_IntResource from the Windows unit to identify such IDs and treat accordingly.
Using LoadLibrary is fine, but it will result in code in the DLL being executed. Instead you are better to use LoadLibraryEx passing the LOAD_LIBRARY_AS_DATAFILE or LOAD_LIBRARY_AS_IMAGE_RESOURCE for the flags.