更新图像状态头文件定义
This commit is contained in:
parent
1ea5dda99a
commit
4d993e8e91
|
@ -1,4 +1,4 @@
|
||||||
#include "scanned_img.h"
|
#include "scanned_img.h"
|
||||||
|
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <Shlwapi.h>
|
#include <Shlwapi.h>
|
||||||
|
@ -383,7 +383,7 @@ unsigned int mapping_buf::mapped_bytes(void)
|
||||||
// class scanned_img
|
// class scanned_img
|
||||||
scanned_img::scanned_img(SANE_Handle dev, SANE_Parameters head, void* data, unsigned int len, int dpi, const wchar_t* tmp_file
|
scanned_img::scanned_img(SANE_Handle dev, SANE_Parameters head, void* data, unsigned int len, int dpi, const wchar_t* tmp_file
|
||||||
, twain_xfer xfer, SANE_FinalImgFormat* fmt) : head_(head), dpi_(dpi), header_size_(0)
|
, twain_xfer xfer, SANE_FinalImgFormat* fmt) : head_(head), dpi_(dpi), header_size_(0)
|
||||||
, file_(tmp_file ? tmp_file : L""), dev_(dev), status_(SANE_Image_Statu_OK)
|
, file_(tmp_file ? tmp_file : L""), dev_(dev), status_(IMG_STATUS_OK)
|
||||||
{
|
{
|
||||||
const bool prepare_data = true;
|
const bool prepare_data = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue