Lines Matching refs:properties

46                                 const ShortcutProperties& properties,
52 !(properties.options & ShortcutProperties::PROPERTIES_TARGET)) {
92 if ((properties.options & ShortcutProperties::PROPERTIES_TARGET) &&
93 FAILED(i_shell_link->SetPath(properties.target.value().c_str()))) {
97 if ((properties.options & ShortcutProperties::PROPERTIES_WORKING_DIR) &&
99 properties.working_dir.value().c_str()))) {
103 if (properties.options & ShortcutProperties::PROPERTIES_ARGUMENTS) {
104 if (FAILED(i_shell_link->SetArguments(properties.arguments.c_str())))
114 if ((properties.options & ShortcutProperties::PROPERTIES_DESCRIPTION) &&
115 FAILED(i_shell_link->SetDescription(properties.description.c_str()))) {
119 if ((properties.options & ShortcutProperties::PROPERTIES_ICON) &&
120 FAILED(i_shell_link->SetIconLocation(properties.icon.value().c_str(),
121 properties.icon_index))) {
126 (properties.options & ShortcutProperties::PROPERTIES_APP_ID) != 0;
128 (properties.options & ShortcutProperties::PROPERTIES_DUAL_MODE) != 0;
136 !SetAppIdForPropertyStore(property_store, properties.app_id.c_str())) {
142 properties.dual_mode)) {
178 ShortcutProperties* properties) {
179 DCHECK(options && properties);
202 // Reset |properties|.
203 properties->options = 0;
209 properties->set_target(FilePath(temp));
215 properties->set_working_dir(FilePath(temp));
221 properties->set_arguments(temp);
228 properties->set_description(temp);
235 properties->set_icon(FilePath(temp), temp_index);
253 properties->set_app_id(L"");
256 properties->set_app_id(pv_app_id.get().pwszVal);
272 properties->set_dual_mode(false);
275 properties->set_dual_mode(pv_dual_mode.get().boolVal == VARIANT_TRUE);
297 ShortcutProperties properties;
298 if (!ResolveShortcutProperties(shortcut_path, options, &properties))
302 *target_path = properties.target;
304 *args = properties.arguments;