pub type ActivationReason = VSActivationReason;
enum ActivationReason { Initial = 0, AllFramesReady = 1, Error = -1, }