CoRegisterMessageFilter (OLE32.@)
HRESULT CoRegisterMessageFilter ( LPMESSAGEFILTER lpMessageFilter, LPMESSAGEFILTER* lplpMessageFilter )
Registers a message filter.
lpMessageFilter | [In] | Pointer to interface. |
lplpMessageFilter | [Out] | Indirect pointer to prior instance if non-NULL. |
Success: S_OK.
Failure: HRESULT code.
Both lpMessageFilter and lplpMessageFilter are optional. Passing in a NULL lpMessageFilter removes the message filter.
If lplpMessageFilter is not NULL the previous message filter will be returned in the memory pointer to this parameter and the caller is responsible for releasing the object.
The current thread be in an apartment otherwise the function will crash.
Defined in "objbase.h".
Implemented in "dlls/ole32/compobj.c". source.winehq.org/source/dlls/ole32/compobj.c
Debug channel "ole".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.