Hantek DSO3064USB SDK manual HTDisplayDll

SDK - HTDisplayDll.dll Manual
VC++6.0 IDE
Note:
HTHardDll.dll was compiled under VC++6.0. WORD: unsigned short BOOL: bool ULONG: unsigned long
#ifndef DLL_API #define DLL_API extern "C" __declspec(dllimport) #endif
Define __stdcall:
#define WIN_API __stdcallHTDispalyDll SDK
1. Function : HTDrawGrid for draw gird DLL_API void WINAPI HTDrawGrid(HDC hDC, //handle
int nLeft,// the left of the rect int nTop, // the top of the rect int nRight, // the right of the rect int nBottom, // the bottom of the rect USHORT nHoriGridNum, // the number of horizontal grid USHORT nVertGridNum,// the number of vertical grid USHORT nBright,// the bright of the line USHORT IsGrid // whether draw grid scale );
2. Function : HTDrawWaveInYTfor VC++ DLL_API void WINAPI HTDrawWaveInYT(
HDC hDC, // handle RECT Rect, // the rect for drawing
COLORREF clrRGB,// the color of the line USHORT nDisType,// display type : Line or Dot short* pSrcData, // the source data for drawing ULONG nSrcDataLen, //the source data length ULONG nDisDataLen,// the display length data for drawing ULONG nCenterData,// half of the source data USHORT nDisLeverPos, //the display position (Zero Level) double dbHorizontal,// the horizontal factor of zoom out/in double dbVertical,// the vertical factor of zoom out/in USHORT nYTFormat,//format: normal or scan ULONG nScanLen// the scan data length, only invalidate in scan mode );
3. Function : HTDrawWaveInYTVBfor VB , the same with VC HTDrawWaveInYT DLL_API void WINAPI HTDrawWaveInYTVB(
HDC hDC, int left, int top, int right, int bottom, USHORT R, USHORT G, USHORT B, USHORT nDisType, short* pSrcData, ULONG nSrcDataLen, ULONG nDisDataLen, ULONG nCenterData, USHORT nDisLeverPos, double dbHorizontal, double dbVertical, USHORT nYTFormat, ULONG nScanLen
);
Loading...