somSelf (WPObject *) - input
Points to an object of class WPObject.
lhView (LHANDLE) - input
If a value of NULL is passed, this method waits for all views of the specified type (ulViews) to close.
ulViews (ULONG) - input
This value is only used if lhView is NULL.
ulTimeOut (ULONG) - input
Timeout in milliseconds. This is the maximum amount of time the user wants to allow the thread to be blocked.
This parameter can also have the following values:
SEM_IMMEDIATE_RETURN
bAutoClose (BOOL) - input
This parameter should not be used as the standard method to close views. It exists ONLY to handle the possibility of a timing hole where all of the specified views are closed and another thread (probably due to user input) opens another view of the same type before wpWaitForClose returns.
Possible values are described in the following list:
TRUE
Success (ULONG) - returns
This parameter can also have the following values: