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