Skip to content

Commit a3bb8db

Browse files
authored
Merge pull request MicrosoftDocs#86 from Microsoft/mblome-atl
link fixes in atl and atl-mfc-shared
2 parents 5187996 + d26b374 commit a3bb8db

File tree

113 files changed

+907
-321
lines changed

Some content is hidden

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

113 files changed

+907
-321
lines changed

docs/atl-mfc-shared/date-and-time-automation-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This article describes how to take advantage of the class library services relat
5555

5656
The `COleDateTime` and `COleDateTimeSpan` classes are designed to be used with the `COleVariant` class used in Automation. `COleDateTime` and `COleDateTimeSpan` are also useful in MFC database programming, but they can be used whenever you want to manipulate date and time values. Although the `COleDateTime` class has a greater range of values and finer granularity than the `CTime` class, it requires more storage per object than `CTime`. There are also some special considerations when working with the underlying **DATE** type. See [The DATE Type](../atl-mfc-shared/date-type.md) for more details on the implementation of **DATE**.
5757

58-
`COleDateTime` objects can be used to represent dates between January 1, 100, and December 31, 9999. `COleDateTime` objects are floating point values, with an approximate resolution of 1 millisecond. `COleDateTime` is based on the **DATE** data type, defined in the MFC documentation under [COleDateTime::operator DATE](../atl-mfc-shared/reference/coledatetime-class.md#coledatetime__operator%20date). The actual implementation of **DATE** extends beyond these bounds. The `COleDateTime` implementation imposes these bounds to facilitate working with the class.
58+
`COleDateTime` objects can be used to represent dates between January 1, 100, and December 31, 9999. `COleDateTime` objects are floating point values, with an approximate resolution of 1 millisecond. `COleDateTime` is based on the **DATE** data type, defined in the MFC documentation under [COleDateTime::operator DATE](../atl-mfc-shared/reference/coledatetime-class.md#coledatetime__operator_date). The actual implementation of **DATE** extends beyond these bounds. The `COleDateTime` implementation imposes these bounds to facilitate working with the class.
5959

6060
`COleDateTime` does not support Julian dates. The Gregorian calendar is assumed to extend back in time to January 1, 100.
6161

docs/atl-mfc-shared/date-and-time-systemtime-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The [CTime](../atl-mfc-shared/reference/ctime-class.md) class has constructors t
5656

5757
If your code contains a `CTime` object initialized with the system time, you should use the `SYSTEMTIME` constructor in Win32.
5858

59-
You most likely will not use `CTime` `FILETIME` initialization directly. If you use a `CFile` object to manipulate a file, [CFile::GetStatus](../mfc/reference/cfile-class.md#getstatus) retrieves the file timestamp for you via a `CTime` object initialized with a `FILETIME` structure.
59+
You most likely will not use `CTime` `FILETIME` initialization directly. If you use a `CFile` object to manipulate a file, [CFile::GetStatus](../mfc/reference/cfile-class.md#cfile__getstatus) retrieves the file timestamp for you via a `CTime` object initialized with a `FILETIME` structure.
6060

6161
## What do you want to know more about
6262

docs/atl-mfc-shared/reference/coledatetime-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class COleDateTime
8383
|[COleDateTime::SetTime](#coledatetime__settime)|Sets the value of this `COleDateTime` object to the specified time-only value.|
8484

8585
### Public Operators
86-
86+
8787
|Name|Description|
8888
|----------|-----------------|
8989
|[COleDateTime::operator ==, COleDateTime::operator <, etc.](#coledatetime_relational_operators)|Compare two `COleDateTime` values.|
@@ -228,7 +228,7 @@ COleDateTime(const DBTIMESTAMP& dbts) throw();
228228
MS-DOS date and time values to be converted to a date/time value and copied into the new `COleDateTime` object.
229229

230230
`dbts`
231-
A reference to a <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure containing the current local time.
231+
A reference to a [DBTimeStamp](https://msdn.microsoft.com/library/system.data.oledb.oledbtype) structure containing the current local time.
232232

233233
### Remarks
234234
All these constructors create new `COleDateTime` objects initialized to the specified value. The following table shows valid ranges for each date and time component:
@@ -343,7 +343,7 @@ bool GetAsDBTIMESTAMP(DBTIMESTAMP& dbts) const throw();
343343

344344
### Parameters
345345
`dbts`
346-
A reference to a <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure.
346+
A reference to a [DBTimeStamp](https://msdn.microsoft.com/library/system.data.oledb.oledbtype) structure.
347347

348348
### Return Value
349349
Nonzero if successful; otherwise 0.

docs/atl-mfc-shared/reference/crect-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ void DeflateRect(
410410
A [SIZE](http://msdn.microsoft.com/library/windows/desktop/dd145106) or [CSize](csize-class.md) that specifies the number of units to deflate `CRect`. The `cx` value specifies the number of units to deflate the left and right sides and the `cy` value specifies the number of units to deflate the top and bottom.
411411

412412
`lpRect`
413-
Points to a [RECT](../../mfc/reference/rect-structure.md) structure or `CRect` that specifies the number of units to deflate each side.
413+
Points to a [RECT](../../mfc/reference/rect-structure1.md) structure or `CRect` that specifies the number of units to deflate each side.
414414

415415
*l*
416416
Specifies the number of units to deflate the left side of `CRect`.

docs/atl-mfc-shared/reference/csimplestringt-class.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,11 @@ class CSimpleStringT
144144
|[CSimpleStringT::operator =](#csimplestringt__operator_eq)|Assigns a new value to a `CSimpleStringT` object.|
145145

146146
### Remarks
147-
`CSimpleStringT` is the base class for the various string classes supported by Visual C++. It provides minimal support for memory management of the string object and basic buffer manipulation. For more advanced string objects, see [CStringT Class](../../atl-mfc-shared/reference/cstringt-class).
147+
`CSimpleStringT` is the base class for the various string classes supported by Visual C++. It provides minimal support for memory management of the string object and basic buffer manipulation. For more advanced string objects, see [CStringT Class](../../atl-mfc-shared/reference/cstringt-class.md).
148148

149149
### Requirements
150150
**Header:** atlsimpstr.h
151-
152-
## See Also
153-
[Hierarchy Chart](../../mfc/hierarchy-chart)
154-
[ATL/MFC Shared Classes](../../atl-mfc-shared/atl-mfc-shared-classes)
151+
155152

156153
## <a name="csimplestringt__append"></a> CSimpleStringT::Append
157154
Appends a `CSimpleStringT` object to an existing `CSimpleStringT` object.
@@ -335,7 +332,7 @@ void Empty() throw();
335332

336333
```
337334
### Remarks
338-
For more information, see [Strings: CString Exception Cleanup](../cstringt-exception-cleanup.md).
335+
For more information, see [Strings: CString Exception Cleanup](../cstring-exception-cleanup.md).
339336
340337
## Example
341338
The following example demonstrates the use of `CSimpleStringT::Empty`.
@@ -1169,3 +1166,8 @@ Destroys a `CSimpleStringT` object.
11691166
11701167
### Requirements
11711168
**Header:** atlsimpstr.h
1169+
1170+
1171+
## See Also
1172+
[Hierarchy Chart](../../mfc/hierarchy-chart.md)
1173+
[ATL/MFC Shared Classes](../../atl-mfc-shared/atl-mfc-shared-classes.md)

docs/atl-mfc-shared/reference/ctime-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class CTime
6060
|----------|-----------------|
6161
|[CTime::Format](#ctime__format)|Converts a `CTime` object into a formatted string — based on the local time zone.|
6262
|[CTime::FormatGmt](#ctime__formatgmt)|Converts a `CTime` object into a formatted string — based on UTC.|
63-
|[CTime::GetAsDBTIMESTAMP](#ctime__getasdbtimestamp)|Converts the time information stored in the `CTime` object to a Win32-compatible <xref:System.Data.OleDb.OleDbTypequalifyHint%3DFalse%26autoUpgrade%3DTrue> structure.|
63+
|[CTime::GetAsDBTIMESTAMP](#ctime__getasdbtimestamp)|Converts the time information stored in the `CTime` object to a Win32-compatible DBTIMESTAMP structure.|
6464
|[CTime::GetAsSystemTime](#ctime__getassystemtime)|Converts the time information stored in the `CTime` object to a Win32-compatible [SYSTEMTIME](http://msdn.microsoft.com/library/windows/desktop/ms724950) structure.|
6565
|[CTime::GetCurrentTime](#ctime__getcurrenttime)|Creates a `CTime` object that represents the current time (static member function).|
6666
|[CTime::GetDay](#ctime__getday)|Returns the day represent by the `CTime` object.|

docs/atl-mfc-shared/reference/iatlstringmgr-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void Free(CStringData* pData) throw();
121121
A pointer to the memory block to be freed.
122122

123123
### Remarks
124-
Frees the specified memory block previously allocated by [Allocate](#iatlstringmgr__allocate) or [Reallocate](iatlmemmgr-class.md#iatlmemmgr__reallocate).
124+
Frees the specified memory block previously allocated by [Allocate](#iatlstringmgr__allocate) or [Reallocate](../../atl/reference/iatlmemmgr-class.md#iatlmemmgr__reallocate).
125125

126126
> [!NOTE]
127127
> For usage examples, see [Memory Management and CStringT](../../atl-mfc-shared/memory-management-with-cstringt.md).

docs/atl-mfc-shared/string-data-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Visual C++ provides several ways to manage string data:
7878
A `CString` object can store up to **INT_MAX** (2,147,483,647) characters. The **TCHAR** data type is used to get or set individual characters inside a `CString` object. Unlike character arrays, the `CString` class has a built-in memory allocation capability. This allows `CString` objects to automatically grow as needed (that is, you do not have to worry about growing a `CString` object to fit longer strings).
7979

8080
## <a name="_core_cstrings_and_const_char_pointers"></a> CStrings and const char Pointers
81-
A `CString` object also can act like a literal C-style string (an `PCXSTR`, which is the same as **const char\*** if not under Unicode). The [CSimpleStringT::operator PCXSTR](../atl-mfc-shared/reference/csimplestringt-class.md#csimplestringt__operator%20pcxstr) conversion operator allows `CString` objects to be freely substituted for character pointers in function calls. The **CString( LPCWSTR** `pszSrc` **)** constructor allows character pointers to be substituted for `CString` objects.
81+
A `CString` object also can act like a literal C-style string (an `PCXSTR`, which is the same as **const char\*** if not under Unicode). The [CSimpleStringT::operator PCXSTR](../atl-mfc-shared/reference/csimplestringt-class.md#csimplestringt__operator_pcxstr) conversion operator allows `CString` objects to be freely substituted for character pointers in function calls. The **CString( LPCWSTR** `pszSrc` **)** constructor allows character pointers to be substituted for `CString` objects.
8282

8383
No attempt is made to fold `CString` objects. If you make two `CString` objects containing `Chicago`, for example, the characters in `Chicago` are stored in two places. (This may not be true of future versions of MFC, so you should not depend on it.)
8484

docs/atl/atl-utilities-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ATL provides code for manipulating paths and URLs in the form of [CPathT](../atl
5858

5959
|||
6060
|-|-|
61-
|[ATL_URL_SCHEME](../atl/reference/atl-http-utility-functions.md#atl_url_scheme)|The members of this enumeration provide constants for the schemes understood by [CUrl](../atl/reference/curl-class.md).|
61+
|[ATL_URL_SCHEME](../atl/reference/atl-url-scheme-enum.md)|The members of this enumeration provide constants for the schemes understood by [CUrl](../atl/reference/curl-class.md).|
6262

6363
### Functions
6464

@@ -115,7 +115,7 @@ ATL provides code for manipulating paths and URLs in the form of [CPathT](../atl
115115
|||
116116
|-|-|
117117
|[ATL_URL Flags](http://msdn.microsoft.com/library/76e8cc5c-4e17-4eb1-ac29-a94d5256c4a7)|These flags modify the behavior of [AtlEscapeUrl](http://msdn.microsoft.com/library/e4413300-dd10-43ad-9eaf-772e58398316) and [AtlCanonicalizeUrl](http://msdn.microsoft.com/library/80015d95-081d-4bbb-a176-77670cdb16e8) .|
118-
|[ATL_WORKER_THREAD_WAIT](http://msdn.microsoft.com/library/4d209004-47f4-4c6a-98b4-aee49ffb0911)|This macro defines the default value in milliseconds that [CWorkerThread::Shutdown](../atl/reference/cworkerthread-class.md#shutdown) will wait for the worker thread to shut down.|
118+
|[ATL_WORKER_THREAD_WAIT](http://msdn.microsoft.com/library/4d209004-47f4-4c6a-98b4-aee49ffb0911)|This macro defines the default value in milliseconds that [CWorkerThread::Shutdown](../atl/reference/cworkerthread-class.md#cworkerthread__shutdown) will wait for the worker thread to shut down.|
119119
|[ATLS_DEFAULT_THREADPOOLSHUTDOWNTIMEOUT](http://msdn.microsoft.com/library/c1e660a7-d490-42af-bbe1-ded76e80cc10)|This macro defines the default time in milliseconds that [CThreadPool](../atl/reference/cthreadpool-class.md) will wait for a thread to shut down.|
120120
|[ATLS_DEFAULT_THREADSPERPROC](http://msdn.microsoft.com/library/e0dcf107-72a9-4122-abb4-83c63aa7d571)|This macro defines the default number of threads per processor used by [CThreadPool](../atl/reference/cthreadpool-class.md).|
121121

docs/atl/catlservicemodulet-servicemain-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ translation.priority.ht:
3939
# CAtlServiceModuleT::ServiceMain Function
4040
The service control manager (SCM) calls `ServiceMain` when you open the Services Control Panel application, select the service, and click **Start**.
4141

42-
After the SCM calls `ServiceMain`, a service must give the SCM a handler function. This function lets the SCM obtain the service's status and pass specific instructions (such as pausing or stopping). The SCM gets this function when the service passes **_Handler** to the Win32 API function, [RegisterServiceCtrlHandler](http://msdn.microsoft.com/library/windows/desktop/ms685054). (**_Handler** is a static member function that calls the non-static member function [Handler](../atl/reference/catlservicemodulet-class.md#catlservicemodulet__handler%20function).)
42+
After the SCM calls `ServiceMain`, a service must give the SCM a handler function. This function lets the SCM obtain the service's status and pass specific instructions (such as pausing or stopping). The SCM gets this function when the service passes **_Handler** to the Win32 API function, [RegisterServiceCtrlHandler](http://msdn.microsoft.com/library/windows/desktop/ms685054). (**_Handler** is a static member function that calls the non-static member function [Handler](../atl/reference/catlservicemodulet-class.md#catlservicemodulet__handler).)
4343

4444
At startup, a service should also inform the SCM of its current status. It does this by passing **SERVICE_START_PENDING** to the Win32 API function, [SetServiceStatus](http://msdn.microsoft.com/library/windows/desktop/ms686241).
4545

0 commit comments

Comments
 (0)