Changeset 7508 for trunk/src/ole32
- Timestamp:
- Nov 30, 2001, 8:02:33 PM (24 years ago)
- Location:
- trunk/src/ole32
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/antimoniker.c
r7502 r7508 15 15 #include "debugtools.h" 16 16 17 #ifdef __WIN32OS2__18 #undef FIXME19 #undef TRACE20 #ifdef DEBUG21 // PH 2001-11-3022 // this macro definition causes the control leave the scope of a23 // non-curly-braced preceeding if statement. Therefore,24 // if (p!=NULL)25 // TRACE("p->a=%d", p->a)26 // crashes.27 //28 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT29 // !!! ARE PUT INTO CURLY BRACES30 #define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog31 #define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog32 #else33 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)34 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)35 #endif36 #endif37 17 38 18 DEFAULT_DEBUG_CHANNEL(ole); -
trunk/src/ole32/bindctx.c
r7502 r7508 17 17 #include "heap.h" 18 18 19 #ifdef __WIN32OS2__20 #undef FIXME21 #undef TRACE22 #ifdef DEBUG23 // PH 2001-11-3024 // this macro definition causes the control leave the scope of a25 // non-curly-braced preceeding if statement. Therefore,26 // if (p!=NULL)27 // TRACE("p->a=%d", p->a)28 // crashes.29 //30 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT31 // !!! ARE PUT INTO CURLY BRACES32 #define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog33 #define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog34 #else35 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)36 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)37 #endif38 #endif39 19 40 20 DEFAULT_DEBUG_CHANNEL(ole); -
trunk/src/ole32/compobj.c
r7502 r7508 37 37 #ifdef __WIN32OS2__ 38 38 #include <heapstring.h> 39 40 #undef FIXME41 #undef TRACE42 #ifdef DEBUG43 // PH 2001-11-3044 // this macro definition causes the control leave the scope of a45 // non-curly-braced preceeding if statement. Therefore,46 // if (p!=NULL)47 // TRACE("p->a=%d", p->a)48 // crashes.49 //50 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT51 // !!! ARE PUT INTO CURLY BRACES52 #define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog53 #define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog54 #else55 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)56 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)57 #endif58 39 #endif 59 40 … … 446 427 BYTE *p; 447 428 int i; 448 449 450 #ifdef __WIN32OS2__451 // Note: only setup the lookup table once!452 static BOOL fCLSIDTableInitialized = FALSE;453 static BYTE table[256];454 #else455 429 BYTE table[256]; 456 #endif457 430 458 431 if (!s) 459 432 s = "{00000000-0000-0000-0000-000000000000}"; 460 433 else { /* validate the CLSID string */ 461 462 #ifdef __WIN32OS2__ 463 // PH: all other characters are tested up to the 38th 464 // and cannot be zero so this test should be sufficient. 465 if (s[38] != 0) 466 #else 467 if (strlen(s) != 38) 468 #endif 434 435 if (strlen(s) != 38) 469 436 return CO_E_CLASSSTRING; 470 437 … … 484 451 485 452 TRACE("%s -> %p\n", s, id); 486 487 488 #ifdef __WIN32OS2__ 489 if (fCLSIDTableInitialized == FALSE) 490 { 491 fCLSIDTableInitialized = TRUE; 492 #endif 493 494 /* quick lookup table */ 495 memset(table, 0, 256); 496 497 for (i = 0; i < 10; i++) { 498 table['0' + i] = i; 499 } 500 for (i = 0; i < 6; i++) { 501 table['A' + i] = i+10; 502 table['a' + i] = i+10; 503 } 504 505 #ifdef __WIN32OS2__ 506 } 507 #endif 453 454 /* quick lookup table */ 455 memset(table, 0, 256); 456 457 for (i = 0; i < 10; i++) { 458 table['0' + i] = i; 459 } 460 for (i = 0; i < 6; i++) { 461 table['A' + i] = i+10; 462 table['a' + i] = i+10; 463 } 508 464 509 465 /* in form {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} */ … … 1502 1458 1503 1459 if (pServerInfo!=NULL) 1504 {1505 1460 FIXME("() non-NULL pServerInfo not supported!\n"); 1506 }1507 1461 1508 1462 /* -
trunk/src/ole32/oleobj.c
r7502 r7508 12 12 #include "debugtools.h" 13 13 #include "oleidl.h" 14 15 #ifdef __WIN32OS2__16 #undef FIXME17 #undef TRACE18 #ifdef DEBUG19 // PH 2001-11-3020 // this macro definition causes the control leave the scope of a21 // non-curly-braced preceeding if statement. Therefore,22 // if (p!=NULL)23 // TRACE("p->a=%d", p->a)24 // crashes.25 //26 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT27 // !!! ARE PUT INTO CURLY BRACES28 #define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog29 #define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog30 #else31 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)32 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)33 #endif34 #endif35 14 36 15 DEFAULT_DEBUG_CHANNEL(ole); -
trunk/src/ole32/stg_bigblockfile.c
r7502 r7508 44 44 #include "debugtools.h" 45 45 46 #ifdef __WIN32OS2__47 #undef FIXME48 #undef TRACE49 #ifdef DEBUG50 // PH 2001-11-3051 // this macro definition causes the control leave the scope of a52 // non-curly-braced preceeding if statement. Therefore,53 // if (p!=NULL)54 // TRACE("p->a=%d", p->a)55 // crashes.56 //57 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT58 // !!! ARE PUT INTO CURLY BRACES59 #define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog60 #define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog61 #else62 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)63 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)64 #endif65 #endif66 46 67 47 DEFAULT_DEBUG_CHANNEL(storage); -
trunk/src/ole32/storage32.c
r7502 r7508 37 37 #define FILE_BEGIN 0 38 38 39 #ifdef __WIN32OS2__40 #undef FIXME41 #undef TRACE42 #ifdef DEBUG43 // PH 2001-11-3044 // this macro definition causes the control leave the scope of a45 // non-curly-braced preceeding if statement. Therefore,46 // if (p!=NULL)47 // TRACE("p->a=%d", p->a)48 // crashes.49 //50 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT51 // !!! ARE PUT INTO CURLY BRACES52 #define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog53 #define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog54 #else55 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)56 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)57 #endif58 #endif59 39 60 40 … … 1388 1368 1389 1369 if ((ciidExclude != 0) || (rgiidExclude != NULL) || (snbExclude != NULL)) 1390 {1391 1370 FIXME("Exclude option not implemented\n"); 1392 }1393 1371 1394 1372 TRACE("(%p, %ld, %p, %p, %p)\n", … … 5359 5337 5360 5338 if (grfMode & STGM_TRANSACTED) 5361 {5362 5339 FIXME("Transacted mode not implemented.\n"); 5363 }5364 5340 5365 5341 /* … … 5967 5943 /* All other cases */ 5968 5944 if (stgm & ~ (STGM_CREATE|STGM_CONVERT)) 5969 { 5970 FIXME("unhandled storage mode : 0x%08lx\n",stgm & ~ (STGM_CREATE|STGM_CONVERT)); 5971 } 5945 FIXME("unhandled storage mode : 0x%08lx\n",stgm & ~ (STGM_CREATE|STGM_CONVERT)); 5972 5946 return CREATE_NEW; 5973 5947 }
Note:
See TracChangeset
for help on using the changeset viewer.