kfirmware.h 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. // kfirmware.h :
  2. //
  3. #if !defined(AGD_KFIRMWARE_H__F2361150_E2FE_4C33_B34E_CF3B6A70399E__INCLUDED_)
  4. #define AGD_KFIRMWARE_H__F2361150_E2FE_4C33_B34E_CF3B6A70399E__INCLUDED_
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif // __cplusplus
  8. /////////////////////////////////////////////////////////////////////////////
  9. // kfirmware.h - Declarations:
  10. typedef struct _KFW_DROP_CTX
  11. {
  12. LPCKFW_IMG_HEADER pkih;
  13. }KFW_DROP_CTX, *LPKFW_DROP_CTX;
  14. typedef const KFW_DROP_CTX *LPCKFW_DROP_CTX;
  15. /////////////////////////////////////////////////////////////////////////////
  16. bool KfwMatchMaterialNum(const char *pszMatNumEEPROM, const char *pszMatNumImg);
  17. LPCKFW_IMG_HEADER KfwLookupImgHeader(const void *pData, size_t nCbData);
  18. int KfwOnDataDropped(const void *pData, size_t nCbData, LPKFW_DROP_CTX pdc);
  19. bool KfwQueryUploadInfo(LPTIVA_UPLOAD_INFO ptui);
  20. bool KfwUploadInfoReady(void);
  21. /////////////////////////////////////////////////////////////////////////////
  22. #ifdef __cplusplus
  23. }
  24. #endif // __cplusplus
  25. #endif // !defined(AGD_KFIRMWARE_H__F2361150_E2FE_4C33_B34E_CF3B6A70399E__INCLUDED_)