本文整理汇总了Java中com.sun.jna.platform.win32.WinDef.UINT属性的典型用法代码示例。如果您正苦于以下问题:Java WinDef.UINT属性的具体用法?Java WinDef.UINT怎么用?Java WinDef.UINT使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.sun.jna.platform.win32.WinDef
的用法示例。
在下文中一共展示了WinDef.UINT属性的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setUp
@Before
public void setUp() {
addr = new WinDivertAddress();
addr.IfIdx = new WinDef.UINT(0);
addr.SubIfIdx = new WinDef.UINT(1);
addr.Direction = new WinDef.USHORT(OUTBOUND.getValue());
raw = parseHexBinary("45000051476040008006f005c0a856a936f274fdd84201bb0876cfd0c19f9320501800ff8dba0000170303" +
"00240000000000000c2f53831a37ed3c3a632f47440594cab95283b558bf82cb7784344c3314");
payload = parseHexBinary("17030300240000000000000c2f53831a37ed3c3a632f47440594cab95283b558bf82cb7784344c3314");
packet = new Packet(raw, addr);
}
示例2: orUINT
public static WinDef.UINT orUINT(WinDef.UINT... values) {
long or = 0;
for (WinDef.UINT value : values) {
or |= value.longValue();
}
return new WinDef.UINT(or);
}
示例3: callback
public WinDef.LRESULT callback(WinDef.HWND hwnd, WinDef.UINT Msg, WinDef.WPARAM wParam, WinDef.LPARAM lParam) {
return user32.CallWindowProc(previousProcPtr, hwnd, Msg, wParam, lParam);
}
示例4: InsertMenu
public WinDef.BOOL InsertMenu(WinDef.HMENU hMenu, WinDef.UINT uPosition, WinDef.UINT uFlags, WinDef.UINT_PTR uIDNewItem, String lpNewItem);
示例5: CallWindowProc
public WinDef.LRESULT CallWindowProc(BaseTSD.LONG_PTR lpPrevWndFunc, WinDef.HWND hWnd, WinDef.UINT Msg, WinDef.WPARAM wParam, WinDef.LPARAM lParam);
示例6: SetWinEventHook
public WinNT.HANDLE SetWinEventHook(WinDef.UINT eventMin, WinDef.UINT eventMax, WinDef.HMODULE hmodWinEventProc, Callback lpfnWinEventProc, WinDef.DWORD idProcess, WinDef.DWORD idThread, WinDef.UINT dwflags);
示例7: SetWindowPos
public WinDef.BOOL SetWindowPos(WinDef.HWND hWnd, WinDef.HWND hWndInsertAfter, int X, int Y, int cx, int cy, WinDef.UINT uFlags);
示例8: PostMessage
public WinDef.HWND PostMessage(WinDef.HWND hWnd, WinDef.UINT Msg, WinDef.WPARAM wParam, WinDef.LPARAM lParam);
示例9: TrackPopupMenu
public WinDef.BOOL TrackPopupMenu(WinDef.HMENU hMenu, WinDef.UINT uFlags, int x, int y, int nReserved, WinDef.HWND hWnd, WinDef.RECT prcRect);
示例10: DeleteMenu
public WinDef.BOOL DeleteMenu(WinDef.HMENU hMenu, WinDef.UINT uPosition, WinDef.UINT uFlags);