Goblin - A Platform for 3D AR and VR Applications

NativeMethods.PeekMessage Method 

public static bool PeekMessage(
   out Message msg,
   IntPtr hWnd,
   uint messageFilterMin,
   uint messageFilterMax,
   PeekMessageFlags flags
);

See Also

NativeMethods Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace