SetWindowDisplayAffinity (user32)
Last changed: anon-193.77.149.198

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern bool SetWindowDisplayAffinity(IntPtr hwnd, DisplayAffinity affinity);

VB Signature:

Declare Function SetWindowDisplayAffinity Lib "user32.dll" (hwnd As IntPtr, affinity As DisplayAffinity) As Boolean

User-Defined Types:

enum DisplayAffinity : uint
{
   None = 0x00,
   Monitor = 0x01,
   ExcludeFromCapture = 0x11
}

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation