Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Gets the title, friendly name, or file name of the process.
HRESULT GetName(
GETNAME_TYPE gnType,
BSTR* pbstrName
);
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.