Microsoft Deployment Toolkit
Documentation Library HRESULT GetMatch(size_t index, LPBSTR pValue)
This
method allows you to retrieve the matches from the most recent
MatchesRegex call. Note that there is no
error processing in this method, and it either returns S_OK or throws an exception.