Skip to content

Clean up "Data Types (MFC)" topic #5469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions docs/mfc/reference/data-types-mfc.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
---
description: "Learn more about: Data Types (MFC)"
title: "Data Types (MFC)"
ms.date: "11/04/2016"
description: "Learn more about: Data Types (MFC)"
ms.date: 11/04/2016
f1_keywords: ["LPCRECT", "POSITION"]
helpviewer_keywords: ["LPCRECT data type [MFC]", "WPARAM data type [MFC]", "data types [MFC], MFC", "LRESULT [MFC]", "POSITION data type [MFC]", "UINT [MFC]", "LPVOID data type [MFC]", "COLORREF [MFC]", "LPCTSTR [MFC]", "LPSTR [MFC]", "DWORD operator [MFC]", "WORD data type [MFC]", "LPTSTR [MFC]", "BYTE data type (Windows)", "Long data type [MFC], Windows types", "Boolean data type [MFC], supported data types", "LPARAM data type [MFC]", "LPCSTR [MFC]"]
ms.assetid: 8954848b-2c01-4a4f-abf5-ee55f6a05eeb
---
# Data Types (MFC)

This topic lists the data types most commonly used in the Microsoft Foundation Class Library. Most of the data types are the same as those in the Platform Software Development Kit (SDK), while others are unique to MFC.

For information about the data types used in both the Windows SDK and MFC, see [Windows Data Types](/windows/win32/WinProg/windows-data-types).
This topic lists the data types most commonly used in the Microsoft Foundation Class (MFC) Library. Most of the data types are the same as those in the Platform Software Development Kit (SDK), while others are unique to MFC.

Data types unique to the Microsoft Foundation Class Library include the following:
For information about the data types used in both the Windows SDK and MFC, see [Windows Data Types](/windows/win32/WinProg/windows-data-types).

- POSITION A value used to denote the position of an element in a collection; used by MFC collection classes.
Data types unique to MFC include the following:

- LPCRECT A 32-bit pointer to a constant (nonmodifiable) `RECT` structure.
- `POSITION` - A value used to denote the position of an element in a collection; used by MFC collection classes.
- `LPCRECT` - A 32-bit pointer to a constant (nonmodifiable) [`RECT`](/windows/win32/api/windef/ns-windef-rect) structure.

## See also

[Class Overview](../../mfc/class-library-overview.md)<br/>
[Macros and Globals](../../mfc/reference/mfc-macros-and-globals.md)
[Class Overview](../class-library-overview.md)\
[Macros and Globals](mfc-macros-and-globals.md)