CWinEventBase::SetLParam
UINTCWinEventBase::SetLParam(const LPARAMlParam)
Set the LONG parameter.
Defined in: WinEvent.h
Return Value
void
Parameters
lParam
LONG parameter for Windows message.
Class Members
ULONG m_ulRefCount
Reference count.
UINT m_nMessageID
Windows message ID.
WPARAM m_wParam
WORD parameter for message.
LPARAM m_lParam
LONG parameter for message.
LRESULT m_lResult
Message result.
CWinEventBase(const UINT nMessageID, const WPARAM wParam = 0, const LPARAM lParam = 0L)
Construct a windows event from a message ID, WPARAM, and LPARAM.
virtual bool QueryGuid(REFGUID guid, void **ppvObj)
Retrieve a pointer to an interface supported by this object.
ULONG STDMETHODCALLTYPE AddRef()
Add a reference to this object.
ULONG STDMETHODCALLTYPE Release()
Release a reference to this object.
virtual UINT GetMessageID() const
Return the message ID.
virtual WPARAM GetWParam() const
Return the WORD parameter.
virtual void SetWParam(const WPARAM wParam)
Set the WORD parameter.
virtual LPARAM GetLParam() const
Return the LONG parameter.
virtual void SetLParam(const LPARAM lParam)
Set the LONG parameter.
virtual LRESULT GetLResult() const
Return the message result.
virtual void SetLResult(const LRESULT lResult)
Set the message result.