Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the file name of the module.
HRESULT GetName(
[in] ULONG32 cchName,
[out] ULONG32 *pcchName,
[out, size_is(cchName), length_is(*pcchName)] WCHAR szName[]
);
Parameters
cchname
[in] The size of the szName array.pcchName
[in] A pointer to the length of the returned name.szName
[out] An array that stores the returned name.
Remarks
The GetName method returns an S_OK HRESULT if the module's file name matches the name on disk. GetName returns an S_FALSE HRESULT if the name is fabricated, such as for a dynamic or in-memory module.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0