When the flag “RAS_EAP_FLAG_NON_INTERACTIVE” is set and they want to raise a UI, the method should return error code: ERROR_INTERACTIVE_MODE. The supplicant will call
RasEapGetIdentity() again without the flag “RAS_EAP_FLAG_NON_INTERACTIVE”.
The reason for this behavior is because the first time RasEapGetIdentity() is called, the call is made in the service process (run as “local system”) and no UI should be raised from there. Once the “ERROR_INTERACTIVE_MODE” is returned, the next call to RasEapGetIdentity() will be made in the context of the explorer (i.e. run as current user), from which UI can be safely raised.
Is that what you need?