pub trait IAutomationStateTrait { // Required method unsafe fn setAutomationState(&self, state: int32) -> tresult; }