void getXPTheme(Map<String, Object> props) {
String style = "win.xpstyle."; //$NON-NLS-1$
String nm = "Name"; //$NON-NLS-1$
setBoolProperty(style + "themeActive", win32.IsThemeActive(), props);//$NON-NLS-1$
int bufSize = 256;
NativeBridge nb = NativeBridge.getInstance();
Int16Pointer ptrs[] = new Int16Pointer[3];
for (int i = 0; i < ptrs.length; i++) {
ptrs[i] = nb.createInt16Pointer(bufSize, false);
}
String[] names = new String[] {"dll", "color", "size"};//$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
int res = win32.GetCurrentThemeName(ptrs[0], bufSize, ptrs[1], bufSize,
ptrs[2], bufSize);
boolean ok = (res == WindowsDefs.S_OK);