Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
718 B

// File: pfnsetupapi.h
#ifndef _PFNSETUPAPI_H_
#define _PFNSETUPAPI_H_
#include "setupapi.h"
typedef BOOL ( *PFN_SET_INSTALL)(HWND, HINF, LPCTSTR, UINT, HKEY, LPCTSTR, UINT, PSP_FILE_CALLBACK, PVOID, HDEVINFO, PSP_DEVINFO_DATA );
typedef HINF ( *PFN_SET_OPFILE)( LPCTSTR, LPCTSTR, DWORD, PUINT );
typedef VOID ( *PFN_SET_CLFILE)( HINF );
class SETUPAPI
{
private:
static HINSTANCE m_hInstance;
protected:
SETUPAPI() {};
~SETUPAPI() {};
public:
static HRESULT Init(void);
static void DeInit(void);
static PFN_SET_INSTALL SetupInstallFromInfSection;
static PFN_SET_OPFILE SetupOpenInfFile;
static PFN_SET_CLFILE SetupCloseInfFile;
};
#endif /* _PFNSETUPAPI_H_ */