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/reference/atl-drawinfo-structure.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,43 +38,43 @@ struct ATL_DRAWINFO {
38
38
39
39
## Members
40
40
41
-
`cbSize`
41
+
`cbSize`<br/>
42
42
The size of the structure, in bytes.
43
43
44
-
`dwDrawAspect`
44
+
`dwDrawAspect`<br/>
45
45
Specifies how the target is to be represented. Representations can include content, an icon, a thumbnail, or a printed document. For a list of possible values, see [DVASPECT](/windows/desktop/api/wtypes/ne-wtypes-tagdvaspect) and [DVASPECT2](/windows/desktop/api/ocidl/ne-ocidl-tagdvaspect2).
46
46
47
-
`lindex`
47
+
`lindex`<br/>
48
48
Portion of the target that is of interest for the draw operation. Its interpretation varies depending on the value in the `dwDrawAspect` member.
49
49
50
-
`ptd`
50
+
`ptd`<br/>
51
51
Pointer to a [DVTARGETDEVICE](/windows/desktop/api/objidl/ns-objidl-tagdvtargetdevice) structure that enables drawing optimizations depending on the aspect specified. Note that newer objects and containers that support optimized drawing interfaces support this member as well. Older objects and containers that do not support optimized drawing interfaces always specify NULL for this member.
52
52
53
-
`hicTargetDev`
53
+
`hicTargetDev`<br/>
54
54
Information context for the target device pointed to by `ptd` from which the object can extract device metrics and test the device's capabilities. If `ptd` is NULL, the object should ignore the value in the `hicTargetDev` member.
55
55
56
-
`hdcDraw`
56
+
`hdcDraw`<br/>
57
57
The device context on which to draw. For a windowless object, the `hdcDraw` member is in the `MM_TEXT` mapping mode with its logical coordinates matching the client coordinates of the containing window. In addition, the device context should be in the same state as the one normally passed by a `WM_PAINT` message.
58
58
59
-
`prcBounds`
59
+
`prcBounds`<br/>
60
60
Pointer to a [RECTL](https://msdn.microsoft.com/library/windows/desktop/dd162907) structure specifying the rectangle on `hdcDraw` and in which the object should be drawn. This member controls the positioning and stretching of the object. This member should be NULL to draw a windowless in-place active object. In every other situation, NULL is not a legal value and should result in an `E_INVALIDARG` error code. If the container passes a non-NULL value to a windowless object, the object should render the requested aspect into the specified device context and rectangle. A container can request this from a windowless object to render a second, non-active view of the object or to print the object.
61
61
62
-
`prcWBounds`
62
+
`prcWBounds`<br/>
63
63
If `hdcDraw` is a metafile device context (see [GetDeviceCaps](/windows/desktop/api/wingdi/nf-wingdi-getdevicecaps) in the Windows SDK), this is a pointer to a `RECTL` structure specifying the bounding rectangle in the underlying metafile. The rectangle structure contains the window extent and window origin. These values are useful for drawing metafiles. The rectangle indicated by `prcBounds` is nested inside this `prcWBounds` rectangle; they are in the same coordinate space.
64
64
65
-
`bOptimize`
65
+
`bOptimize`<br/>
66
66
Nonzero if the drawing of the control is to be optimized, otherwise 0. If the drawing is optimized, the state of the device context is automatically restored when you are finished rendering.
67
67
68
-
`bZoomed`
68
+
`bZoomed`<br/>
69
69
Nonzero if the target has a zoom factor, otherwise 0. The zoom factor is stored in `ZoomNum`.
70
70
71
-
`bRectInHimetric`
71
+
`bRectInHimetric`<br/>
72
72
Nonzero if the dimensions of `prcBounds` are in HIMETRIC, otherwise 0.
73
73
74
-
`ZoomNum`
74
+
`ZoomNum`<br/>
75
75
The width and height of the rectangle into which the object is rendered. The zoom factor along the x-axis (the proportion of the object's natural size to its current extent) of the target is the value of `ZoomNum.cx` divided by the value of `ZoomDen.cx`. The zoom factor along the y-axis is achieved in a similar fashion.
Copy file name to clipboardExpand all lines: docs/atl/reference/atl-func-info-structure.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,16 +29,16 @@ struct _ATL_FUNC_INFO {
29
29
30
30
## Members
31
31
32
-
`cc`
32
+
`cc`<br/>
33
33
The calling convention. When using this structure with the [IDispEventSimpleImpl](../../atl/reference/idispeventsimpleimpl-class.md) class, this member must be CC_STDCALL. `CC_CDECL` is the only option supported in Windows CE for the `CALLCONV` field of the `_ATL_FUNC_INFO` structure. Any other value is unsupported thus its behavior undefined.
34
34
35
-
`vtReturn`
35
+
`vtReturn`<br/>
36
36
The variant type of the function return value.
37
37
38
-
`nParams`
38
+
`nParams`<br/>
39
39
The number of function parameters.
40
40
41
-
`pVarTypes`
41
+
`pVarTypes`<br/>
42
42
An array of variant types of the function parameters.
0 commit comments