Changeset 3317 for trunk/src/rpcrt4/uuid.cpp
- Timestamp:
- Apr 4, 2000, 9:50:43 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/rpcrt4/uuid.cpp
r3307 r3317 1 /* $Id: uuid.cpp,v 1. 1 2000-04-02 22:02:59davidr Exp $ */1 /* $Id: uuid.cpp,v 1.2 2000-04-04 19:49:03 davidr Exp $ */ 2 2 /* 3 3 * RPCRT4 library … … 137 137 // S_OK if successful. 138 138 // ---------------------------------------------------------------------- 139 RPCRTAPI 140 RPC_STATUS 141 RPC_ENTRY 139 RPCRTAPI RPC_STATUS RPC_ENTRY 142 140 UuidCreate ( 143 141 OUT UUID __RPC_FAR * pUuid … … 256 254 // UuidCreateNil 257 255 // ---------------------------------------------------------------------- 258 RPCRTAPI 259 RPC_STATUS 260 RPC_ENTRY 256 RPCRTAPI RPC_STATUS RPC_ENTRY 261 257 UuidCreateNil ( 262 258 OUT UUID __RPC_FAR * NilUuid … … 275 271 // Memory allocated here should be released via RpcStringFreeA 276 272 // ---------------------------------------------------------------------- 277 RPCRTAPI 278 RPC_STATUS 279 RPC_ENTRY 273 RPCRTAPI RPC_STATUS RPC_ENTRY 280 274 UuidToStringA ( 281 275 IN UUID __RPC_FAR * Uuid, … … 286 280 287 281 dprintf(("RPCRT4: %s", __FUNCTION__)); 282 283 // jic 284 *StringUuid = 0; 288 285 289 286 if ((pString = (char *)HeapAlloc(GetProcessHeap(), 0, 40)) == NULL) … … 313 310 // UuidFromStringA 314 311 // ---------------------------------------------------------------------- 315 RPCRTAPI 316 RPC_STATUS 317 RPC_ENTRY 312 RPCRTAPI RPC_STATUS RPC_ENTRY 318 313 UuidFromStringA ( 319 314 IN unsigned char __RPC_FAR * StringUuid, … … 396 391 // Memory allocated here should be released via RpcStringFreeW 397 392 // ---------------------------------------------------------------------- 398 RPCRTAPI 399 RPC_STATUS 400 RPC_ENTRY 393 RPCRTAPI RPC_STATUS RPC_ENTRY 401 394 UuidToStringW ( 402 395 IN UUID __RPC_FAR * Uuid, … … 440 433 // UuidFromStringW 441 434 // ---------------------------------------------------------------------- 442 RPCRTAPI 443 RPC_STATUS 444 RPC_ENTRY 435 RPCRTAPI RPC_STATUS RPC_ENTRY 445 436 UuidFromStringW ( 446 437 IN unsigned short __RPC_FAR * StringUuid, … … 460 451 // UuidCompare 461 452 // ---------------------------------------------------------------------- 462 RPCRTAPI 463 signed int 464 RPC_ENTRY 453 RPCRTAPI signed int RPC_ENTRY 465 454 UuidCompare ( 466 455 IN UUID __RPC_FAR * Uuid1, … … 561 550 // UuidEqual 562 551 // ---------------------------------------------------------------------- 563 RPCRTAPI 564 int 565 RPC_ENTRY 552 RPCRTAPI int RPC_ENTRY 566 553 UuidEqual ( 567 554 IN UUID __RPC_FAR * Uuid1, … … 579 566 // UuidHash 580 567 // ---------------------------------------------------------------------- 581 RPCRTAPI 582 unsigned short 583 RPC_ENTRY 568 RPCRTAPI unsigned short RPC_ENTRY 584 569 UuidHash ( 585 570 IN UUID __RPC_FAR * Uuid, … … 674 659 // UuidIsNil 675 660 // ---------------------------------------------------------------------- 676 RPCRTAPI 677 int 678 RPC_ENTRY 661 RPCRTAPI int RPC_ENTRY 679 662 UuidIsNil ( 680 663 IN UUID __RPC_FAR * Uuid, … … 683 666 { 684 667 dprintf(("RPCRT4: %s", __FUNCTION__)); 668 669 *Status = RPC_S_OK; 670 685 671 return IsEqualGUID(Uuid, &uuid_nil); 686 672 }
Note:
See TracChangeset
for help on using the changeset viewer.