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