COleMessageFilter::Register

BOOL Register( );

Return Value

Nonzero on success; otherwise 0.

Remarks

Registers the message filter with the OLE system DLLs. A message filter has no effect unless it is registered with the system DLLs. Usually your application's initialization code registers the application’s message filter. Any other message filter registered by your application should be revoked before the program terminates by a call to Revoke.

The framework’s default message filter is automatically registered during initialization and revoked at termination.

COleMessageFilter OverviewClass MembersHierarchy Chart

See Also   COleMessageFilter::Revoke