¡@

Home 

c# Programming Glossary: entrypoint

Topmost form, clicking “through” possible?

http://stackoverflow.com/questions/1524035/topmost-form-clicking-through-possible

enum LWA ColorKey 0x1 Alpha 0x2 DllImport user32.dll EntryPoint GetWindowLong public static extern int GetWindowLong IntPtr.. GetWindowLong IntPtr hWnd GWL nIndex DllImport user32.dll EntryPoint SetWindowLong public static extern int SetWindowLong IntPtr.. IntPtr hWnd GWL nIndex int dwNewLong DllImport user32.dll EntryPoint SetLayeredWindowAttributes public static extern bool SetLayeredWindowAttributes..

How can I pass a pointer to an array using p/invoke in C#?

http://stackoverflow.com/questions/289076/how-can-i-pass-a-pointer-to-an-array-using-p-invoke-in-c

in your import statement as a byte array. DllImport EntryPoint func CharSet CharSet.Auto SetLastError true public extern static.. as an IntPtr and Marshal the data manually. DllImport EntryPoint func CharSet CharSet.Auto SetLastError true public extern static..

A call to PInvoke function '[…]' has unbalanced the stack

http://stackoverflow.com/questions/2941960/a-call-to-pinvoke-function-has-unbalanced-the-stack

And here is my function in C# DllImport Engine.dll EntryPoint GCreateEngine CallingConvention CallingConvention.StdCall public..

How do I pinvoke to GetWindowLongPtr and SetWindowLongPtr on 32-bit platforms?

http://stackoverflow.com/questions/3343724/how-do-i-pinvoke-to-getwindowlongptr-and-setwindowlongptr-on-32-bit-platforms

return GetWindowLongPtr64 hWnd nIndex DllImport user32.dll EntryPoint GetWindowLong CharSet CharSet.Auto private static extern IntPtr.. HandleRef hWnd int nIndex DllImport user32.dll EntryPoint GetWindowLongPtr CharSet CharSet.Auto private static extern..

PInvoke for C function that returns char *

http://stackoverflow.com/questions/370079/pinvoke-for-c-function-that-returns-char

_dllLocation EntryPoint foo public static extern System.IntPtr foo Is this correct If..

Raise event in high resolution interval/timer

http://stackoverflow.com/questions/4212611/raise-event-in-high-resolution-interval-timer

returns DllImport winmm.dll SetLastError true EntryPoint timeSetEvent static extern UInt32 timeSetEvent UInt32 msDelay..

C# Force Form Focus

http://stackoverflow.com/questions/46030/c-sharp-force-form-focus

that I found via google. CLass Blah DllImport user32.dll EntryPoint SystemParametersInfo public static extern bool SystemParametersInfo.. uiParam uint pvParam uint fWinIni DllImport user32.dll EntryPoint SetForegroundWindow public static extern bool SetForegroundWindow.. bool SetForegroundWindow IntPtr hWnd DllImport User32.dll EntryPoint ShowWindowAsync private static extern bool ShowWindowAsync IntPtr..

C# Form with custom border and rounded edges

http://stackoverflow.com/questions/5092216/c-sharp-form-with-custom-border-and-rounded-edges

none with rounded edges DllImport Gdi32.dll EntryPoint CreateRoundRectRgn private static extern IntPtr CreateRoundRectRgn..

How to send text to Notepad in C#/Win32?

http://stackoverflow.com/questions/523405/how-to-send-text-to-notepad-in-c-win32

shown within Windows Task Manager . DllImport User32.dll EntryPoint SendMessage public static extern int SendMessage int hWnd int.. share improve this question DllImport user32.dll EntryPoint FindWindowEx public static extern IntPtr FindWindowEx IntPtr..

C# convert RGB value to CMYK using an ICC profile?

http://stackoverflow.com/questions/5237104/c-sharp-convert-rgb-value-to-cmyk-using-an-icc-profile

public ushort black DllImport mscms.dll SetLastError true EntryPoint OpenColorProfileW CallingConvention CallingConvention.Winapi.. IntPtr hProfile DllImport mscms.dll SetLastError true EntryPoint GetStandardColorSpaceProfileW CallingConvention CallingConvention.Winapi..

How can I block keyboard and mouse input in C#?

http://stackoverflow.com/questions/586547/how-can-i-block-keyboard-and-mouse-input-in-c

user32.dll EntryPoint BlockInput return System.Runtime.InteropServices.MarshalAsAttribute..

How to Fix the Memory Leak in IE WebBrowser Control?

http://stackoverflow.com/questions/904478/how-to-fix-the-memory-leak-in-ie-webbrowser-control

notable excerpt in class definition DllImport KERNEL32.DLL EntryPoint SetProcessWorkingSetSize SetLastError true CallingConvention.. int dwMaximumWorkingSetSize DllImport KERNEL32.DLL EntryPoint GetCurrentProcess SetLastError true CallingConvention CallingConvention.StdCall..