| Platform SDK: Group Policy | 
Retrieves the Active Directory path for the specified section of the GPO.
HRESULT GetDSPath( DWORD dwSection, LPOLESTR pszPath, int cchMaxPath );
| Value | Meaning | 
|---|---|
| GPO_SECTION_USER | User section | 
| GPO_SECTION_MACHINE | Computer section | 
If the function succeeds, the return value is S_OK. Otherwise, the function returns one of the COM error codes defined in the Platform SDK header file WinError.h.
  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Gpedit.h.
Group Policy Overview, Group Policy Interfaces, IGPEInformation