Skip to content

Commit a47d220

Browse files
Merge pull request MicrosoftDocs#4836 from Blake-Madden/main
Fix a few typos
2 parents c9d0043 + ca40bc8 commit a47d220

32 files changed

+35
-35
lines changed

docs/atl/reference/ccomcoclass-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ A standard HRESULT value. For details, see Remarks.
170170

171171
### Remarks
172172

173-
To call `Error`, your object must implement the `ISupportErrorInfo Interface` interface.
173+
To call `Error`, your object must implement the `ISupportErrorInfo` interface.
174174

175175
If the *hRes* parameter is nonzero, then `Error` returns the value of *hRes*. If *hRes* is zero, then the first four versions of `Error` return DISP_E_EXCEPTION. The last two versions return the result of the macro **MAKE_HRESULT( 1, FACILITY_ITF,** *nID* **)**.
176176

docs/atl/supporting-idispatch-and-ierrorinfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.assetid: 7db2220f-319d-4ce9-9382-d340019f14f7
99

1010
You can use the template class [IDispatchImpl](../atl/reference/idispatchimpl-class.md) to provide a default implementation of the `IDispatch Interface` portion of any dual interfaces on your object.
1111

12-
If your object uses the `IErrorInfo` interface to report errors back to the client, then your object must support the `ISupportErrorInfo Interface` interface. The template class [ISupportErrorInfoImpl](../atl/reference/isupporterrorinfoimpl-class.md) provides an easy way to implement this if you only have a single interface that generates errors on your object.
12+
If your object uses the `IErrorInfo` interface to report errors back to the client, then your object must support the `ISupportErrorInfo` interface. The template class [ISupportErrorInfoImpl](../atl/reference/isupporterrorinfoimpl-class.md) provides an easy way to implement this if you only have a single interface that generates errors on your object.
1313

1414
## See also
1515

docs/code-quality/c6240.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void f(int n)
5353
}
5454
else
5555
{
56-
puts("bitmak false");
56+
puts("bitmask false");
5757
}
5858
}
5959
```

docs/mfc/reference/cd2dbitmap-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class CD2DBitmap : public CD2DResource;
7070
|[CD2DBitmap::m_lpszType](#m_lpsztype)|Resource type.|
7171
|[CD2DBitmap::m_pBitmap](#m_pbitmap)|Stores a pointer to an ID2D1Bitmap object.|
7272
|[CD2DBitmap::m_sizeDest](#m_sizedest)|Bitmap destination size.|
73-
|[CD2DBitmap::m_strPath](#m_strpath)|Botmap file path.|
73+
|[CD2DBitmap::m_strPath](#m_strpath)|Bitmap file path.|
7474
|[CD2DBitmap::m_uiResID](#m_uiresid)|Bitmap resource ID.|
7575

7676
## Inheritance Hierarchy

docs/mfc/reference/cd2dgeometry-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ BOOL ComputePointAtLength(
239239
### Parameters
240240
241241
*length*<br/>
242-
The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.
242+
The distance along the geometry of the point and tangent to find. If this distance is less than 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.
243243
244244
*worldTransform*<br/>
245245
The transform to apply to the geometry before calculating the specified point and tangent.

docs/mfc/reference/cd2dpathgeometry-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CD2DPathGeometry : public CD2DGeometry;
3232
|[CD2DPathGeometry::Create](#create)|Creates a CD2DPathGeometry. (Overrides [CD2DResource::Create](../../mfc/reference/cd2dresource-class.md#create).)|
3333
|[CD2DPathGeometry::Destroy](#destroy)|Destroys a CD2DPathGeometry object. (Overrides [CD2DGeometry::Destroy](../../mfc/reference/cd2dgeometry-class.md#destroy).)|
3434
|[CD2DPathGeometry::Detach](#detach)|Detaches resource interface from the object|
35-
|[CD2DPathGeometry::GetFigureCount](#getfigurecount)|Retrieves tthe number of figures in the path geometry.|
35+
|[CD2DPathGeometry::GetFigureCount](#getfigurecount)|Retrieves the number of figures in the path geometry.|
3636
|[CD2DPathGeometry::GetSegmentCount](#getsegmentcount)|Retrieves the number of segments in the path geometry.|
3737
|[CD2DPathGeometry::Open](#open)|Retrieves the geometry sink that is used to populate the path geometry with figures and segments.|
3838
|[CD2DPathGeometry::Stream](#stream)|Copies the contents of the path geometry to the specified ID2D1GeometrySink.|

docs/mfc/reference/cdaotabledef-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ The path as shown in the table below is the full path for the directory containi
420420

421421
The table in [CDaoTableDef::SetConnect](#setconnect) shows possible database types and their corresponding database specifiers and paths:
422422

423-
For Microsoft Jet database base tables, the specifier is a empty string ("").
423+
For Microsoft Jet database base tables, the specifier is an empty string ("").
424424

425425
If a password is required but not provided, the ODBC driver displays a login dialog box the first time a table is accessed and again if the connection is closed and reopened. If an attached table has the `dbAttachSavePWD` attribute, the login prompt will not appear when the table is reopened.
426426

docs/mfc/reference/cdockstate-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void LoadState(LPCTSTR lpszProfileName);
9292
### Parameters
9393
9494
*lpszProfileName*<br/>
95-
Points to a null-teminated string that specifies the name of a section in the initialization file or a key in the Windows registry where state information is stored.
95+
Points to a null-terminated string that specifies the name of a section in the initialization file or a key in the Windows registry where state information is stored.
9696
9797
### Remarks
9898

docs/mfc/reference/cexception-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ catch(CMemoryException* pEx)
143143
pEx->Delete();
144144
AfxAbort();
145145
}
146-
// If an exception occurrs in the CFile constructor,
146+
// If an exception occurs in the CFile constructor,
147147
// the language will free the memory allocated by new
148148
// and will not complete the assignment to pFile.
149149
// Thus, our clean-up code needs to test for NULL.

docs/mfc/reference/cmdichildwndex-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ BOOL IsTaskbarTabsSupportEnabled();
953953

954954
### Return Value
955955

956-
TRUE if the MDI child can appear on Windows 7 taskbar tabs; FALSE if the MDI child can not appear on Windows 7 taskbar tabs.
956+
TRUE if the MDI child can appear on Windows 7 taskbar tabs; FALSE if the MDI child cannot appear on Windows 7 taskbar tabs.
957957

958958
### Remarks
959959

0 commit comments

Comments
 (0)