次の方法で共有


IDebugAddress2::GetProcessID

Retrieves the ID of the process that owns the object represented by this IDebugAddress2 interface.

HRESULT GetProcessID (
   DWORD* pProcID
);
int GetProcessID (
   out uint pProcID
);

Parameters

  • pProcID
    [out] The process ID.

Return Value

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

See Also

Reference

IDebugAddress2