Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/OleAutomation.d @ 39:0ecb2b338560
further work on phobosification
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 25 Mar 2009 13:20:43 +0100 |
parents | 6dd524f61e62 |
children |
comparison
equal
deleted
inserted
replaced
38:2e09b0e6857a | 39:0ecb2b338560 |
---|---|
351 * order as the names where provided; or null if the names are unknown | 351 * order as the names where provided; or null if the names are unknown |
352 */ | 352 */ |
353 public int[] getIDsOfNames(String[] names) { | 353 public int[] getIDsOfNames(String[] names) { |
354 | 354 |
355 int count = names.length; | 355 int count = names.length; |
356 wchar*[] wcNames = new wchar*[count]; | 356 LPCWSTR[] wcNames = new LPCWSTR[count]; |
357 for(int i=0; i<count; ++i){ | 357 for(int i=0; i<count; ++i){ |
358 wcNames[i] = StrToWCHARz(names[i]); | 358 wcNames[i] = StrToWCHARz(names[i]); |
359 } | 359 } |
360 int[] rgdispid = new int[count]; | 360 int[] rgdispid = new int[count]; |
361 // TODO: NULL GUID ?? | 361 // TODO: NULL GUID ?? |