package com.usky.sas.common.hik.sdk;

import com.sun.jna.Native;
import com.sun.jna.platform.win32.WinDef.HDC;
import com.sun.jna.platform.win32.WinDef.HWND;
import com.sun.jna.platform.win32.WinDef.RECT;
import com.sun.jna.platform.win32.WinNT.HANDLE;
import com.sun.jna.win32.StdCallLibrary;
import com.sun.jna.win32.W32APIOptions;

interface USER32 extends StdCallLibrary {

    USER32 INSTANCE = Native.load("user32", USER32.class, W32APIOptions.DEFAULT_OPTIONS);

    int BF_LEFT = 0x0001;
    int BF_TOP = 0x0002;
    int BF_RIGHT = 0x0004;
    int BF_BOTTOM = 0x0008;
    int BDR_SUNKENOUTER = 0x0002;
    int BF_RECT = (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM);

    boolean DrawEdge(HDC hdc, RECT qrc, int edge, int grfFlags);

    int FillRect(HDC hdc, RECT lprc, HANDLE hbr);
}

