Muokkaa

Jaa


IDebugProcess2::GetName

Gets the title, friendly name, or file name of the process.

Syntax

int GetName( 
   enum_GETNAME_TYPE  gnType,
   out string         pbstrName
);

Parameters

gnType
[in] A value from the GETNAME_TYPE enumeration that specifies what type of name to return.

pbstrName
[out] Returns the name of the process.

Return Value

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

See also