DWORD
APIENTRY RnaSessInitialize(LPSTR lpszType, LPRNA_FUNCS lpRnaFuncs)
is called by RNA after loading the SMM to request for SMM entry points for the specified SMM type which RNA can call during the session configuration. The function also allows the SMM to initialize itself and allocate any resource for the specified SMM type.
This is the only function that must be exported from the SMM. Since it can be exported only once per an SMM module, the function can return different entry points in the RNA_FUNCS structure for different SMM types if the module supports different SMM types.