setupinf.h

来自「安装文件」· C头文件 代码 · 共 38 行

H
38 行
字号
#ifndef _SETUPINF_H_
#define _SETUPINF_H_

#include "Setupapi.h"

#define ID_INSTALL	200

//
// typedefs
//
typedef struct tagINSTALLINFO
{
    HINSTANCE hInst;        // current instance
	HINF	hInf;
	HSPFILEQ FileQueue;
} INSTALLINFO;

//
// Context for data needed in my callback routine
// This needs to include the context for the default callback
// since my callback calls the default
//

typedef struct tagMY_INSTALL_DATA{

   // TODO: Add other data here that you want to have 
   //       available to your callback function.
   //       For example, you may keep a counter that indicates
   //       your bill board if you are doing your own progress dialog

   PVOID pDefaultContext;
   HWND hProgress;

} MY_INSTALL_DATA;

#define INF_OPTION1         TEXT("ProductInstall")

#endif	// _SETUPINF_H_

⌨️ 快捷键说明

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