- Timestamp:
- Jul 13, 2009, 5:01:28 PM (16 years ago)
- Location:
- trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/library/swt.c
r149 r168 591 591 if (mpParam2) 592 592 setMENUITEMFields(env, mpParam2, c_pmpParam2, &PGLOB(MENUITEMFc)); 593 return rc; 594 } 595 596 JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_pm_OS_WinSendMsg__IILorg_eclipse_swt_internal_pm_RECTL_2Z 597 (JNIEnv *env, jclass that, jint hwnd, jint ulMsgid, jobject mpParam1, jboolean mpParam2) 598 { 599 DECL_GLOB(pGlob) 600 RECTL c_mpParam1, *c_pmpParam1 = NULL; 601 jint rc; 602 603 DEBUG_CALL("WinSendMsg\n") 604 605 if (mpParam1) c_pmpParam1 = getRECTLFields(env, mpParam1, &c_mpParam1, &PGLOB(RECTLFc)); 606 607 rc = (jint)WinSendMsg((HWND)hwnd, ulMsgid, (MPARAM)c_pmpParam1, (BOOL)mpParam2); 608 609 if (mpParam1) setRECTLFields(env, mpParam1, c_pmpParam1, &PGLOB(RECTLFc)); 610 593 611 return rc; 594 612 } -
trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/org/eclipse/swt/internal/pm/OS.java
r152 r168 2256 2256 public static final native int WinSendMsg (int hwnd, int ulMsgid, int mpParam1, int mpParam2); 2257 2257 public static final native int WinSendMsg (int hwnd, int ulMsgid, RECTL mpParam1, int mpParam2); 2258 public static final native int WinSendMsg (int hwnd, int ulMsgid, RECTL mpParam1, boolean mpParam2); 2258 2259 public static final native int WinSendMsg (int hwnd, int ulMsgid, PSZ mpParam1, int mpParam2); 2259 2260 public static final native int WinSendMsg (int hwnd, int ulMsgid, int mpParam1, PSZ mpParam2);
Note:
See TracChangeset
for help on using the changeset viewer.