|
CoRegisterMessageFilter
Registers with OLE the instance of an EXE application's IMessageFilter interface, which is to be used for handling concurrency issues. DLL object
applications cannot register a message filter.
HRESULT CoRegisterMessageFilter(
LPMESSAGEFILTER lpMessageFilter,
| //IMessageFilter interface supplied by app
| LPMESSAGEFILTER * lplpMessageFilter
| //Prior IMessageFilter instance if non-NULL
| );
|
|
Parameters
lpMessageFilter
Points to an IMessageFilter interface supplied by the application. Can be NULL, indicating that the
current IMessageFilter registration should be revoked.
lplpMessageFilter
If this parameter is non-NULL, returns a pointer to the previously registered IMessageFilter instance. If NULL, indicates no previous IMessageFilter instance was registered.
Return Values
S_OK
Indicates the IMessageFilter instance registered or revoked successfully.
S_FALSE
Indicates an error registering or revoking IMessageFilter instance.
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|