Retrieves which mouse button, if any, is pressed.
Syntax
HRESULT get_button( long *p );
Parameters
- p
- Address of a long integer variable that receives the button value. For details, see the button property.
Return Value
Returns S_OK if successful, or an error code otherwise.