Microsoft Windows
February 15th, 2017
About
Win API Tutorials
Support
Dev Center – Metro style apps
- Windows 8 Consumer Preview Product Guide for Developers
- Selling apps
- Create your first Metro style app using C++
Magazine
Libraries – UI – WTL
Windows Template Library (WTL) is a C++ library for developing Windows applications and UI components. It extends ATL (Active Template Library) and provides a set of classes for controls, dialogs, frame windows, GDI objects, and more.
- WTL Project Page (sourceforge)
- The WTL wiki
- Viksoe.dk – WTL Sample Projects
- codeproject.com (WTL section)
- Windows with C++: Windows Template Library 8.0. Kenny Kerr
- Использование WTL. Часть 2. Диалоги и контролы
- WTL setup gotchas (codeproject)
MSDN
- Custom Window Frame Using DWM
- Windows HTTP Services (WinHTTP)
- The Extensible Storage Engine(ESE) is an advanced indexed and sequential access method (ISAM) storage technology.
- An interlocked singly linked list (SList) eases the task of insertion and deletion from a linked list. SLists are implemented using a nonblocking algorithm to provide atomic synchronization, increase system performance, and avoid problems such as priority inversion and lock convoys. (example)
- One-Time Initialization
- InitOnceInitialize function – Initializes a one-time initialization structure.
- InitOnceExecuteOnce function – Executes the specified function successfully one time. No other threads that specify the same one-time initialization structure can execute the specified function while it is being executed by the current thread.
MSDN – Ribbon
MSDN – ATL
MSDN – GUI
MSDN – Windows 8
- Dev Center
MSDN – Multithreading
- Scalable Multithreaded Programming with Thread Pools
- I/O completion ports provide an efficient threading model for processing multiple asynchronous I/O requests on a multiprocessor system.
- How To Determine Whether a Thread Is Running in User Context of Local Administrator Account
MSDN – Network
- SSL in WinHTTP
- Using the WinHTTP C/C++ API
- Check Network connection (WinAPI)
- The IsInternetConnected function determines whether the current user is connected to the Internet
- The CreateVPNConnection function creates a VPN connection.
- The GetInternetConnected function launches the Get Connected wizard within the calling application to enable Internet connectivity.
- The GetNetworkConnected function launches the Get Connected wizard within the calling application to enable local area network connectivity.
- The GetVPNConnected function launches the Get Connected wizard within the calling application to enable virtual private network (VPN) connectivity.
MSDN – Web
- The Windows RSS Platform is an API that enables applications to access and manipulate the Common Feed List, a collection of Really Simple Syndication (RSS) feeds to which the user has subscribed.
MSDN – Windows Live
- Live Connect Developer Center
- Registering Your Application with Windows Live
- Live SDK – the Live software development kit (SDK) contains a set of interfaces that you can use to connect your application to hundreds of millions of users and their devices. Live Connect is a collection of REST, JavaScript, and managed-code APIs that make integrating quick, easy, and flexible.
- Via Windows Live community space – this space is dedicated to you as a developer to help you build and understand how to utilise Windows Live technologies in your applications. You’ll find different sections on the various Live technologies and APIs that are currently available for software developers.
- Articles
MSDN – SkyDrive
MSDN – Media
MSDN – DirectX
MSDN – Sync Framework
Microsoft Sync Framework is a comprehensive synchronization platform that enables collaboration and offline access for applications, services, and devices with support for any data type, any data store, any transfer protocol, and any network topology.
MSDN – DLL
MSDN – Exceptions
- _set_se_translator – Handles Win32 exceptions (C structured exceptions) as C++ typed exceptions.
MSDN – API – RTL
- atexit – processes the specified function at exit.
MSDN – API
- RtlUnicodeStringToOemString – Converts the specified Unicode source string into an OEM string. The translation is done with respect to the OEM code page (OCP).
- RtlUnicodeStringToAnsiString – Converts the specified Unicode source string into an ANSI string.
- WinVerifyTrust – performs a trust verification action on a specified object. The function passes the inquiry to a trust provider that supports the action identifier, if one exists.
MSDN – API – Threads
- GetThreadTimes – retrieves timing information for the specified thread.
- QueryThreadCycleTime – retrieves the cycle time for the specified thread.
MSDN – API – Memory
- SetProcessWorkingSetSize – sets the minimum and maximum working set sizes for the specified process (example)
MSDN – API – Files
- File Mapping is the association of a file’s contents with a portion of the virtual address space of a process.
- SetFileApisToANSI – Causes the file I/O functions to use the ANSI character set code page for the current process. This function is useful for 8-bit console input and output operations.
- AreFileApisANSI – Determines whether the file I/O functions are using the ANSI or OEM character set code page. This function is useful for 8-bit console input and output operations.
- SetFileApisToOEM – Causes the file I/O functions for the process to use the OEM character set code page. This function is useful for 8-bit console input and output operations.
- FindFirstFileEx – Searches a directory for a file or subdirectory with a name and attributes that match those specified.
- UnDecorateSymbolName – undecorates the specified decorated C++ symbol name (see also: *\Microsoft Visual Studio XX.0\VC\bin\undname.exe)
- SHChangeNotifyRegister – Registers a window to receive notifications from the file system or Shell.
- ReadDirectoryChangesW – retrieves information that describes the changes within the specified directory. The function does not report changes to the specified directory itself.
- Additional: “Change Journals“
MSDN – Language
- Locale IDs Assigned by Microsoft – The following table lists the locales/languages with an assigned Locale ID (LCID). The purpose of the document is to help developers who are defining NLS services (sorting, time/date formatting, and keyboards/IMEs) for locales that do not yet have native support in Windows to avoid conflict.
- National Language Support (NLS) API Reference
- GetSystemDefaultLCID function – returns the locale identifier for the system default locale, identified by LOCALE_SYSTEM_DEFAULT.
MSDN – Deploy
- Redistributing an Application and Binding It to Specific Libraries
- How to: Deploy a Setup and Deployment Project
- How to: Deploy using XCopy
- Visual Studio 2008 VC Debug CRT installation
- Deployment (Visual Studio 2010) – Visual Studio provides two different technologies for deploying Windows applications: ClickOnce deployment or Windows Installer deployment.
MSDN – NTFS
- NTFS Technical Reference
- Volume Management– The highest level of organization in the file system is the volume.
- NTFS-Search (sourceforge.net) – this tool enables users to search their NTFS formatted harddrives within seconds. It uses the MFT (master file table) of NTFS to search for files very fast (admin privileges are needed).
- Tips:
- Enumerate and process all files in a single folder before recursing into the sub folders you found. This improves locality – usually a lot.
- On Windows 7 / W2K8R2, you can use FindFirstFileEx with FindExInfoBasic, the main speedup being omitting the short file name on NTFS file systems where this is enabled.
HowTo – MSDN
Web – IE
Source
Tools
- Code protectors
- WMI Code Creator v1.0 – the WMI Code Creator tool allows you to generate VBScript, C#, and VB .NET code that uses WMI to complete a management task such as querying for management data, executing a method from a WMI class, or receiving event notifications using WMI.
- The Debug Diagnostic Tool (DebugDiag) is designed to assist in troubleshooting issues such as hangs, slow performance, memory leaks or fragmentation, and crashes in any user-mode process. The tool includes additional debugging scripts focused on Internet Information Services (IIS) applications, web data access components, COM+ and related Microsoft technologies.
Tools – Microsoft
- SQL Server
- Visual Studio
- My Visual Studio Plugins
- Products and Extensions for Visual Studio
- Extend Visual Studio – customize Visual Studio by creating add-ins that let you customize the integrated development environment (IDE) to help you work more efficiently.
- Microsoft Windows Software Development Kit (SDK)
- Microsoft All-In-One Code Framework is new version for Sample Browser, which introduces a big search expansion to over 3500 quality code samples, the new Favorite Searches and Favorite Samples functions for managing your beloved samples, the integration of social media sharing, the enriched query conditions & more.
Tools – Testing
Other Links
Technet
- Запуск приложений с административными привилегиями через консоль Windows
- TechDays.ru – узнай за 15 минут самое интересное по каждой технологии!
Articles
- See “Articles, Tips and Code Snippets” section