Skip to content

Commit 600c8cb

Browse files
author
mikeblome
committed
fixed remaining bad links
1 parent 2ffc124 commit 600c8cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+190
-190
lines changed

docs/windows/attributes/aggregatable.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ If this attribute is used within a project that uses ATL, the behavior of the at
4545

4646
|Parameter value|Inserted macro|
4747
|---------------------|--------------------|
48-
|`Never`|[DECLARE_NOT_AGGREGATABLE](../atl/reference/aggregation-and-class-factory-macros.md#declare_not_aggregatable)|
49-
|`Allowed`|[DECLARE_POLY_AGGREGATABLE](../atl/reference/aggregation-and-class-factory-macros.md#declare_poly_aggregatable)|
50-
|`Always`|[DECLARE_ONLY_AGGREGATABLE](../atl/reference/aggregation-and-class-factory-macros.md#declare_only_aggregatable)|
48+
|`Never`|[DECLARE_NOT_AGGREGATABLE](../../atl/reference/aggregation-and-class-factory-macros.md#declare_not_aggregatable)|
49+
|`Allowed`|[DECLARE_POLY_AGGREGATABLE](../../atl/reference/aggregation-and-class-factory-macros.md#declare_poly_aggregatable)|
50+
|`Always`|[DECLARE_ONLY_AGGREGATABLE](../../atl/reference/aggregation-and-class-factory-macros.md#declare_only_aggregatable)|
5151

5252
## Example
5353

docs/windows/attributes/aggregates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If this attribute is used within a project that uses ATL, the behavior of the at
4444
COM_INTERFACE_ENTRY_AUTOAGGREGATE_BLIND(_m_spAttrXXX, clsid)
4545
```
4646

47-
Second, the [DECLARE_GET_CONTROLLING_UNKNOWN](../atl/reference/aggregation-and-class-factory-macros.md#declare_get_controlling_unknown) macro is also added.
47+
Second, the [DECLARE_GET_CONTROLLING_UNKNOWN](../../atl/reference/aggregation-and-class-factory-macros.md#declare_get_controlling_unknown) macro is also added.
4848

4949
## Example
5050

@@ -93,4 +93,4 @@ For more information about the attribute contexts, see [Attribute Contexts](attr
9393
[Typedef, Enum, Union, and Struct Attributes](typedef-enum-union-and-struct-attributes.md)<br/>
9494
[Aggregation](/windows/desktop/com/aggregation)<br/>
9595
[Aggregatable](/windows/desktop/Midl/aggregatable)<br/>
96-
[COM_INTERFACE_ENTRY_AUTOAGGREGATE_BLIND](../atl/reference/com-interface-entry-macros.md#com_interface_entry_autoaggregate_blind)
96+
[COM_INTERFACE_ENTRY_AUTOAGGREGATE_BLIND](../../atl/reference/com-interface-entry-macros.md#com_interface_entry_autoaggregate_blind)

docs/windows/attributes/appobject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.workload: ["cplusplus", "uwp"]
1414
---
1515
# appobject
1616

17-
Identifies the coclass as an application object, which is associated with a full .exe application, and indicates that the functions and properties of the coclass are globally available in this [type library](../mfc/automation-clients-using-type-libraries.md).
17+
Identifies the coclass as an application object, which is associated with a full .exe application, and indicates that the functions and properties of the coclass are globally available in this [type library](../../mfc/automation-clients-using-type-libraries.md).
1818

1919
## Syntax
2020

docs/windows/attributes/attribute-contexts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ C++ attributes can be described using four basic fields: the target they can be
1818

1919
This field describes the different C++ language elements that are legal targets for the specified attribute. For instance, if an attribute specifies "class" in the **Applies To** field, this indicates that the attribute can only be applied to a legal C++ class. If the attribute is applied to a member function of a class, a syntax error would result.
2020

21-
For more information, see [Attributes by Usage](../windows/attributes-by-usage.md).
21+
For more information, see [Attributes by Usage](attributes-by-usage.md).
2222

2323
## Repeatable
2424

@@ -34,4 +34,4 @@ This field lists other attributes that are incompatible with the specified attri
3434

3535
## See Also
3636

37-
[C++ Attributes Reference](../windows/cpp-attributes-reference.md)
37+
[C++ Attributes Reference](cpp-attributes-com-net.md)

docs/windows/attributes/attribute-programming-faq.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ An HRESULT is a simple data type that is often used as a return value by attribu
5353

5454
## <a name="vcconattributeprogrammmingfaqanchor2"></a> When do I have to specify the parameter name for an attribute?
5555

56-
In most cases, if the attribute has a single parameter, that parameter is named. This name is not required when inserting the attribute in your code. For example, the following usage of the [aggregatable](../windows/aggregatable.md) attribute:
56+
In most cases, if the attribute has a single parameter, that parameter is named. This name is not required when inserting the attribute in your code. For example, the following usage of the [aggregatable](aggregatable.md) attribute:
5757

5858
```cpp
5959
[coclass, aggregatable(value=allowed)]
@@ -77,17 +77,17 @@ However, the following attributes have single, unnamed parameters:
7777

7878
||||
7979
|-|-|-|
80-
|[call_as](../windows/call-as.md)|[case](../windows/case-cpp.md)|[cpp_quote](../windows/cpp-quote.md)|
81-
|[default](../windows/default-cpp.md)|[defaultvalue](../windows/defaultvalue.md)|[defaultvtable](../windows/defaultvtable.md)|
82-
|[emitidl](../windows/emitidl.md)|[entry](../windows/entry.md)|[first_is](../windows/first-is.md)|
83-
|[helpcontext](../windows/helpcontext.md)|[helpfile](../windows/helpfile.md)|[helpstring](../windows/helpstring.md)|
84-
|[helpstringcontext](../windows/helpstringcontext.md)|[helpstringdll](../windows/helpstringdll.md)|[id](../windows/id.md)|
85-
|[iid_is](../windows/iid-is.md)|[import](../windows/import.md)|[importlib](../windows/importlib.md)|
86-
|[include](../windows/include-cpp.md)|[includelib](../windows/includelib-cpp.md)|[last_is](../windows/last-is.md)|
87-
|[length_is](../windows/length-is.md)|[max_is](../windows/max-is.md)|[no_injected_text](../windows/no-injected-text.md)|
88-
|[pointer_default](../windows/pointer-default.md)|[pragma](../windows/pragma.md)|[restricted](../windows/restricted.md)|
89-
|[size_is](../windows/size-is.md)|[source](../windows/source-cpp.md)|[switch_is](../windows/switch-is.md)|
90-
|[switch_type](../windows/switch-type.md)|[transmit_as](../windows/transmit-as.md)|[wire_marshal](../windows/wire-marshal.md)|
80+
|[call_as](call-as.md)|[case](case-cpp.md)|[cpp_quote](cpp-quote.md)|
81+
|[default](default-cpp.md)|[defaultvalue](defaultvalue.md)|[defaultvtable](defaultvtable.md)|
82+
|[emitidl](emitidl.md)|[entry](entry.md)|[first_is](first-is.md)|
83+
|[helpcontext](helpcontext.md)|[helpfile](helpfile.md)|[helpstring](helpstring.md)|
84+
|[helpstringcontext](helpstringcontext.md)|[helpstringdll](helpstringdll.md)|[id](id.md)|
85+
|[iid_is](iid-is.md)|[import](import.md)|[importlib](importlib.md)|
86+
|[include](include-cpp.md)|[includelib](includelib-cpp.md)|[last_is](last-is.md)|
87+
|[length_is](length-is.md)|[max_is](max-is.md)|[no_injected_text](no-injected-text.md)|
88+
|[pointer_default](pointer-default.md)|[pragma](pragma.md)|[restricted](restricted.md)|
89+
|[size_is](size-is.md)|[source](source-cpp.md)|[switch_is](switch-is.md)|
90+
|[switch_type](switch-type.md)|[transmit_as](transmit-as.md)|[wire_marshal](wire-marshal.md)|
9191

9292
## <a name="vcconattributeprogrammmingfaqanchor3"></a> Can I use comments in an attribute block?
9393

@@ -119,11 +119,11 @@ You may have a nonattributed ATL project, which has an .idl file, and you may wa
119119

120120
## <a name="vcconattributeprogrammmingfaqanchor6"></a> How can I use an .idl file in an attributed project?
121121

122-
You may have a .idl file that you want to use in your ATL attributed project. In this case, you would use the [importidl](../windows/importidl.md) attribute, compile the .idl file to a .h file (see the [MIDL Property Pages](../ide/midl-property-pages.md) in the project's **Property Pages** dialog box), and then include the .h file in your project.
122+
You may have a .idl file that you want to use in your ATL attributed project. In this case, you would use the [importidl](importidl.md) attribute, compile the .idl file to a .h file (see the [MIDL Property Pages](../../ide/midl-property-pages.md) in the project's **Property Pages** dialog box), and then include the .h file in your project.
123123

124124
## <a name="vcconattributeprogrammmingfaqanchor7"></a> Can I modify code that is injected by an attribute?
125125

126-
Some attributes inject code into your project. You can see the injected code by using the [/Fx](../build/reference/fx-merge-injected-code.md) compiler option. It is also possible to copy code from the injected file and paste it into your source code. This allows you to modify the behavior of the attribute. However, you may have to modify other parts of your code as well.
126+
Some attributes inject code into your project. You can see the injected code by using the [/Fx](../../build/reference/fx-merge-injected-code.md) compiler option. It is also possible to copy code from the injected file and paste it into your source code. This allows you to modify the behavior of the attribute. However, you may have to modify other parts of your code as well.
127127

128128
The following sample is the result of copying injected code into a source code file:
129129

@@ -233,12 +233,12 @@ int main() {}
233233
234234
## <a name="vcconattributeprogrammmingfaqhowcaniforwarddeclareanattributedinterface"></a> How can I forward declare an attributed interface?
235235
236-
If you are going to make a forward declaration of an attributed interface, you must apply the same attributes to the forward declaration that you apply to the actual interface declaration. You must also apply the [export](../windows/export.md) attribute to your forward declaration.
236+
If you are going to make a forward declaration of an attributed interface, you must apply the same attributes to the forward declaration that you apply to the actual interface declaration. You must also apply the [export](export.md) attribute to your forward declaration.
237237
238238
## <a name="vcconcaniuseattributesonclassderivedfromclassthatalsousesattributesanchor"></a> Can I use attributes on a class derived from a class that also uses attributes?
239239
240240
No, using attributes on a class derived from a class that also uses attributes is not supported.
241241
242242
## See Also
243243
244-
[Concepts](../windows/attributed-programming-concepts.md)
244+
[Concepts](attributed-programming-concepts.md)

docs/windows/attributes/attribute.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Indicates if the attribute is to be inherited by subclasses. The compiler provid
4040
## Remarks
4141

4242
> [!NOTE]
43-
> The **attribute** attribute is now deprecated. Use the common language runtime attribute `System.Attribute` to directly to create user-defined attirbutes. For more information, see [User-Defined Attributes](../windows/user-defined-attributes-cpp-component-extensions.md).
43+
> The **attribute** attribute is now deprecated. Use the common language runtime attribute `System.Attribute` to directly to create user-defined attirbutes. For more information, see [User-Defined Attributes](user-defined-attributes-cpp-component-extensions.md).
4444
45-
You define a [custom attribute](../windows/custom-attributes-cpp.md) by placing the **attribute** attribute on a managed class or struct definition. The name of the class is the custom attribute. For example:
45+
You define a [custom attribute](custom-attributes-cpp.md) by placing the **attribute** attribute on a managed class or struct definition. The name of the class is the custom attribute. For example:
4646

4747
```cpp
4848
[ attribute(Parameter) ]
@@ -98,9 +98,9 @@ public:
9898
ref class ClassC {};
9999
```
100100
101-
For a list of possible attribute parameter types, see [Custom Attributes](../windows/custom-attributes-cpp.md).
101+
For a list of possible attribute parameter types, see [Custom Attributes](custom-attributes-cpp.md).
102102
103-
See [User-Defined Attributes](../windows/user-defined-attributes-cpp-component-extensions.md) for a discussion on attribute targets.
103+
See [User-Defined Attributes](user-defined-attributes-cpp-component-extensions.md) for a discussion on attribute targets.
104104
105105
The **attribute** attribute has an *AllowMultiple* parameter that specifies whether the custom attribute is single use or multiuse (can appear more than once on the same entity).
106106
@@ -144,7 +144,7 @@ ref class MyAttr : System::Attribute // OK, but redundant.
144144
|**Required attributes**|None|
145145
|**Invalid attributes**|None|
146146

147-
For more information about the attribute contexts, see [Attribute Contexts](../windows/attribute-contexts.md).
147+
For more information about the attribute contexts, see [Attribute Contexts](attribute-contexts.md).
148148

149149
## Example
150150

@@ -205,4 +205,4 @@ int main() {
205205

206206
## See Also
207207

208-
[Attributes Alphabetical Reference](../windows/attributes-alphabetical-reference.md)
208+
[Attributes Alphabetical Reference](attributes-alphabetical-reference.md)

docs/windows/attributes/attributes-by-group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The C++ attributes are organized into the following functional groups.
1919
|---------------|-----------------|
2020
|[COM Attributes](com-attributes.md)|Inject code to support numerous areas of COM development and .NET Framework common language runtime development.|
2121
|[IDL Attributes](idl-attributes.md)|Enable the modification of the .idl file from a source code file without the use of a wizard and without knowledge of the structure and syntax of that file.|
22-
|[OLE DB Consumer Attributes](ole-db-consumer-attributes.md)|Inject code—based on the [OLE DB Consumer Templates](../data/oledb/ole-db-consumer-templates-reference.md)—to create a working OLE DB consumer that performs tasks such as opening tables, executing commands, and accessing data.|
22+
|[OLE DB Consumer Attributes](ole-db-consumer-attributes.md)|Inject code—based on the [OLE DB Consumer Templates](../../data/oledb/ole-db-consumer-templates-reference.md)—to create a working OLE DB consumer that performs tasks such as opening tables, executing commands, and accessing data.|
2323
|[Compiler Attributes](compiler-attributes.md)|Supplied by the Visual C++ compiler.|
2424

2525
For information about how to define custom attributes for your .NET Framework application, see [User-Defined Attributes](user-defined-attributes-cpp-component-extensions.md).

0 commit comments

Comments
 (0)