A doubt in Sample Code of c#.net
Hi all,
I have seen in many codes which is similar to this but couldn't what it is and why it is used .Will anyone help me to get an idea on this code .
[DllImport("user32", EntryPoint = "SendMessage")]
public
static extern int SendMessage(int hWnd, uint Msg, int wParam, int
lParam);
[DllImport("avicap32.dll", EntryPoint =
"capCreateCaptureWindowA")]
public static extern int capCreateCaptureWindowA(string
lpszWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int
hwndParent, int nID);
[DllImport("user32", EntryPoint =
"OpenClipboard")]
public static extern int OpenClipboard(int hWnd);
[DllImport("user32", EntryPoint = "EmptyClipboard")]
public
static extern int EmptyClipboard();
[DllImport("user32",
EntryPoint = "CloseClipboard")]
public static extern int CloseClipboard();