21 references to union
UIAutomationClientSideProviders (21)
MS\Internal\AutomationProxies\Input.cs (21)
116mi.union.mouseInput.dx = (int) x; 117mi.union.mouseInput.dy = (int)y; 118mi.union.mouseInput.mouseData = data; 119mi.union.mouseInput.dwFlags = intflags; 120mi.union.mouseInput.time = 0; 121mi.union.mouseInput.dwExtraInfo = new IntPtr( 0 ); 133ki.union.keyboardInput.wVk = (short) KeyInterop.VirtualKeyFromKey( key ); 134ki.union.keyboardInput.wScan = (short)SafeNativeMethods.MapVirtualKey(ki.union.keyboardInput.wVk, 0); 136if( ki.union.keyboardInput.wScan > 0 ) 140ki.union.keyboardInput.dwFlags = dwFlags; 141if (IsExtendedKey(ki.union.keyboardInput.wVk)) 143ki.union.keyboardInput.dwFlags |= NativeMethods.KEYEVENTF_EXTENDEDKEY; 145ki.union.keyboardInput.time = 0; 146ki.union.keyboardInput.dwExtraInfo = new IntPtr( 0 ); 161ki.union.keyboardInput.wVk = vk; 162ki.union.keyboardInput.wScan = 0; 163ki.union.keyboardInput.dwFlags = press ? 0 : NativeMethods.KEYEVENTF_KEYUP; 166ki.union.keyboardInput.dwFlags |= NativeMethods.KEYEVENTF_EXTENDEDKEY; 168ki.union.keyboardInput.time = 0; 169ki.union.keyboardInput.dwExtraInfo = new IntPtr( 0 );