Changeset 5051 for trunk/src/win32k/utils/Win32kCC.c
- Timestamp:
- Feb 2, 2001, 9:41:31 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/utils/Win32kCC.c
r4880 r5051 1 /* $Id: Win32kCC.c,v 1.1 0 2001-01-08 18:05:26bird Exp $1 /* $Id: Win32kCC.c,v 1.11 2001-02-02 08:41:31 bird Exp $ 2 2 * 3 3 * Win32CC - Win32k Control Center. … … 374 374 * Update Config.sys. 375 375 */ 376 *pszConfigSys = ulBootDrv - 1 + 'A';376 *pszConfigSys = (char)(ulBootDrv - 1 + 'A'); 377 377 phConfigSys = fopen(pszConfigSys, "r+"); 378 378 if (phConfigSys) … … 529 529 WinSendDlgItemMsg(hwnd, RB_LDR_PE_PE, BM_SETCHECK, (MPARAM)(pThis->Options.fPE == FLAGS_PE_PE), NULL); 530 530 WinSendDlgItemMsg(hwnd, RB_LDR_PE_NOT, BM_SETCHECK, (MPARAM)(pThis->Options.fPE == FLAGS_PE_NOT), NULL); 531 WinSendDlgItemMsg(hwnd, CK_LDR_PE_ONEOBJECT, BM_SETCHECK, (MPARAM)(pThis->Options.fPEOneObject), NULL); 531 532 WinSendDlgItemMsg(hwnd, SB_LDR_PE_INFOLEVEL, SPBM_SETCURRENTVALUE, (MPARAM)(pThis->Options.ulInfoLevel), NULL); /* FIXME to be changed */ 532 533 sprintf(szNumber, "%d", pThis->Status.cPe2LxModules); … … 645 646 return (MPARAM)FALSE; 646 647 } 648 pThis->NewOptions.fPEOneObject = (ULONG)WinSendDlgItemMsg(hwnd, CK_LDR_PE_ONEOBJECT, BM_QUERYCHECK, NULL, NULL); 649 if (pThis->NewOptions.fPEOneObject > 2) 650 { 651 if (fComplain) 652 Complain(hwnd, IDS_ERR_NO_PE_RADIOBUTTON); 653 return (MPARAM)FALSE; 654 } 647 655 if (!WinSendDlgItemMsg(hwnd, SB_LDR_PE_INFOLEVEL, SPBM_QUERYVALUE, (MPARAM)&ul, MPFROM2SHORT(0, SPBQ_UPDATEIFVALID))) 648 656 { … … 766 774 { 767 775 va_list args; 776 #pragma info(none) 768 777 va_start(args, id); 778 #pragma info(restore) 769 779 vsprintf(szMsgOutput, szMsg, args); 770 780 va_end(args); … … 940 950 } 941 951 942 return (char*)(*pszStr != '\0' ? (c har*)pszStr - 1 :NULL);952 return (char*)(*pszStr != '\0' ? (const char*)pszStr - 1 : (const char*)NULL); 943 953 } 944 954
Note:
See TracChangeset
for help on using the changeset viewer.