c# Programming Glossary: winapi
WIN32_Processor::Is ProcessorId Unique for all computers http://stackoverflow.com/questions/1101772/win32-processoris-processorid-unique-for-all-computers obj ProcessorId .ToString return processorID c# winapi wmi share improve this question No it can't be guaranteed..
Win32 API function to programmatically enable/disable device http://stackoverflow.com/questions/1438371/win32-api-function-to-programmatically-enable-disable-device how so I will leave this question open. c# .net windows winapi pinvoke share improve this question You can enable disable..
Using global keyboard hook (WH_KEYBOARD_LL) in WPF / C# http://stackoverflow.com/questions/1639331/using-global-keyboard-hook-wh-keyboard-ll-in-wpf-c-sharp different thing so I don't update the code above. c# wpf winapi share improve this question You're creating your callback..
Enumerate windows like alt-tab does http://stackoverflow.com/questions/210504/enumerate-windows-like-alt-tab-does return true return false c# windows winapi share improve this question Raymond Chen answered this a..
What is a message pump? http://stackoverflow.com/questions/2222365/what-is-a-message-pump cookie based registration with OpenID based Hmf. c# winapi winmain message pump share improve this question A message..
ShellExecute equivalent in .NET http://stackoverflow.com/questions/258416/shellexecute-equivalent-in-net just writing my small utility using Win32 anyway. c# .net winapi shell shellexecute share improve this question Process.Start..
Monitor process start in the system http://stackoverflow.com/questions/293624/monitor-process-start-in-the-system running this program or not before it runs... c# .net c winapi share improve this question You should check out the easyhook..
Changing master volume level http://stackoverflow.com/questions/294292/changing-master-volume-level low this won't have any effect. Thanks for any help. c# winapi volume share improve this question Okay here goes const..
How to provide user name and password when connecting to a network share http://stackoverflow.com/questions/295538/how-to-provide-user-name-and-password-when-connecting-to-a-network-share and server are not members of the same domain. c# .net winapi networking passwords share improve this question You can..
Global hotkey in console application http://stackoverflow.com/questions/3654787/global-hotkey-in-console-application ConsoleShell.Start config args c# winapi pinvoke console application share improve this question ..
Is there Windows system event on active window changed? http://stackoverflow.com/questions/4407631/is-there-windows-system-event-on-active-window-changed with my callback function. Thanks. c# .net windows winapi hook share improve this question Yes you can use SetWinEventHook..
How can I customize the system menu of a Windows Form? http://stackoverflow.com/questions/4615940/how-can-i-customize-the-system-menu-of-a-windows-form left corner . So how can I do it in .NET c# .net winforms winapi systemmenu share improve this question Windows makes it..
How to get the word under the cursor in Windows? http://stackoverflow.com/questions/4665045/how-to-get-the-word-under-the-cursor-in-windows the word under the cursor from the whole text c# windows winapi hook ocr share improve this question On recent versions..
How to find if a native DLL file is compiled as x64 or x86? http://stackoverflow.com/questions/480696/how-to-find-if-a-native-dll-file-is-compiled-as-x64-or-x86 code but if it necessary I can use native C . c# .net winapi 64bit x86 64 share improve this question You can use DUMPBIN..
Create an On-screen Keyboard http://stackoverflow.com/questions/4944621/create-an-on-screen-keyboard keyboards we have to enter these codes manually c# c winapi share improve this question You must compromise If you want..
Hosting external app in WPF window http://stackoverflow.com/questions/5028598/hosting-external-app-in-wpf-window Thanks for any pointers in the right direction. c# wpf winapi hwndhost share improve this question Well... if the question..
How to send text to Notepad in C#/Win32? http://stackoverflow.com/questions/523405/how-to-send-text-to-notepad-in-c-win32 my experimentation. Am I going in the wrong direction c# winapi share improve this question DllImport user32.dll EntryPoint..
How do I make a WPF window movable by dragging the extended window frame? http://stackoverflow.com/questions/5493149/how-do-i-make-a-wpf-window-movable-by-dragging-the-extended-window-frame it's not an acceptable solution in my case. c# .net wpf winapi windows 7 share improve this question Sample code Thanks..
Get a screenshot of a specific application [duplicate] http://stackoverflow.com/questions/891345/get-a-screenshot-of-a-specific-application I just want the screenshot of a specific application c# winapi screenshot share improve this question Here's some code..
How to change Menu hover color - WINFORMS http://stackoverflow.com/questions/9260303/how-to-change-menu-hover-color-winforms way by using Windows API DllImport See image c# winforms winapi share improve this question You are using the MenuStrip..
Key Events: ProcessCmdKey http://stackoverflow.com/questions/10468200/key-events-processcmdkey The Message structure passed to ProcessCmdKey contains the WINAPI message number in its Msg property WM_KEYDOWN is 0x100 256 WM_KEYUP..
C++ plugin for Unity “EntryPointNotFoundExeption” http://stackoverflow.com/questions/11619986/c-plugin-for-unity-entrypointnotfoundexeption Is this windows Because you are missing your Bool WINAPI DllMain HINSTANCE hinstDLL DWORD fdwReason LPVOID definition..
Using global keyboard hook (WH_KEYBOARD_LL) in WPF / C# http://stackoverflow.com/questions/1639331/using-global-keyboard-hook-wh-keyboard-ll-in-wpf-c-sharp object sender RawKeyEventArgs args #region WINAPI Helper class summary Winapi Key interception helper class. summary..
How does SetUnhandledExceptionFilter work in .NET WinForms applications? http://stackoverflow.com/questions/233255/how-does-setunhandledexceptionfilter-work-in-net-winforms-applications blogs sasha archive 2007 12.aspx LONG WINAPI MyExceptionFilter __in struct _EXCEPTION_POINTERS ExceptionInfo..
Using Process.Start() to start a process as a different user from within a Windows Service http://stackoverflow.com/questions/362419/using-process-start-to-start-a-process-as-a-different-user-from-within-a-windo out IntPtr phToken #region GetTokenInformation BOOL WINAPI GetTokenInformation __in HANDLE TokenHandle __in TOKEN_INFORMATION_CLASS.. out int ReturnLength #region CreateProcessAsUser BOOL WINAPI CreateProcessAsUser __in_opt HANDLE hToken __in_opt LPCTSTR.. ProcessInformation #region CloseHandle BOOL WINAPI CloseHandle __in HANDLE hObject #endregion DllImport Kernel32.dll..
Is there Windows system event on active window changed? http://stackoverflow.com/questions/4407631/is-there-windows-system-event-on-active-window-changed The approach is not very accurate. Is there any Windows WINAPI event which fires every time the active focused window changed..
Passing a C# callback function through Interop/pinvoke http://stackoverflow.com/questions/7970128/passing-a-c-sharp-callback-function-through-interop-pinvoke Here is the function prototype of the DLL typedef void WINAPI lpfnFunc const char arg1 const char arg2 And the function that.. And the function that allows me to pass the above type int WINAPI SetFunc lpfnFunc f Here is my C# code for the delegate and function..
ListView onScroll event http://stackoverflow.com/questions/1176703/listview-onscroll-event ListView. I found how to detect scroll message from WinAPI and i modified WndProc method. Now i have this WndProc protected..
Programmatically Set Browser Proxy Settings in C# http://stackoverflow.com/questions/197725/programmatically-set-browser-proxy-settings-in-c-sharp I believe that you'll need to use P Invoke to call the WinAPI function WinHttpSetDefaultProxyConfiguration http msdn.microsoft.com..
How do I disable a system device? http://stackoverflow.com/questions/252185/how-do-i-disable-a-system-device and disable a device that way I am assuming there is a WinAPI function that I can invoke but I don't know which one it is..
Get selected items of folder with WinAPI http://stackoverflow.com/questions/3382946/get-selected-items-of-folder-with-winapi selected items of folder with WinAPI Hey guys I try to get the selected files of a folder which..
How to elevate privileges only when required? http://stackoverflow.com/questions/573086/how-to-elevate-privileges-only-when-required examples are in C but I suspect you'll need to use the WinAPI and P Invoke to do most of the things in C# anyway . Hopefully..
Customizing OpenFileDialog http://stackoverflow.com/questions/6093012/customizing-openfiledialog SaveFileDialog using GetSaveFileName You have to use the WinAPI for this and you need to write the ShowDialog method in your..
Calling CreateProcessAsUser from C# http://stackoverflow.com/questions/668389/calling-createprocessasuser-from-c-sharp need to change but I could be making the wrong not enough WinAPI calls for all I know. What confuses me greatly is that the previous.. I've been caught out by one of the biggest gotchas in WinAPI interop programming. Also Posting the code for my function declarations..
Get current selection in WindowsExplorer from a C# application? http://stackoverflow.com/questions/8292953/get-current-selection-in-windowsexplorer-from-a-c-sharp-application thanks to this question Get selected items of folder with WinAPI . I ended up with the following in order to get a list of currently..
|