The INSSEventHandler::HandleEvent method is called when specified events are sent from the NetShow server.
Syntax
HRESULT GetHandledEvents (
NSS_EVENT *pEvent,
INSSUserContext *pUser,
INSSPresentationContext *pPresentation,
INSSCommandContext *pCommand
);
Parameters
[in] pEvent
Specifies a pointer to the event and the results of authorization.
[in] pUser
Specifies a pointer to the user context property map interface. The user context is used to store information about the client. For more information about the user context and its properties, see Event Authorization and Notification Contexts in the guide.
[in] pPresentation
Specifies a pointer to the presentation context property map interface. The presentation context is used to store information about the presentation. For more information about the presentation context and its properties, see Event Authorization and Notification Contexts in the guide.
[in] pCommand
Specifies the command context.
Return Values
This method should return S_OK upon successful completion, or an HRESULT error value.
Remarks
The following code illustrates a skeleton implementation of the INSSEventHandler::HandleEvent method:
HRESULT
CEventHandler::HandleEvent(
NSS_EVENT __RPC_FAR *pEvent,
INSSUserContext __RPC_FAR *pUser,
INSSPresentationContext __RPC_FAR *pPresentation,
INSSCommandContext __RPC_FAR *pCommand
)
//
// Event Logging routine goes here.
//
{
return( S_OK );
}
See Also
© 1996-1998 Microsoft Corporation. All rights reserved.