Share via


IDebugObject2::IsUserData

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Determines whether the object represents user data.

Syntax

HRESULT IsUserData(
   BOOL* pfUser
);
int IsUserData(
   out int pfUser
);

Parameters

pfUser
[out] Returns nonzero (TRUE) if the object represents user data; zero (FALSE) if it does not.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

User data is any object that is part of a module designated as JustMyCode (a user-configurable option that marks a module as user code and therefore visible in a stack trace).

See also