Java 类com.sun.jna.platform.win32.WinDef.BOOL 实例源码

项目:MonitorBrightness    文件:MonitorJna.java   
private void check(BOOL retVal)
{
    if (!retVal.booleanValue())
    {
        int err = Kernel32.INSTANCE.GetLastError();
        if (err != 0)
            throw new Win32Exception(err);
    }
}
项目:JLoadLibrary    文件:PsapiExt.java   
public BOOL EnumProcessModulesEx(HANDLE hProcess, DWORD[] hMods, int i, Pointer lpcbNeeded, DWORD dwFilterFlag);