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