21 references to union
UIAutomationClientsideProviders (21)
MS\Internal\AutomationProxies\Input.cs (21)
121mi.union.mouseInput.dx = (int) x; 122mi.union.mouseInput.dy = (int)y; 123mi.union.mouseInput.mouseData = data; 124mi.union.mouseInput.dwFlags = intflags; 125mi.union.mouseInput.time = 0; 126mi.union.mouseInput.dwExtraInfo = new IntPtr( 0 ); 136ki.union.keyboardInput.wVk = (short) KeyInterop.VirtualKeyFromKey( key ); 137ki.union.keyboardInput.wScan = (short)SafeNativeMethods.MapVirtualKey(ki.union.keyboardInput.wVk, 0); 139if( ki.union.keyboardInput.wScan > 0 ) 143ki.union.keyboardInput.dwFlags = dwFlags; 144if (IsExtendedKey(ki.union.keyboardInput.wVk)) 146ki.union.keyboardInput.dwFlags |= NativeMethods.KEYEVENTF_EXTENDEDKEY; 148ki.union.keyboardInput.time = 0; 149ki.union.keyboardInput.dwExtraInfo = new IntPtr( 0 ); 163ki.union.keyboardInput.wVk = vk; 164ki.union.keyboardInput.wScan = 0; 165ki.union.keyboardInput.dwFlags = press ? 0 : NativeMethods.KEYEVENTF_KEYUP; 168ki.union.keyboardInput.dwFlags |= NativeMethods.KEYEVENTF_EXTENDEDKEY; 170ki.union.keyboardInput.time = 0; 171ki.union.keyboardInput.dwExtraInfo = new IntPtr( 0 );