Retrieves the gravity attribute of this pointer.
Syntax
HRESULT Gravity( 
    POINTER_GRAVITY *pGravity 
);
Parameters
- pGravity
- Address of a POINTER_GRAVITY enumeration that returns the gravity attribute of this pointer.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also