13 references to union
UIAutomationClient (13)
MS\Internal\Automation\input.cs (13)
52
ki.
union
.keyboardInput.wVk = (short) KeyInterop.VirtualKeyFromKey( key );
53
ki.
union
.keyboardInput.wScan = (short) UnsafeNativeMethods.MapVirtualKey( ki.
union
.keyboardInput.wVk, 0 );
55
if( ki.
union
.keyboardInput.wScan > 0 )
59
ki.
union
.keyboardInput.dwFlags = dwFlags;
62
ki.
union
.keyboardInput.dwFlags |= UnsafeNativeMethods.KEYEVENTF_EXTENDEDKEY;
64
ki.
union
.keyboardInput.time = 0;
65
ki.
union
.keyboardInput.dwExtraInfo = new IntPtr( 0 );
80
ki.
union
.keyboardInput.wVk = vk;
81
ki.
union
.keyboardInput.wScan = 0;
82
ki.
union
.keyboardInput.dwFlags = press ? 0 : UnsafeNativeMethods.KEYEVENTF_KEYUP;
83
ki.
union
.keyboardInput.time = 0;
84
ki.
union
.keyboardInput.dwExtraInfo = new IntPtr( 0 );