Checks that the online user profile is loaded.
SEC_ENTRY OnProfileLoaded( _In_ PVOID ProviderHandle, _In_ HANDLE UserToken, _In_ BOOLEAN Loaded );
- ProviderHandle [in]
The provider handle.
- UserToken [in]
Token of the user whose profile is being loaded or unloaded.
- Loaded [in]
TRUE if the profile has been loaded.
If the function succeeds, the function returns STATUS_SUCCESS.
If the function fails, the function returns a nonzero error code that is a provider-specific error for diagnostic purposes.
This function is called each time the LoadUserProfile function is called. It is not synchronized with LoadUserProfile; that is, LoadUserProfile might have returned and the profile might have been unloaded by the time the function was called. This function can be called more than once even when the profile has been loaded. The identity provider must not assume that a call to this function with Loaded equal to TRUE will be followed by a call with Loaded equal to FALSE.
Minimum supported client
|Windows 8 [desktop apps only]|
Minimum supported server
|Windows Server 2012 [desktop apps only]|
Build date: 11/16/2013