Share

acedRegisterWatchWinMsg

C++

ACCORE_PORT bool acedRegisterWatchWinMsg(
    const AcedWatchWinMsgFn pfn
);

File

core_rxmfcapi.h

Description

Registers a hook function into AutoCAD message loop. The function can only look up AutoCAD's Windows message. It cannot change or block a message.

Returns TRUE if successfully registers the hook. Otherwise, returns FALSE.

AcedWatchWinMsgFn is typedef void (* AcedWatchWinMsgFn)(const MSG*);

Parameters

Parameters Description
pfn Pointer to a function with AcedWatchWinMsgFn prototype

Was this information helpful?