Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/Variant.d @ 38:2e09b0e6857a
work on phobosfication
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 25 Mar 2009 11:18:25 +0100 |
parents | 950d84783eac |
children |
comparison
equal
deleted
inserted
replaced
37:46c5f8f56b41 | 38:2e09b0e6857a |
---|---|
536 auto v = cast(void*)dispatchData; | 536 auto v = cast(void*)dispatchData; |
537 COM.MoveMemory((cast(void*)pData) + 8, &v, 4); | 537 COM.MoveMemory((cast(void*)pData) + 8, &v, 4); |
538 break; | 538 break; |
539 case COM.VT_BSTR : | 539 case COM.VT_BSTR : |
540 COM.MoveMemory((cast(void*)pData), &type, 2); | 540 COM.MoveMemory((cast(void*)pData), &type, 2); |
541 wchar[] data = StrToWCHARs(stringData); | 541 StringT data = StrToWCHARs(stringData); |
542 auto ptr = COM.SysAllocString(data.ptr); | 542 auto ptr = COM.SysAllocString(data.ptr); |
543 COM.MoveMemory((cast(void*)pData) + 8, &ptr, 4); | 543 COM.MoveMemory((cast(void*)pData) + 8, &ptr, 4); |
544 break; | 544 break; |
545 | 545 |
546 default : | 546 default : |