Win32 code snippets (16)

How to enumerate all directories in computer

Published: 12. February 2012 | Updated: 12. February 2012
Categories: Directories Windows
Tags: C# File System Win32 Windows WMI

How to enumerate installed audio/video codecs

Published: 12. February 2012 | Updated: 12. February 2012
Categories: Windows
Tags: C# Media Win32 Windows WMI

How to enumerate windows threads

Published: 12. February 2012 | Updated: 12. February 2012
Categories: Windows
Tags: C# Threading Win32 Windows WMI

How to enumerate system volumes

Published: 8. February 2012 | Updated: 8. February 2012
Categories: Windows
Tags: C# Win32 Windows WMI

How to get running processes info

Published: 8. February 2012 | Updated: 8. February 2012
Categories: Processes
Tags: C# Win32 Windows WMI

How to get active window handle and title

Published: 7. February 2012 | Updated: 7. February 2012
Categories: Win32 Windows
Tags: C# UI Win32 Windows

How to get installed software info

Published: 7. February 2012 | Updated: 7. February 2012
Categories: Windows
Tags: C# Win32 Windows WMI

How to open Folder Options window

Published: 31. January 2012 | Updated: 31. January 2012
Categories: Win32 Windows
Tags: C# Win32 Windows

How to find out whether program is running in a remote session

Published: 19. November 2011 | Updated: 19. November 2011
Categories: Win32 Windows
Tags: C# Win32 Windows Winforms WPF

How to get thread id

Published: 25. October 2011 | Updated: 25. October 2011
Categories: Win32
Tags: C# Threading Win32 Windows

How to get focused control

Published: 27. January 2009 | Updated: 9. October 2011
Categories: Win32 Winforms
Tags: C# Controls Win32 Winforms

How to truncate file path

Published: 27. January 2009 | Updated: 26. September 2011
Categories: File system Win32
Tags: C# File System Win32 Windows

How to clear recent documents

Published: 27. January 2009 | Updated: 26. September 2011
Categories: File system Win32
Tags: C# Win32 Windows

How to add file to recent documents

Published: 27. January 2009 | Updated: 26. September 2011
Categories: Files Win32
Tags: C# Win32 Windows

How to flash form taskbar button

Published: 21. December 2008 | Updated: 21. December 2008
Categories: Win32 Winforms
Tags: C# UI Win32 Windows Winforms

How to use console output in winforms

Published: 15. December 2008 | Updated: 20. December 2008
Categories: Win32 Winforms
Tags: C# Console Win32 Windows Winforms