Skip to content
Merged
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
7 changes: 2 additions & 5 deletions sdk-api-src/content/debugapi/nf-debugapi-isdebuggerpresent.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ ms.keywords: IsDebuggerPresent, IsDebuggerPresent function, _win32_isdebuggerpre
req.header: debugapi.h
req.include-header: Windows.h
req.target-type: Windows
req.target-min-winverclnt: Windows XP [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2003 [desktop apps \| UWP apps]
req.target-min-winverclnt: Windows NT Workstation 4.0 [desktop apps \| UWP apps]
req.target-min-winversvr: Windows NT Server 4.0 [desktop apps \| UWP apps]
req.kmdf-ver:
req.umdf-ver:
req.ddi-compliance:
Expand Down Expand Up @@ -73,9 +73,6 @@ This function allows an application to determine whether or not it is being debu

To determine whether a remote process is being debugged, use the <a href="/windows/desktop/api/debugapi/nf-debugapi-checkremotedebuggerpresent">CheckRemoteDebuggerPresent</a> function.

To compile an application that uses this function, define the _WIN32_WINNT macro as 0x0400 or later. For more information, see
<a href="/windows/desktop/WinProg/using-the-windows-headers">Using the Windows Headers</a>.

Comment on lines -76 to -78
Copy link
Contributor

@riverar riverar Jan 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[...] the bottom of the page mention the minimum OS requirement anyway.

The documentation indicates 0x0400 (Windows NT 4), but the bottom of the page says Windows XP / Server 2003. Perhaps fix the metadata too?

(The metadata at the bottom of pages is typically incorrect, making this sentence much more valuable.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, indeed confirmed the current metadata is false, screenshot from msdn.microsoft.com from 2004 wayback machine:
image

will work on a fix for this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

## -see-also

<a href="/windows/desktop/api/debugapi/nf-debugapi-checkremotedebuggerpresent">CheckRemoteDebuggerPresent</a>
Expand Down