Sample Code
Windows Driver Samples/ Toaster Sample Driver/ C++/ umdf/ func/ stdafx.h/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /*++ Copyright (c) Microsoft Corporation, All Rights Reserved Module Name: stdafx.h Abstract: Include file for standard system include filesor project specific include files that are used frequently, but are changed infrequently Environment: Windows User-Mode Driver Framework (WUDF) --*/ #pragma once #ifndef STRICT #define STRICT #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 // Windows XP and newer. #endif #define _ATL_FREE_THREADED #define _ATL_NO_AUTOMATIC_NAMESPACE // turns off ATL's hiding of some common and often safely ignored warning messages #define _ATL_ALL_WARNINGS #define SAFE_RELEASE(p) {if ((p)) { (p)->Release(); (p) = NULL; }} #include "resource.h" #include <atlbase.h> #include <atlcom.h> extern const GUID GUID_DEVINTERFACE_TOASTER; using namespace ATL; |
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials