GetGadgetRotation

Core

GetGadgetRotation returns the Gadget's rotation factor in radians. If a Gadget is not rotated, the factor will be 0.0.

BOOL GetGadgetRotation(
    HGADGET hgad,               // Gadget to check
    float * pflRotationRad)     // Rotation factor in radians
);

Parameters

hgad
[in] Gadget to check
pflRotationRad
[out] Rotation factor in radians

Return Values

Successfully returned rotation factor.

See Also

GetGadgetRect, GetGadgetScale, SetGadgetRect, SetGadgetRotation, SetGadgetScale

 

 


Internal Only

Build on Friday, March 17, 2000
Copyright © 2000 by Microsoft Corporation.  All rights reserved
Send feedback to Jeff Stall