21 references to union
UIAutomationClientSideProviders (21)
MS\Internal\AutomationProxies\Input.cs (21)
114mi.union.mouseInput.dx = (int) x; 115mi.union.mouseInput.dy = (int)y; 116mi.union.mouseInput.mouseData = data; 117mi.union.mouseInput.dwFlags = intflags; 118mi.union.mouseInput.time = 0; 119mi.union.mouseInput.dwExtraInfo = new IntPtr( 0 ); 129ki.union.keyboardInput.wVk = (short) KeyInterop.VirtualKeyFromKey( key ); 130ki.union.keyboardInput.wScan = (short)SafeNativeMethods.MapVirtualKey(ki.union.keyboardInput.wVk, 0); 132if( ki.union.keyboardInput.wScan > 0 ) 136ki.union.keyboardInput.dwFlags = dwFlags; 137if (IsExtendedKey(ki.union.keyboardInput.wVk)) 139ki.union.keyboardInput.dwFlags |= NativeMethods.KEYEVENTF_EXTENDEDKEY; 141ki.union.keyboardInput.time = 0; 142ki.union.keyboardInput.dwExtraInfo = new IntPtr( 0 ); 156ki.union.keyboardInput.wVk = vk; 157ki.union.keyboardInput.wScan = 0; 158ki.union.keyboardInput.dwFlags = press ? 0 : NativeMethods.KEYEVENTF_KEYUP; 161ki.union.keyboardInput.dwFlags |= NativeMethods.KEYEVENTF_EXTENDEDKEY; 163ki.union.keyboardInput.time = 0; 164ki.union.keyboardInput.dwExtraInfo = new IntPtr( 0 );