- Timestamp:
- Nov 30, 2001, 6:08:53 PM (24 years ago)
- Location:
- trunk/src/oleaut32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/oleaut32/olepicture.c
r7484 r7501 60 60 #undef TRACE 61 61 #ifdef DEBUG 62 // PH 2001-11-30 63 // this macro definition causes the control leave the scope of a 64 // non-curly-braced preceeding if statement. Therefore, 65 // if (p!=NULL) 66 // TRACE("p->a=%d", p->a) 67 // crashes. 68 // 69 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT 70 // !!! ARE PUT INTO CURLY BRACES 62 71 #define TRACE WriteLog("%s", __FUNCTION__); WriteLog 63 72 #define FIXME WriteLog("FIXME %s", __FUNCTION__); WriteLog … … 498 507 This, hdc, x, y, cx, cy, xSrc, ySrc, cxSrc, cySrc, prcWBounds); 499 508 if(prcWBounds) 509 { 500 510 TRACE("prcWBounds (%d,%d) - (%d,%d)\n", prcWBounds->left, prcWBounds->top, 501 prcWBounds->right, prcWBounds->bottom); 511 prcWBounds->right, prcWBounds->bottom); 512 } 502 513 503 514 /* … … 840 851 } 841 852 if (xread != header[1]) 853 { 842 854 FIXME("Could only read %ld of %ld bytes?\n",xread,header[1]); 855 } 843 856 844 857 magic = xbuf[0] + (xbuf[1]<<8); … … 1272 1285 hr = IPicture_QueryInterface(newpic,riid,ppvObj); 1273 1286 if (hr) 1274 FIXME("Failed to get interface %s from IPicture.\n",debugstr_guid(riid)); 1287 { 1288 FIXME("Failed to get interface %s from IPicture.\n",debugstr_guid(riid)); 1289 } 1275 1290 IPicture_Release(newpic); 1276 1291 return hr; -
trunk/src/oleaut32/typelib.c
r6952 r7501 71 71 #undef TRACE 72 72 #ifdef DEBUG 73 // PH 2001-11-30 74 // this macro definition causes the control leave the scope of a 75 // non-curly-braced preceeding if statement. Therefore, 76 // if (p!=NULL) 77 // TRACE("p->a=%d", p->a) 78 // crashes. 79 // 80 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT 81 // !!! ARE PUT INTO CURLY BRACES 73 82 #define TRACE WriteLog("OLEAUT32: %s", __FUNCTION__); WriteLog 74 83 #define FIXME WriteLog("OLEAUT32: FIXME %s", __FUNCTION__); WriteLog … … 2365 2374 2366 2375 name += SLTG_ReadStringA(name, &refname); 2367 if(sscanf(refname, "*\\R%x*#%x", &lib_offs, &type_num) != 2) 2368 FIXME("Can't sscanf ref\n"); 2376 if(sscanf(refname, "*\\R%x*#%x", &lib_offs, &type_num) != 2) 2377 { 2378 FIXME("Can't sscanf ref\n"); 2379 } 2369 2380 if(lib_offs != 0xffff) { 2370 2381 TLBImpLib **import = &pTI->pTypeLib->pImpLibs; … … 2392 2403 } 2393 2404 len = strlen(fname); 2394 if(fname[len-1] != '#') 2395 FIXME("fname = %s\n", fname); 2405 if(fname[len-1] != '#') 2406 { 2407 FIXME("fname = %s\n", fname); 2408 } 2396 2409 fname[len-1] = '\0'; 2397 2410 (*import)->name = TLB_MultiByteToBSTR(fname); … … 2408 2421 } 2409 2422 if((BYTE)*name != SLTG_REF_MAGIC) 2423 { 2410 2424 FIXME("End of ref block magic = %x\n", *name); 2425 } 2411 2426 dump_TLBRefType(pTI->reflist); 2412 2427 } … … 2435 2450 if(info->next == 0xffff) 2436 2451 break; 2437 if(OneOnly) 2438 FIXME("Interface inheriting more than one interface\n"); 2452 if(OneOnly) 2453 { 2454 FIXME("Interface inheriting more than one interface\n"); 2455 } 2439 2456 info = (SLTG_ImplInfo*)(pBlk + info->next); 2440 2457 } … … 2890 2907 2891 2908 if((pTIHeader->typeflags1 & 7) != 2) 2892 FIXME("typeflags1 = %02x\n", pTIHeader->typeflags1); 2909 { 2910 FIXME("typeflags1 = %02x\n", pTIHeader->typeflags1); 2911 } 2893 2912 if(pTIHeader->typeflags3 != 2) 2894 FIXME("typeflags3 = %02x\n", pTIHeader->typeflags3); 2895 2913 { 2914 FIXME("typeflags3 = %02x\n", pTIHeader->typeflags3); 2915 } 2896 2916 TRACE("TypeInfo %s of kind %s guid %s typeflags %04x\n", 2897 2917 debugstr_w((*ppTypeInfoImpl)->Name), … … 4023 4043 } 4024 4044 } 4025 if (pFDesc->funcdesc.cParamsOpt) 4045 if (pFDesc->funcdesc.cParamsOpt) 4046 { 4026 4047 FIXME("Does not support optional parameters (%d)\n", 4027 4048 pFDesc->funcdesc.cParamsOpt 4028 ); 4049 ); 4050 } 4029 4051 4030 4052 res = _invoke((*(DWORD***)pIUnk)[pFDesc->funcdesc.oVft/4], … … 4077 4099 pVarResult,pExcepInfo,pArgErr 4078 4100 ); 4079 if (hr) 4080 FIXME("IDispatch::Invoke failed with %08lx. (Could be not a real error?)\n",hr); 4101 if (hr) 4102 { 4103 FIXME("IDispatch::Invoke failed with %08lx. (Could be not a real error?)\n",hr); 4104 } 4081 4105 IDispatch_Release(disp); 4082 4106 return hr; … … 4216 4240 break; 4217 4241 } 4218 if(!pRefType) 4219 FIXME("Can't find pRefType for ref %lx\n", hRefType); 4242 if(!pRefType) 4243 { 4244 FIXME("Can't find pRefType for ref %lx\n", hRefType); 4245 } 4220 4246 if(pRefType && hRefType != -1) { 4221 4247 ITypeLib *pTLib;
Note:
See TracChangeset
for help on using the changeset viewer.