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

  1. // File: pfnsetupapi.h
  2. #ifndef _PFNSETUPAPI_H_
  3. #define _PFNSETUPAPI_H_
  4. #include "setupapi.h"
  5. typedef BOOL ( *PFN_SET_INSTALL)(HWND, HINF, LPCTSTR, UINT, HKEY, LPCTSTR, UINT, PSP_FILE_CALLBACK, PVOID, HDEVINFO, PSP_DEVINFO_DATA );
  6. typedef HINF ( *PFN_SET_OPFILE)( LPCTSTR, LPCTSTR, DWORD, PUINT );
  7. typedef VOID ( *PFN_SET_CLFILE)( HINF );
  8. class SETUPAPI
  9. {
  10. private:
  11. static HINSTANCE m_hInstance;
  12. protected:
  13. SETUPAPI() {};
  14. ~SETUPAPI() {};
  15. public:
  16. static HRESULT Init(void);
  17. static void DeInit(void);
  18. static PFN_SET_INSTALL SetupInstallFromInfSection;
  19. static PFN_SET_OPFILE SetupOpenInfFile;
  20. static PFN_SET_CLFILE SetupCloseInfFile;
  21. };
  22. #endif /* _PFNSETUPAPI_H_ */