namespace Microsoft.Win32 { //ULW定义 public static partial class NativeMethods { /// /// Use crKey as the transparency color. /// public const uint ULW_COLORKEY = 0x00000001; /// /// Use pblend as the blend function. If the display mode is 256 colors or less, the effect of this value is the same as the effect of ULW_OPAQUE. /// public const uint ULW_ALPHA = 0x00000002; /// /// Draw an opaque layered window. /// public const uint ULW_OPAQUE = 0x00000004; /// /// If hdcSrc is NULL, dwFlags should be zero. /// public const uint ULW_EX_NORESIZE = 0x00000008; } }