stdafx.h

来自「winddk src目录下的WDM源码压缩!」· C头文件 代码 · 共 56 行

H
56
字号
#pragma once

#define SAFE_DELETE(p) \
{                       \
    if(p)               \
    {                   \
        delete p;       \
        p = NULL;       \
    }                   \
}

///////////////////////////////////////////////////////////////////////////////
// Windows system headers
//

#include <windows.h>            // Windows defines
#include <stdio.h>              // std out defines
#include <coguid.h>             // COM defines
#include <objbase.h>            // COM defines
#include <shobjidl.h>           // Shell UI Extension
#include <shlobj.h>             // Shell UI Extension
#include <gdiplus.h>            // GDI+
#include <shlwapi.h>            // Shell light weight API

///////////////////////////////////////////////////////////////////////////////
// WIA driver core headers
//

#include <sti.h>                // STI defines
#include <stiusd.h>             // IStiUsd interface
#include <wiamindr.h>           // IWiaMinidrv interface
#include <wiadevd.h>            // IWiaUIExtension interface
#include <wiamdef.h>

///////////////////////////////////////////////////////////////////////////////
// WIA common library headers
//

#include "basicstr.h"
#include "basicarray.h"           // CSimpleDynamicArray

///////////////////////////////////////////////////////////////////////////////
// WIA driver common headers

#define DEFAULT_BUFFER_SIZE             (128 * 1024)

#include "wiapropertymanager.h"     // WIA driver property manager class
#include "wiacapabilitymanager.h"   // WIA driver capability manager class
#include "wiahelpers.h"             // WIA driver helper functions

#include "resource.h"               // WIA driver resource defines
#include "WiaDevice.h"              // WIA simulated device class
#include "wiadriver.h"              // WIA driver header


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?