static JoinSessionOperationCallback RegisterJoinApprovalCallback( JoinSessionOperationCallback pfOperationCallback );
Name | Description | |
---|---|---|
in | pfOperationCallback | Specifies a pointer to the callback function. |
Sets callback to determine whether a session can be joined.
When someone attempts to join a session, the function pfOperationCallback
JoinSessionOperation::Approve
nor JoinSessionOperation::Deny
. The callback is called only when the JoinSessionOperationApprovalState
is Unknown or Pending. At this stage, the stations that can be obtained by StationSelectionIterator
do not include those stations that have joined the session.
CONFIDENTIAL