Esempio n. 1
0
 static extern bool GetWindowWMInfoInternal(IntPtr window, ref SysWMInfo info);
Esempio n. 2
0
 /// <summary>
 /// Retrieves driver-dependent window information.
 /// </summary>
 /// <param name="window">
 /// The window about which information is being requested.
 /// </param>
 /// <param name="info">
 /// Returns driver-dependent information about the specified window.
 /// </param>
 /// <returns>
 /// True, if the function is implemented and the version number of the info struct is valid;
 /// false, otherwise.
 /// </returns>
 public static bool GetWindowWMInfo(IntPtr window, out SysWMInfo info)
 {
     info = new SysWMInfo();
     info.Version = GetVersion();
     return GetWindowWMInfoInternal(window, ref info);
 }