Changeset 247 for trunk/src/plugins/org.eclipse.swt
- Timestamp:
- Jan 25, 2010, 3:13:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/library/swt.c
r246 r247 670 670 } 671 671 672 JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_pm_OS_WinSendMsg__IILorg_eclipse_swt_internal_pm_RECORDCORE_2I 673 (JNIEnv *env, jclass that, jint hwnd, jint ulMsgid, jobject mpParam1, jint mpParam2) 674 { 675 RECORDCORE c_mpParam1, *c_pmpParam1 = NULL; 676 jint rc; 677 678 if (mpParam1) 679 c_pmpParam1 = getRECORDCOREFields(env, mpParam1, &c_mpParam1, &PGLOB(RECORDCOREFc)); 680 rc = (jint)WinSendMsg((HWND)hwnd, ulMsgid, c_pmpParam1, (MPARAM)mpParam2); 681 682 if (mpParam1) 683 setRECORDCOREFields(env, mpParam1, c_pmpParam1, &PGLOB(RECORDCOREFc)); 684 return rc; 685 } 686 672 687 JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_pm_OS_WinSendMsg__IIILorg_eclipse_swt_internal_pm_MENUITEM_2 673 688 (JNIEnv *env, jclass that, jint hwnd, jint ulMsgid, jint mpParam1, jobject mpParam2) … … 700 715 701 716 if (mpParam1) setFATTRSFields(env, mpParam1, c_pmpParam1, &PGLOB(FATTRSFc)); 717 718 return rc; 719 } 720 721 JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_pm_OS_WinSendMsg__IILorg_eclipse_swt_internal_pm_CNRINFO_2I 722 (JNIEnv *env, jclass that, jint hwnd, jint ulMsgid, jobject mpParam1, jint mpParam2) 723 { 724 DECL_GLOB(pGlob) 725 CNRINFO c_mpParam1, *c_pmpParam1 = NULL; 726 jboolean rc; 727 728 DEBUG_CALL("WinSendMsg\n") 729 730 if (mpParam1) c_pmpParam1 = getCNRINFOFields(env, mpParam1, &c_mpParam1, &PGLOB(CNRINFOFc)); 731 732 rc = (jboolean)WinSendMsg((HWND)hwnd, ulMsgid, (PCNRINFO)c_pmpParam1, (MPARAM)mpParam2); 733 734 if (mpParam1) setCNRINFOFields(env, mpParam1, c_pmpParam1, &PGLOB(CNRINFOFc)); 702 735 703 736 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.