Sample Code

Windows Driver Samples/ Windows Image Acquisition (WIA) Driver Samples/ C++/ wiadriverex/ imgfilter/ wiaitem.h/

#pragma once

#define MIN_PROPID 2

class CWiaItem {
public:
    CWiaItem();
    ~CWiaItem();
    HRESULT SetIWiaItem(IWiaItem2 *pIWiaItem);
    void Release();

    HRESULT ReadRequiredPropertyLong(PROPID PropertyID, _Out_ LONG *plPropertyValue);
    HRESULT ReadRequiredPropertyBSTR(PROPID PropertyID, _Outptr_ BSTR *pbstrPropertyValue);
    HRESULT ReadRequiredPropertyGUID(PROPID PropertyID, _Out_ GUID *pguidPropertyValue);

private:
    IWiaPropertyStorage *m_pIWiaPropStg;
protected:
};

Our Services

  • What our customers say about us?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS