Differences From Artifact [6e0e0dc09137eaf3]:
- File
src/win32/oleauto.d
- 2015-04-21 10:46:55 - part of checkin [4e2933c620] on branch trunk - Rebased to the latest verson dmd 2.067. Not yet verified the outcome. (user: kinaba) [annotate]
To Artifact [d49872cd6ba219cd]:
- File
src/win32/oleauto.d
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
4 4 * Windows API header module *
5 5 * *
6 6 * Translated from MinGW Windows headers *
7 7 * *
8 8 * Placed into public domain *
9 9 \***********************************************************************/
10 10 module win32.oleauto;
11 -pragma(lib, "oleaut32.lib");
11 +pragma(lib, "oleaut32");
12 12
13 13 import win32.oaidl;
14 14 private import win32.basetyps, win32.unknwn, win32.windef, win32.wtypes;
15 15 private import win32.winbase; // for SYSTEMTIME
16 16
17 17 align(8):
18 18 const STDOLE_MAJORVERNUM = 1;
................................................................................
216 216 deprecated { // not actually deprecated, but they aren't converted yet.
217 217 // (will need to reinstate CreateTypeLib as well)
218 218 interface ICreateTypeInfo {};
219 219 interface ICreateTypeInfo2 {};
220 220 interface ICreateTypeLib {};
221 221 interface ICreateTypeLib2 {};
222 222
223 - alias ICreateTypeInfo* LPCREATETYPEINFO;
224 - alias ICreateTypeInfo2* LPCREATETYPEINFO2;
225 - alias ICreateTypeLib* LPCREATETYPELIB;
226 - alias ICreateTypeLib2* LPCREATETYPELIB2;
223 + alias ICreateTypeInfo LPCREATETYPEINFO;
224 + alias ICreateTypeInfo2 LPCREATETYPEINFO2;
225 + alias ICreateTypeLib LPCREATETYPELIB;
226 + alias ICreateTypeLib2 LPCREATETYPELIB2;
227 227 }
228 228
229 229 extern (Windows) {
230 - BSTR SysAllocString(CPtr!(OLECHAR));
231 - int SysReAllocString(BSTR*, CPtr!(OLECHAR));
232 - BSTR SysAllocStringLen(CPtr!(OLECHAR), uint);
233 - int SysReAllocStringLen(BSTR*, CPtr!(OLECHAR), uint);
230 + BSTR SysAllocString(const(OLECHAR)*);
231 + int SysReAllocString(BSTR*, const(OLECHAR)*);
232 + BSTR SysAllocStringLen(const(OLECHAR)*, uint);
233 + int SysReAllocStringLen(BSTR*, const(OLECHAR)*, uint);
234 234 void SysFreeString(BSTR);
235 235 uint SysStringLen(BSTR);
236 236 uint SysStringByteLen(BSTR);
237 - BSTR SysAllocStringByteLen(CPtr!(char), uint);
237 + BSTR SysAllocStringByteLen(const(char)*, uint);
238 238 int DosDateTimeToVariantTime(ushort, ushort, double*);
239 239 int VariantTimeToDosDateTime(double, ushort*, ushort*);
240 240 int VariantTimeToSystemTime(double, LPSYSTEMTIME);
241 241 int SystemTimeToVariantTime(LPSYSTEMTIME, double*);
242 242 HRESULT VarDateFromUdate(UDATE*, ULONG, DATE*);
243 243 HRESULT VarDateFromUdateEx(UDATE*, LCID, ULONG, DATE*);
244 244 HRESULT VarUdateFromDate(DATE, ULONG, UDATE*);
................................................................................
261 261 HRESULT SafeArrayPutElement(SAFEARRAY*, int*, void*);
262 262 HRESULT SafeArrayCopy(SAFEARRAY*, SAFEARRAY**);
263 263 HRESULT SafeArrayPtrOfIndex(SAFEARRAY*, int*, void**);
264 264 SAFEARRAY* SafeArrayCreateVector(VARTYPE, LONG, ULONG);
265 265 SAFEARRAY* SafeArrayCreateVectorEx(VARTYPE, LONG, ULONG, LPVOID);
266 266 HRESULT SafeArrayAllocDescriptorEx(VARTYPE, UINT, SAFEARRAY**);
267 267 HRESULT SafeArrayGetVartype(SAFEARRAY*, VARTYPE*);
268 - HRESULT SafeArraySetRecordInfo(SAFEARRAY*, IRecordInfo*);
269 - HRESULT SafeArrayGetRecordInfo(SAFEARRAY*, IRecordInfo**);
268 + HRESULT SafeArraySetRecordInfo(SAFEARRAY*, IRecordInfo);
269 + HRESULT SafeArrayGetRecordInfo(SAFEARRAY*, IRecordInfo*);
270 270 HRESULT SafeArraySetIID(SAFEARRAY*, REFGUID);
271 271 HRESULT SafeArrayGetIID(SAFEARRAY*, GUID*);
272 272 void VariantInit(VARIANTARG*);
273 273 HRESULT VariantClear(VARIANTARG*);
274 274 HRESULT VariantCopy(VARIANTARG*, VARIANTARG*);
275 275 HRESULT VariantCopyInd(VARIANT*, VARIANTARG*);
276 276 HRESULT VariantChangeType(VARIANTARG*, VARIANTARG*, ushort, VARTYPE);
................................................................................
354 354 HRESULT VarBoolFromR4(float, VARIANT_BOOL*);
355 355 HRESULT VarBoolFromR8(double, VARIANT_BOOL*);
356 356 HRESULT VarBoolFromDate(DATE, VARIANT_BOOL*);
357 357 HRESULT VarBoolFromCy(CY, VARIANT_BOOL*);
358 358 HRESULT VarBoolFromStr(OLECHAR*, LCID, uint, VARIANT_BOOL*);
359 359 HRESULT VarBoolFromDisp(LPDISPATCH, LCID, VARIANT_BOOL*);
360 360 HRESULT VarDecFromR8(double, DECIMAL*);
361 - ULONG LHashValOfNameSysA(SYSKIND, LCID, CPtr!(char));
362 - ULONG LHashValOfNameSys(SYSKIND, LCID, CPtr!(OLECHAR));
363 - HRESULT LoadTypeLib(CPtr!(OLECHAR), LPTYPELIB*);
361 + ULONG LHashValOfNameSysA(SYSKIND, LCID, const(char)*);
362 + ULONG LHashValOfNameSys(SYSKIND, LCID, const(OLECHAR)*);
363 + HRESULT LoadTypeLib(const(OLECHAR)*, LPTYPELIB*);
364 364 HRESULT LoadTypeLibEx(LPCOLESTR, REGKIND, LPTYPELIB*);
365 365 HRESULT LoadRegTypeLib(REFGUID, WORD, WORD, LCID, LPTYPELIB*);
366 366 HRESULT QueryPathOfRegTypeLib(REFGUID, ushort, ushort, LCID, LPBSTR);
367 367 HRESULT RegisterTypeLib(LPTYPELIB, OLECHAR*, OLECHAR*);
368 368 HRESULT UnRegisterTypeLib(REFGUID, WORD, WORD, LCID, SYSKIND);
369 369 // not actually deprecated, but depends on unconverted ICreateTypeLib
370 - deprecated HRESULT CreateTypeLib(SYSKIND, CPtr!(OLECHAR), LPCREATETYPELIB*);
370 + deprecated HRESULT CreateTypeLib(SYSKIND, const(OLECHAR)*, LPCREATETYPELIB*);
371 371 HRESULT DispGetParam(DISPPARAMS*, UINT, VARTYPE, VARIANT*, UINT*);
372 372 HRESULT DispGetIDsOfNames(LPTYPEINFO, OLECHAR**, UINT, DISPID*);
373 373 HRESULT DispInvoke(void*, LPTYPEINFO, DISPID, WORD, DISPPARAMS*, VARIANT*, EXCEPINFO*, UINT*);
374 374 HRESULT CreateDispTypeInfo(INTERFACEDATA*, LCID, LPTYPEINFO*);
375 - HRESULT CreateStdDispatch(IUnknown*, void*, LPTYPEINFO, IUnknown**);
376 - HRESULT RegisterActiveObject(IUnknown*, REFCLSID, DWORD, DWORD*);
375 + HRESULT CreateStdDispatch(IUnknown, void*, LPTYPEINFO, IUnknown*);
376 + HRESULT RegisterActiveObject(IUnknown, REFCLSID, DWORD, DWORD*);
377 377 HRESULT RevokeActiveObject(DWORD, void*);
378 - HRESULT GetActiveObject(REFCLSID, void*, IUnknown**);
378 + HRESULT GetActiveObject(REFCLSID, void*, IUnknown*);
379 379 HRESULT SetErrorInfo(uint, LPERRORINFO);
380 380 HRESULT GetErrorInfo(uint, LPERRORINFO*);
381 381 HRESULT CreateErrorInfo(LPCREATEERRORINFO*);
382 382 uint OaBuildVersion();
383 383 HRESULT VectorFromBstr (BSTR, SAFEARRAY**);
384 384 HRESULT BstrFromVector (SAFEARRAY*, BSTR*);
385 385 HRESULT VarParseNumFromStr(OLECHAR*, LCID, ULONG, NUMPARSE*, BYTE*);
................................................................................
400 400 HRESULT VarUI1FromI1(byte, BYTE*);
401 401 HRESULT VarUI1FromUI2(USHORT, BYTE*);
402 402 HRESULT VarUI1FromUI4(ULONG, BYTE*);
403 403 HRESULT VarUI1FromUI8(ULONG64, BYTE*);
404 404 HRESULT VarUI1FromStr(OLECHAR*, LCID, ULONG, BYTE*);
405 405 HRESULT VarUI1FromCy(CY, BYTE*);
406 406 HRESULT VarUI1FromDec(DECIMAL*, BYTE*);
407 - HRESULT VarUI1FromDisp(IDispatch*, LCID, BYTE*);
407 + HRESULT VarUI1FromDisp(IDispatch, LCID, BYTE*);
408 408
409 409 HRESULT VarI2FromUI1(BYTE, SHORT*);
410 410 HRESULT VarI2FromI4(LONG, SHORT*);
411 411 HRESULT VarI2FromI8(LONG64, SHORT*);
412 412 HRESULT VarI2FromR4(FLOAT, SHORT*);
413 413 HRESULT VarI2FromR8(DOUBLE, SHORT*);
414 414 HRESULT VarI2FromDate(DATE, SHORT*);
................................................................................
416 416 HRESULT VarI2FromI1(byte, SHORT*);
417 417 HRESULT VarI2FromUI2(USHORT, SHORT*);
418 418 HRESULT VarI2FromUI4(ULONG, SHORT*);
419 419 HRESULT VarI2FromUI8(ULONG64, SHORT*);
420 420 HRESULT VarI2FromStr(OLECHAR*, LCID, ULONG, SHORT*);
421 421 HRESULT VarI2FromCy(CY, SHORT*);
422 422 HRESULT VarI2FromDec(DECIMAL*, SHORT*);
423 - HRESULT VarI2FromDisp(IDispatch*, LCID, SHORT*);
423 + HRESULT VarI2FromDisp(IDispatch, LCID, SHORT*);
424 424
425 425 HRESULT VarI4FromUI1(BYTE, LONG*);
426 426 HRESULT VarI4FromI2(SHORT, LONG*);
427 427 HRESULT VarI4FromI8(LONG64, LONG*);
428 428 HRESULT VarI4FromR4(FLOAT, LONG*);
429 429 HRESULT VarI4FromR8(DOUBLE, LONG*);
430 430 HRESULT VarI4FromDate(DATE, LONG*);
................................................................................
432 432 HRESULT VarI4FromI1(byte, LONG*);
433 433 HRESULT VarI4FromUI2(USHORT, LONG*);
434 434 HRESULT VarI4FromUI4(ULONG, LONG*);
435 435 HRESULT VarI4FromUI8(ULONG64, LONG*);
436 436 HRESULT VarI4FromStr(OLECHAR*, LCID, ULONG, LONG*);
437 437 HRESULT VarI4FromCy(CY, LONG*);
438 438 HRESULT VarI4FromDec(DECIMAL*, LONG*);
439 - HRESULT VarI4FromDisp(IDispatch*, LCID, LONG*);
439 + HRESULT VarI4FromDisp(IDispatch, LCID, LONG*);
440 440
441 441 HRESULT VarI8FromUI1(BYTE, LONG64*);
442 442 HRESULT VarI8FromI2(SHORT, LONG64*);
443 443 HRESULT VarI8FromI4(LONG, LONG64*);
444 444 HRESULT VarI8FromR4(FLOAT, LONG64*);
445 445 HRESULT VarI8FromR8(DOUBLE, LONG64*);
446 446 HRESULT VarI8FromDate(DATE, LONG64*);
................................................................................
449 449 HRESULT VarI8FromI1(byte, LONG64*);
450 450 HRESULT VarI8FromUI2(USHORT, LONG64*);
451 451 HRESULT VarI8FromUI4(ULONG, LONG64*);
452 452 HRESULT VarI8FromUI8(ULONG64, LONG64*);
453 453 HRESULT VarI8FromDec(DECIMAL* pdecIn, LONG64*);
454 454 HRESULT VarI8FromInt(INT intIn, LONG64*);
455 455 HRESULT VarI8FromCy(CY, LONG64*);
456 - HRESULT VarI8FromDisp(IDispatch*, LCID, LONG64*);
456 + HRESULT VarI8FromDisp(IDispatch, LCID, LONG64*);
457 457
458 458 HRESULT VarR4FromUI1(BYTE, FLOAT*);
459 459 HRESULT VarR4FromI2(SHORT, FLOAT*);
460 460 HRESULT VarR4FromI4(LONG, FLOAT*);
461 461 HRESULT VarR4FromI8(LONG64, FLOAT*);
462 462 HRESULT VarR4FromR8(DOUBLE, FLOAT*);
463 463 HRESULT VarR4FromDate(DATE, FLOAT*);
................................................................................
465 465 HRESULT VarR4FromI1(byte, FLOAT*);
466 466 HRESULT VarR4FromUI2(USHORT, FLOAT*);
467 467 HRESULT VarR4FromUI4(ULONG, FLOAT*);
468 468 HRESULT VarR4FromUI8(ULONG64, FLOAT*);
469 469 HRESULT VarR4FromStr(OLECHAR*, LCID, ULONG, FLOAT*);
470 470 HRESULT VarR4FromCy(CY, FLOAT*);
471 471 HRESULT VarR4FromDec(DECIMAL*, FLOAT*);
472 - HRESULT VarR4FromDisp(IDispatch*, LCID, FLOAT*);
472 + HRESULT VarR4FromDisp(IDispatch, LCID, FLOAT*);
473 473
474 474 HRESULT VarR8FromUI1(BYTE, double*);
475 475 HRESULT VarR8FromI2(SHORT, double*);
476 476 HRESULT VarR8FromI4(LONG, double*);
477 477 HRESULT VarR8FromI8(LONG64, double*);
478 478 HRESULT VarR8FromR4(FLOAT, double*);
479 479 HRESULT VarR8FromDate(DATE, double*);
................................................................................
481 481 HRESULT VarR8FromI1(byte, double*);
482 482 HRESULT VarR8FromUI2(USHORT, double*);
483 483 HRESULT VarR8FromUI4(ULONG, double*);
484 484 HRESULT VarR8FromUI8(ULONG64, double*);
485 485 HRESULT VarR8FromStr(OLECHAR*, LCID, ULONG, double*);
486 486 HRESULT VarR8FromCy(CY, double*);
487 487 HRESULT VarR8FromDec(DECIMAL*, double*);
488 - HRESULT VarR8FromDisp(IDispatch*, LCID, double*);
488 + HRESULT VarR8FromDisp(IDispatch, LCID, double*);
489 489
490 490 HRESULT VarDateFromUI1(BYTE, DATE*);
491 491 HRESULT VarDateFromI2(SHORT, DATE*);
492 492 HRESULT VarDateFromI4(LONG, DATE*);
493 493 HRESULT VarDateFromI8(LONG64, DATE*);
494 494 HRESULT VarDateFromR4(FLOAT, DATE*);
495 495 HRESULT VarDateFromR8(DOUBLE, DATE*);
................................................................................
497 497 HRESULT VarDateFromI1(byte, DATE*);
498 498 HRESULT VarDateFromUI2(USHORT, DATE*);
499 499 HRESULT VarDateFromUI4(ULONG, DATE*);
500 500 HRESULT VarDateFromUI8(ULONG64, DATE*);
501 501 HRESULT VarDateFromBool(VARIANT_BOOL, DATE*);
502 502 HRESULT VarDateFromCy(CY, DATE*);
503 503 HRESULT VarDateFromDec(DECIMAL*, DATE*);
504 - HRESULT VarDateFromDisp(IDispatch*, LCID, DATE*);
504 + HRESULT VarDateFromDisp(IDispatch, LCID, DATE*);
505 505
506 506 HRESULT VarCyFromUI1(BYTE, CY*);
507 507 HRESULT VarCyFromI2(SHORT sIn, CY*);
508 508 HRESULT VarCyFromI4(LONG, CY*);
509 509 HRESULT VarCyFromI8(LONG64, CY*);
510 510 HRESULT VarCyFromR4(FLOAT, CY*);
511 511 HRESULT VarCyFromR8(DOUBLE, CY*);
................................................................................
514 514 HRESULT VarCyFromBool(VARIANT_BOOL, CY*);
515 515 HRESULT VarCyFromI1(byte, CY*);
516 516 HRESULT VarCyFromUI2(USHORT, CY*);
517 517 HRESULT VarCyFromUI4(ULONG, CY*);
518 518 HRESULT VarCyFromUI8(ULONG64, CY*);
519 519 HRESULT VarCyFromDec(DECIMAL*, CY*);
520 520 HRESULT VarCyFromStr(OLECHAR*, LCID, ULONG, CY*);
521 - HRESULT VarCyFromDisp(IDispatch*, LCID, CY*);
521 + HRESULT VarCyFromDisp(IDispatch, LCID, CY*);
522 522
523 523 HRESULT VarBstrFromUI1(BYTE, LCID, ULONG, BSTR*);
524 524 HRESULT VarBstrFromI2(SHORT, LCID, ULONG, BSTR*);
525 525 HRESULT VarBstrFromI4(LONG, LCID, ULONG, BSTR*);
526 526 HRESULT VarBstrFromI8(LONG64, LCID, ULONG, BSTR*);
527 527 HRESULT VarBstrFromR4(FLOAT, LCID, ULONG, BSTR*);
528 528 HRESULT VarBstrFromR8(DOUBLE, LCID, ULONG, BSTR*);
................................................................................
530 530 HRESULT VarBstrFromBool(VARIANT_BOOL, LCID, ULONG, BSTR*);
531 531 HRESULT VarBstrFromI1(byte, LCID, ULONG, BSTR*);
532 532 HRESULT VarBstrFromUI2(USHORT, LCID, ULONG, BSTR*);
533 533 HRESULT VarBstrFromUI8(ULONG64, LCID, ULONG, BSTR*);
534 534 HRESULT VarBstrFromUI4(ULONG, LCID, ULONG, BSTR*);
535 535 HRESULT VarBstrFromCy(CY, LCID, ULONG, BSTR*);
536 536 HRESULT VarBstrFromDec(DECIMAL*, LCID, ULONG, BSTR*);
537 - HRESULT VarBstrFromDisp(IDispatch*, LCID, ULONG, BSTR*);
537 + HRESULT VarBstrFromDisp(IDispatch, LCID, ULONG, BSTR*);
538 538
539 539 HRESULT VarBoolFromUI1(BYTE, VARIANT_BOOL*);
540 540 HRESULT VarBoolFromI2(SHORT, VARIANT_BOOL*);
541 541 HRESULT VarBoolFromI4(LONG, VARIANT_BOOL*);
542 542 HRESULT VarBoolFromI8(LONG64, VARIANT_BOOL*);
543 543 HRESULT VarBoolFromR4(FLOAT, VARIANT_BOOL*);
544 544 HRESULT VarBoolFromR8(DOUBLE, VARIANT_BOOL*);
................................................................................
546 546 HRESULT VarBoolFromStr(OLECHAR*, LCID, ULONG, VARIANT_BOOL*);
547 547 HRESULT VarBoolFromI1(byte, VARIANT_BOOL*);
548 548 HRESULT VarBoolFromUI2(USHORT, VARIANT_BOOL*);
549 549 HRESULT VarBoolFromUI4(ULONG, VARIANT_BOOL*);
550 550 HRESULT VarBoolFromUI8(ULONG64, VARIANT_BOOL*);
551 551 HRESULT VarBoolFromCy(CY, VARIANT_BOOL*);
552 552 HRESULT VarBoolFromDec(DECIMAL*, VARIANT_BOOL*);
553 - HRESULT VarBoolFromDisp(IDispatch*, LCID, VARIANT_BOOL*);
553 + HRESULT VarBoolFromDisp(IDispatch, LCID, VARIANT_BOOL*);
554 554
555 555 HRESULT VarI1FromUI1(BYTE, byte*);
556 556 HRESULT VarI1FromI2(SHORT, byte*);
557 557 HRESULT VarI1FromI4(LONG, byte*);
558 558 HRESULT VarI1FromI8(LONG64, byte*);
559 559 HRESULT VarI1FromR4(FLOAT, byte*);
560 560 HRESULT VarI1FromR8(DOUBLE, byte*);
................................................................................
562 562 HRESULT VarI1FromStr(OLECHAR*, LCID, ULONG, byte*);
563 563 HRESULT VarI1FromBool(VARIANT_BOOL, byte*);
564 564 HRESULT VarI1FromUI2(USHORT, byte*);
565 565 HRESULT VarI1FromUI4(ULONG, byte*);
566 566 HRESULT VarI1FromUI8(ULONG64, byte*);
567 567 HRESULT VarI1FromCy(CY, byte*);
568 568 HRESULT VarI1FromDec(DECIMAL*, byte*);
569 - HRESULT VarI1FromDisp(IDispatch*, LCID, byte*);
569 + HRESULT VarI1FromDisp(IDispatch, LCID, byte*);
570 570
571 571 HRESULT VarUI2FromUI1(BYTE, USHORT*);
572 572 HRESULT VarUI2FromI2(SHORT, USHORT*);
573 573 HRESULT VarUI2FromI4(LONG, USHORT*);
574 574 HRESULT VarUI2FromI8(LONG64, USHORT*);
575 575 HRESULT VarUI2FromR4(FLOAT, USHORT*);
576 576 HRESULT VarUI2FromR8(DOUBLE, USHORT*);
................................................................................
578 578 HRESULT VarUI2FromStr(OLECHAR*, LCID, ULONG, USHORT*);
579 579 HRESULT VarUI2FromBool(VARIANT_BOOL, USHORT*);
580 580 HRESULT VarUI2FromI1(byte, USHORT*);
581 581 HRESULT VarUI2FromUI4(ULONG, USHORT*);
582 582 HRESULT VarUI2FromUI8(ULONG64, USHORT*);
583 583 HRESULT VarUI2FromCy(CY, USHORT*);
584 584 HRESULT VarUI2FromDec(DECIMAL*, USHORT*);
585 - HRESULT VarUI2FromDisp(IDispatch*, LCID, USHORT*);
585 + HRESULT VarUI2FromDisp(IDispatch, LCID, USHORT*);
586 586
587 587 HRESULT VarUI4FromStr(OLECHAR*, LCID, ULONG, ULONG*);
588 588 HRESULT VarUI4FromUI1(BYTE, ULONG*);
589 589 HRESULT VarUI4FromI2(SHORT, ULONG*);
590 590 HRESULT VarUI4FromI4(LONG, ULONG*);
591 591 HRESULT VarUI4FromI8(LONG64, ULONG*);
592 592 HRESULT VarUI4FromR4(FLOAT, ULONG*);
................................................................................
594 594 HRESULT VarUI4FromDate(DATE, ULONG*);
595 595 HRESULT VarUI4FromBool(VARIANT_BOOL, ULONG*);
596 596 HRESULT VarUI4FromI1(byte, ULONG*);
597 597 HRESULT VarUI4FromUI2(USHORT, ULONG*);
598 598 HRESULT VarUI4FromUI8(ULONG64, ULONG*);
599 599 HRESULT VarUI4FromCy(CY, ULONG*);
600 600 HRESULT VarUI4FromDec(DECIMAL*, ULONG*);
601 - HRESULT VarUI4FromDisp(IDispatch*, LCID, ULONG*);
601 + HRESULT VarUI4FromDisp(IDispatch, LCID, ULONG*);
602 602
603 603 HRESULT VarUI8FromUI1(BYTE, ULONG64*);
604 604 HRESULT VarUI8FromI2(SHORT, ULONG64*);
605 605 HRESULT VarUI8FromI4(LONG, ULONG64*);
606 606 HRESULT VarUI8FromI8(LONG64, ULONG64*);
607 607 HRESULT VarUI8FromR4(FLOAT, ULONG64*);
608 608 HRESULT VarUI8FromR8(DOUBLE, ULONG64*);
................................................................................
611 611 HRESULT VarUI8FromBool(VARIANT_BOOL, ULONG64*);
612 612 HRESULT VarUI8FromI1(byte, ULONG64*);
613 613 HRESULT VarUI8FromUI2(USHORT, ULONG64*);
614 614 HRESULT VarUI8FromUI4(ULONG, ULONG64*);
615 615 HRESULT VarUI8FromDec(DECIMAL*, ULONG64*);
616 616 HRESULT VarUI8FromInt(INT, ULONG64*);
617 617 HRESULT VarUI8FromCy(CY, ULONG64*);
618 - HRESULT VarUI8FromDisp(IDispatch*, LCID, ULONG64*);
618 + HRESULT VarUI8FromDisp(IDispatch, LCID, ULONG64*);
619 619
620 620 HRESULT VarDecFromUI1(BYTE, DECIMAL*);
621 621 HRESULT VarDecFromI2(SHORT, DECIMAL*);
622 622 HRESULT VarDecFromI4(LONG, DECIMAL*);
623 623 HRESULT VarDecFromI8(LONG64, DECIMAL*);
624 624 HRESULT VarDecFromR4(FLOAT, DECIMAL*);
625 625 HRESULT VarDecFromR8(DOUBLE, DECIMAL*);
................................................................................
627 627 HRESULT VarDecFromStr(OLECHAR*, LCID, ULONG, DECIMAL*);
628 628 HRESULT VarDecFromBool(VARIANT_BOOL, DECIMAL*);
629 629 HRESULT VarDecFromI1(byte, DECIMAL*);
630 630 HRESULT VarDecFromUI2(USHORT, DECIMAL*);
631 631 HRESULT VarDecFromUI4(ULONG, DECIMAL*);
632 632 HRESULT VarDecFromUI8(ULONG64, DECIMAL*);
633 633 HRESULT VarDecFromCy(CY, DECIMAL*);
634 - HRESULT VarDecFromDisp(IDispatch*, LCID, DECIMAL*);
634 + HRESULT VarDecFromDisp(IDispatch, LCID, DECIMAL*);
635 635
636 - HRESULT VarDecNeg(CPtr!(DECIMAL), DECIMAL*);
636 + HRESULT VarDecNeg(const(DECIMAL)*, DECIMAL*);
637 637 HRESULT VarR4CmpR8(float, double);
638 638 HRESULT VarR8Pow(double, double, double*);
639 639 HRESULT VarR8Round(double, int, double*);
640 - HRESULT VarDecAbs(CPtr!(DECIMAL), DECIMAL*);
641 - HRESULT VarDecAdd(CPtr!(DECIMAL), CPtr!(DECIMAL), DECIMAL*);
642 - HRESULT VarDecCmp(CPtr!(DECIMAL), CPtr!(DECIMAL));
643 - HRESULT VarDecCmpR8(CPtr!(DECIMAL), DOUBLE);
644 - HRESULT VarDecDiv(CPtr!(DECIMAL), CPtr!(DECIMAL), DECIMAL*);
645 - HRESULT VarDecFix(CPtr!(DECIMAL), DECIMAL*);
646 - HRESULT VarDecInt(CPtr!(DECIMAL), DECIMAL*);
647 - HRESULT VarDecMul(CPtr!(DECIMAL), CPtr!(DECIMAL), DECIMAL*);
648 - HRESULT VarDecRound(CPtr!(DECIMAL), int, DECIMAL*);
649 - HRESULT VarDecSub(CPtr!(DECIMAL), CPtr!(DECIMAL), DECIMAL*);
640 + HRESULT VarDecAbs(const(DECIMAL)*, DECIMAL*);
641 + HRESULT VarDecAdd(const(DECIMAL)*, const(DECIMAL)*, DECIMAL*);
642 + HRESULT VarDecCmp(const(DECIMAL)*, const(DECIMAL)*);
643 + HRESULT VarDecCmpR8(const(DECIMAL)*, DOUBLE);
644 + HRESULT VarDecDiv(const(DECIMAL)*, const(DECIMAL)*, DECIMAL*);
645 + HRESULT VarDecFix(const(DECIMAL)*, DECIMAL*);
646 + HRESULT VarDecInt(const(DECIMAL)*, DECIMAL*);
647 + HRESULT VarDecMul(const(DECIMAL)*, const(DECIMAL)*, DECIMAL*);
648 + HRESULT VarDecRound(const(DECIMAL)*, int, DECIMAL*);
649 + HRESULT VarDecSub(const(DECIMAL)*, const(DECIMAL)*, DECIMAL*);
650 650 HRESULT VarCyAbs(CY, CY*);
651 651 HRESULT VarCyAdd(CY, CY, CY*);
652 652 HRESULT VarCyCmp(CY, CY);
653 653 HRESULT VarCyCmpR8(CY, DOUBLE);
654 654 HRESULT VarCyFix(CY, CY*);
655 655 HRESULT VarCyInt(CY, CY*);
656 656 HRESULT VarCyMul(CY, CY, CY*);