Export (0) Print
Expand All

COleMessageFilter::Register

Registers the message filter with the OLE system DLLs.

BOOL Register( );

Return Value

Nonzero on success; otherwise 0.

Remarks

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.

See Also

COleMessageFilter Overview | Class Members | Hierarchy Chart | COleMessageFilter::Revoke

Show:
© 2014 Microsoft