当前位置: 首页>>代码示例>>Java>>正文


Java WinDef.BOOL属性代码示例

本文整理汇总了Java中com.sun.jna.platform.win32.WinDef.BOOL属性的典型用法代码示例。如果您正苦于以下问题:Java WinDef.BOOL属性的具体用法?Java WinDef.BOOL怎么用?Java WinDef.BOOL使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在com.sun.jna.platform.win32.WinDef的用法示例。


在下文中一共展示了WinDef.BOOL属性的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: offScreen

/**
 * Returns whether the element is off screen.
 * @return True if off screen.
 * @throws AutomationException Call to Automation API failed.
 */
public WinDef.BOOL offScreen() throws AutomationException {
    WinDef.BOOLByReference bbr = new WinDef.BOOLByReference();

    final int res = this.element.getCurrentIsOffscreen(bbr);
    if (res != 0) {
        throw new AutomationException(res);
    }

    return bbr.getValue();
}
 
开发者ID:mmarquee,项目名称:ui-automation,代码行数:15,代码来源:AutomationElement.java

示例2: isContentElement

/**
 * Returns whether the element is a content element.
 * @return True if content element.
 * @throws AutomationException Call to Automation API failed.
 */
public WinDef.BOOL isContentElement() throws AutomationException {
    WinDef.BOOLByReference bbr = new WinDef.BOOLByReference();

    final int res = this.element.getCurrentIsContentElement(bbr);
    if (res != 0) {
        throw new AutomationException(res);
    }

    return bbr.getValue();
}
 
开发者ID:mmarquee,项目名称:ui-automation,代码行数:15,代码来源:AutomationElement.java

示例3: isControlElement

/**
 * Returns whether the element is a control element.
 * @return True if control element.
 * @throws AutomationException Call to Automation API failed.
 */
public WinDef.BOOL isControlElement() throws AutomationException {
    WinDef.BOOLByReference bbr = new WinDef.BOOLByReference();

    final int res = this.element.getCurrentIsControlElement(bbr);
    if (res != 0) {
        throw new AutomationException(res);
    }

    return bbr.getValue();
}
 
开发者ID:mmarquee,项目名称:ui-automation,代码行数:15,代码来源:AutomationElement.java

示例4: isEnabled

/**
 * Returns whether the element is enabled.
 * @return True if enabled.
 * @throws AutomationException Call to Automation API failed.
 */
public WinDef.BOOL isEnabled() throws AutomationException {
    WinDef.BOOLByReference bbr = new WinDef.BOOLByReference();

    final int res = this.element.getCurrentIsEnabled(bbr);
    if (res  != 0) {
        throw new AutomationException(res);
    }

    return bbr.getValue();
}
 
开发者ID:mmarquee,项目名称:ui-automation,代码行数:15,代码来源:AutomationElement.java

示例5: CreateProcess

public boolean CreateProcess(String lpApplicationName, String lpCommandLine, WinBase.SECURITY_ATTRIBUTES lpProcessAttributes, WinBase.SECURITY_ATTRIBUTES lpThreadAttributes, WinDef.BOOL bInheritHandles, WinDef.DWORD dwCreationFlags, Pointer lpEnvironment, String lpCurrentDirectory, WinBase.STARTUPINFO lpStartupInfo, WinBase.PROCESS_INFORMATION lpProcessInformation); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:Kernel32.java

示例6: GetSystemMenu

public WinDef.HMENU GetSystemMenu(WinDef.HWND hWnd, WinDef.BOOL bRevert); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:User32.java

示例7: InsertMenu

public WinDef.BOOL InsertMenu(WinDef.HMENU hMenu, WinDef.UINT uPosition, WinDef.UINT uFlags, WinDef.UINT_PTR uIDNewItem, String lpNewItem); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:User32.java

示例8: UnhookWinEvent

public WinDef.BOOL UnhookWinEvent(WinNT.HANDLE hWinEventHook); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:User32.java

示例9: EnumWindows

public WinDef.BOOL EnumWindows(Callback lpEnumFunc, WinDef.LPARAM data); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:User32.java

示例10: SetWindowPos

public WinDef.BOOL SetWindowPos(WinDef.HWND hWnd, WinDef.HWND hWndInsertAfter, int X, int Y, int cx, int cy, WinDef.UINT uFlags); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:User32.java

示例11: TrackPopupMenu

public WinDef.BOOL TrackPopupMenu(WinDef.HMENU hMenu, WinDef.UINT uFlags, int x, int y, int nReserved, WinDef.HWND hWnd, WinDef.RECT prcRect); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:User32.java

示例12: ClientToScreen

public WinDef.BOOL ClientToScreen(WinDef.HWND hWnd, WinDef.POINT lpPoint); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:User32.java

示例13: DeleteMenu

public WinDef.BOOL DeleteMenu(WinDef.HMENU hMenu, WinDef.UINT uPosition, WinDef.UINT uFlags); 
开发者ID:vanjadardic,项目名称:KiTTY2,代码行数:1,代码来源:User32.java


注:本文中的com.sun.jna.platform.win32.WinDef.BOOL属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。