You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/atl-mfc-shared/reference/cimage-class.md
+3-16Lines changed: 3 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "CImage Class | Microsoft Docs"
3
3
ms.custom: ""
4
-
ms.date: "11/04/2016"
4
+
ms.date: "02/01/2018"
5
5
ms.reviewer: ""
6
6
ms.suite: ""
7
7
ms.technology: ["cpp-windows"]
@@ -65,7 +65,7 @@ class CImage
65
65
|[CImage::IsDIBSection](#isdibsection)|Determines if the attached bitmap is a DIB section.|
66
66
|[CImage::IsIndexed](#isindexed)|Indicates that a bitmap's colors are mapped to an indexed palette.|
67
67
|[CImage::IsNull](#isnull)|Indicates if a source bitmap is currently loaded.|
68
-
|[CImage::IsTransparencySupported](#istransparencysupported)|Indicates whether the application supports transparent bitmaps and was compiled for Windows 2000 or later.|
68
+
|[CImage::IsTransparencySupported](#istransparencysupported)|Indicates whether the application supports transparent bitmaps.|
69
69
|[CImage::Load](#load)|Loads an image from the specified file.|
70
70
|[CImage::LoadFromResource](#loadfromresource)|Loads an image from the specified resource.|
71
71
|[CImage::MaskBlt](#maskblt)|Combines the color data for the source and destination bitmaps using the specified mask and raster operation.|
Through `CImage`, you have access to the actual bits of a DIB section. You can use a `CImage` object anywhere you previously used a Win32 HBITMAP or DIB section.
146
146
147
-
> [!NOTE]
148
-
> The following `CImage` methods have limitations on their use:
149
-
150
-
|Method|Limitation|
151
-
|------------|----------------|
152
-
|[PlgBlt](#plgblt)|Works with only Windows NT 4.0 or later. Will not work on applications running on Windows 95/98 or later.|
153
-
|[MaskBlt](#maskblt)|Works with only Windows NT 4.0 or later. Will not work on applications running on Windows 95/98 or later.|
154
-
|[AlphaBlend](#alphablend)|Works with only Windows 2000, Windows 98, and later systems.|
155
-
|[TransparentBlt](#transparentblt)|Works with only Windows 2000, Windows 98, and later systems.|
156
-
|[Draw](#draw)|Supports transparency with only Windows 2000, Windows 98, and later systems.|
157
-
158
147
You can use `CImage` from either MFC or ATL.
159
148
160
149
> [!NOTE]
@@ -923,7 +912,7 @@ bool IsNull() const throw();
923
912
This method returns **True** if a bitmap is not currently loaded; otherwise **False**.
If the return value is nonzero, and transparency is supported, a call to [AlphaBlend](#alphablend), [TransparentBlt](#transparentblt), or [Draw](#draw) will handle transparent colors.
937
926
938
-
If the application is compiled for use with operating systems before Windows 2000 or Windows 98, this method will always return 0, even on newer operating systems.
Copy file name to clipboardExpand all lines: docs/atl/reference/caccesstoken-class.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ class CAccessToken
88
88
|[CAccessToken::SetPrimaryGroup](#setprimarygroup)|Call this method to set the primary group of the `CAccessToken` object.|
89
89
90
90
## Remarks
91
-
An [access token](http://msdn.microsoft.com/library/windows/desktop/aa374909) is an object that describes the security context of a process or thread and is allocated to each user logged onto a Windows NT or Windows 2000 system.
91
+
An [access token](http://msdn.microsoft.com/library/windows/desktop/aa374909) is an object that describes the security context of a process or thread and is allocated to each user logged onto a Windows system.
92
92
93
93
For an introduction to the access control model in Windows, see [Access Control](http://msdn.microsoft.com/library/windows/desktop/aa374860) in the Windows SDK.
94
94
@@ -280,9 +280,6 @@ bool CreateRestrictedToken(
280
280
### Remarks
281
281
`CreateRestrictedToken` uses the [CreateRestrictedToken](http://msdn.microsoft.com/library/windows/desktop/aa446583) Win32 function to create a new `CAccessToken` object, with restrictions.
282
282
283
-
> [!NOTE]
284
-
> This method is only available on Windows 2000 or later.
285
-
286
283
> [!IMPORTANT]
287
284
> When using `CreateRestrictedToken`, ensure the following: the existing token is valid (and not entered by the user) and `SidsToDisable` and `PrivilegesToDelete` are both valid (and not entered by the user). If the method returns false, deny functionality.
Copy file name to clipboardExpand all lines: docs/atl/reference/cdacl-class.md
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,9 +110,6 @@ bool AddAllowedAce(
110
110
### Remarks
111
111
A `CDacl` object contains zero or more ACEs (access-control entries) that identify the users and groups who can access the object. This method adds an ACE that allows access to the `CDacl` object.
112
112
113
-
> [!NOTE]
114
-
> The second form of `AddAllowedAce` is only available on Windows 2000 and later.
115
-
116
113
See [ACE_HEADER](http://msdn.microsoft.com/library/windows/desktop/aa374919) for a description of the various flags which can be set in the `AceFlags` parameter.
117
114
118
115
## <aname="adddeniedace"></a> CDacl::AddDeniedAce
@@ -154,9 +151,6 @@ bool AddDeniedAce(
154
151
### Remarks
155
152
A `CDacl` object contains zero or more ACEs (access-control entries) that identify the users and groups who can access the object. This method adds an ACE that denies access to the `CDacl` object.
156
153
157
-
> [!NOTE]
158
-
> The second form of `AddDeniedAce` is only available on Windows 2000 and later.
159
-
160
154
See [ACE_HEADER](http://msdn.microsoft.com/library/windows/desktop/aa374919) for a description of the various flags which can be set in the `AceFlags` parameter.
Copy file name to clipboardExpand all lines: docs/atl/reference/cprivateobjectsecuritydesc-class.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,7 +165,7 @@ bool Create(
165
165
### Remarks
166
166
This method calls [CreatePrivateObjectSercurity](http://msdn.microsoft.com/library/windows/desktop/aa376405) or [CreatePrivateObjectSecurityEx](http://msdn.microsoft.com/library/windows/desktop/aa446581).
167
167
168
-
The second method, which permits specifying the object type GUID of the new object or controlling how ACEs are inherited, is only available on systems running Windows 2000 and later.
168
+
The second methodpermits specifying the object type GUID of the new object or controlling how ACEs are inherited.
169
169
170
170
> [!NOTE]
171
171
> A self-relative security descriptor is a security descriptor that stores all of its security information in a contiguous block of memory.
@@ -244,7 +244,7 @@ bool Set(
244
244
Returns true on success, false on failure.
245
245
246
246
### Remarks
247
-
The second method, which permits specifying the object type GUID of the object or controlling how ACEs are inherited, is only available on systems running Windows 2000 and later.
247
+
The second methodpermits specifying the object type GUID of the object or controlling how ACEs are inherited.
Copy file name to clipboardExpand all lines: docs/atl/reference/csacl-class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ bool AddAuditAce(
117
117
Returns **true** if the ACE is added to the `CSacl` object, **false** on failure.
118
118
119
119
### Remarks
120
-
A `CSacl` object contains access-control entries (ACEs) that specify the types of access attempts that generate audit records in the security event log. This method adds such an ACE to the `CSacl` object. The second form of `AddAuditAce` is only available on Windows 2000 and later.
120
+
A `CSacl` object contains access-control entries (ACEs) that specify the types of access attempts that generate audit records in the security event log. This method adds such an ACE to the `CSacl` object.
121
121
122
122
See [ACE_HEADER](http://msdn.microsoft.com/library/windows/desktop/aa374919) for a description of the various flags which can be set in the `AceFlags` parameter.
The string can be created by using [CSecurityDesc::ToString](#tostring). Converting the security descriptor into a string makes it easier to store and transmit.
131
131
132
-
This method is only available with Windows 2000 and later because it calls [ConvertStringSecurityDescriptorToSecurityDescriptor](http://msdn.microsoft.com/library/windows/desktop/aa376401).
132
+
This method calls [ConvertStringSecurityDescriptorToSecurityDescriptor](http://msdn.microsoft.com/library/windows/desktop/aa376401).
Returns true if the method succeeds, false if it fails.
147
147
148
148
### Remarks
149
-
This method is only meaningful when using Windows 2000 or later, as it calls [GetSecurityDescriptorControl](http://msdn.microsoft.com/library/windows/desktop/aa446647).
149
+
This method calls [GetSecurityDescriptorControl](http://msdn.microsoft.com/library/windows/desktop/aa446647).
150
150
151
151
## <aname="getdacl"></a> CSecurityDesc::GetDacl
152
152
Retrieves discretionary access-control list (DACL) information from the security descriptor.
Determines if the security descriptor is in self-relative format.
@@ -464,7 +464,7 @@ bool SetControl(
464
464
Returns true on success, false on failure.
465
465
466
466
### Remarks
467
-
This method is available only on Windows 2000 and later, as it calls [SetSecurityDescriptorControl](http://msdn.microsoft.com/library/windows/desktop/aa379582\(v=vs.85\).aspx).
467
+
This method calls [SetSecurityDescriptorControl](http://msdn.microsoft.com/library/windows/desktop/aa379582\(v=vs.85\).aspx).
468
468
469
469
## <aname="setdacl"></a> CSecurityDesc::SetDacl
470
470
Sets information in a discretionary access-control list (DACL). If a DACL is already present in the security descriptor, it is replaced.
@@ -582,7 +582,7 @@ bool ToString(
582
582
583
583
If the DACL is NULL and the SE_DACL_PRESENT control bit is not set in the input security descriptor, the resulting security descriptor string does not have a D: component. See [Security Descriptor String Format](http://msdn.microsoft.com/library/windows/desktop/aa379570) for more details.
584
584
585
-
This method is only available with Windows 2000 and later, as it calls [ConvertStringSecurityDescriptorToSecurityDescriptor](http://msdn.microsoft.com/library/windows/desktop/aa376401).
585
+
This method calls [ConvertStringSecurityDescriptorToSecurityDescriptor](http://msdn.microsoft.com/library/windows/desktop/aa376401).
Returns the `SID` structure as a string in a format suitable for display, storage, or transmission. Equivalent to [ConvertSidToStringSid](http://msdn.microsoft.com/library/windows/desktop/aa376399), although this function is only available on Windows 2000 or later and so is emulated for earlier operating systems.
469
+
Returns the `SID` structure as a string in a format suitable for display, storage, or transmission. Equivalent to [ConvertSidToStringSid](http://msdn.microsoft.com/library/windows/desktop/aa376399).
470
470
471
471
## <aname="sidnameuse"></a> CSid::SidNameUse
472
472
Returns a description of the state of the `CSid` object.
An [access token](http://msdn.microsoft.com/library/windows/desktop/aa374909) is an object that describes the security context of a process or thread and is allocated to each user logged onto a Windows NT or Windows 2000 system.
62
+
An [access token](http://msdn.microsoft.com/library/windows/desktop/aa374909) is an object that describes the security context of a process or thread and is allocated to each user logged onto a Windows system.
63
63
64
64
The **CTokenGroups** class is a wrapper for the [TOKEN_GROUPS](http://msdn.microsoft.com/library/windows/desktop/aa379624) structure, containing information about the group security identifiers (SIDs) in an access token.
65
65
@@ -205,7 +205,7 @@ bool LookupSid(
205
205
Returns true if the `CSid` is found, false otherwise.
206
206
207
207
### Remarks
208
-
Setting `pdwAttributes` to NULL provides a way of confirming the existence of the `CSid` without accessing the attribute. Note that this method should not be used to check access rights as incorrect results may occur under Windows 2000. Applications should instead use the [CAccessToken::CheckTokenMembership](../../atl/reference/caccesstoken-class.md#checktokenmembership) method.
208
+
Setting `pdwAttributes` to NULL provides a way of confirming the existence of the `CSid` without accessing the attribute. Note that this method should not be used to check access rights. Applications should instead use the [CAccessToken::CheckTokenMembership](../../atl/reference/caccesstoken-class.md#checktokenmembership) method.
An [access token](http://msdn.microsoft.com/library/windows/desktop/aa374909) is an object that describes the security context of a process or thread and is allocated to each user logged onto a Windows NT or Windows 2000 system.
64
+
An [access token](http://msdn.microsoft.com/library/windows/desktop/aa374909) is an object that describes the security context of a process or thread and is allocated to each user logged onto a Windows system.
65
65
66
66
The access token is used to describe the various security privileges granted to each user. A privilege consists of a 64-bit number called a locally unique identifier ( [LUID](http://msdn.microsoft.com/library/windows/desktop/aa379261)) and a descriptor string.
Copy file name to clipboardExpand all lines: docs/atl/reference/options-atl-active-server-page-component-wizard.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Use this page of the ATL Active Server Page Component Wizard to design for incre
33
33
|**Apartment**|Specifies that the object uses apartment threading. Equivalent to single thread apartment. Each object of an apartment-threaded component is assigned an apartment for its thread, for the life of the object; however, multiple threads can be used for multiple objects. Each apartment is tied to a specific thread and has a Windows message pump (default).<br /><br /> See [Single-Threaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms680112) for more information.|
34
34
|**Both**|Specifies that the object can use either apartment or free threading, depending from which kind of a thread it is created.|
35
35
|**Free**|Specifies that the object uses free threading. Free threading is equivalent to a multithread apartment model. See [Multithreaded Apartments](http://msdn.microsoft.com/library/windows/desktop/ms693421) for more information.|
36
-
|**Neutral** (Windows 2000 only)|Specifies that the object follows the guidelines for multithreaded apartments, but it can execute on any kind of thread.|
36
+
|**Neutral**|Specifies that the object follows the guidelines for multithreaded apartments, but it can execute on any kind of thread.|
37
37
38
38
**Aggregation**
39
39
Indicates whether the object uses [aggregation](http://msdn.microsoft.com/library/windows/desktop/ms686558). The aggregate object chooses which interfaces to expose to clients, and the interfaces are exposed as if the aggregate object implemented them. Clients of the aggregate object communicate only with the aggregate object.
0 commit comments