| Platform SDK: TAPI | 
Enumerates the currently available address locations. This method is provided for C and C++ applications. Automation client applications, such as those written in Visual Basic, must use the get_Locations method.
HRESULT EnumerateLocations( IEnumLocation **ppEnumLocation );
| Value | Meaning | 
|---|---|
| S_OK | Method succeeded. | 
| E_POINTER | The ppEnumLocations parameter is not a valid pointer. | 
| E_OUTOFMEMORY | Insufficient memory exists to create object. | 
The EnumerateLocations method is a COM wrapper for the TAPI 2.1 LineGetTranslateCaps function, and takes location information from the LINETRANSLATECAPS structure returned by that function.
  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.