本文整理汇总了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();
}
示例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();
}
示例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();
}
示例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();
}
示例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);
示例6: GetSystemMenu
public WinDef.HMENU GetSystemMenu(WinDef.HWND hWnd, WinDef.BOOL bRevert);
示例7: InsertMenu
public WinDef.BOOL InsertMenu(WinDef.HMENU hMenu, WinDef.UINT uPosition, WinDef.UINT uFlags, WinDef.UINT_PTR uIDNewItem, String lpNewItem);
示例8: UnhookWinEvent
public WinDef.BOOL UnhookWinEvent(WinNT.HANDLE hWinEventHook);
示例9: EnumWindows
public WinDef.BOOL EnumWindows(Callback lpEnumFunc, WinDef.LPARAM data);
示例10: SetWindowPos
public WinDef.BOOL SetWindowPos(WinDef.HWND hWnd, WinDef.HWND hWndInsertAfter, int X, int Y, int cx, int cy, WinDef.UINT uFlags);
示例11: TrackPopupMenu
public WinDef.BOOL TrackPopupMenu(WinDef.HMENU hMenu, WinDef.UINT uFlags, int x, int y, int nReserved, WinDef.HWND hWnd, WinDef.RECT prcRect);
示例12: ClientToScreen
public WinDef.BOOL ClientToScreen(WinDef.HWND hWnd, WinDef.POINT lpPoint);
示例13: DeleteMenu
public WinDef.BOOL DeleteMenu(WinDef.HMENU hMenu, WinDef.UINT uPosition, WinDef.UINT uFlags);