IGPM::InitializeReporting method (gpmgmt.h)
The InitializeReporting method sets the location to search for .adm files. This method initializes reporting in an asynchronous manner.
For both Group Policy object (GPO) reporting or Resultant Set of Policy (RSOP) reporting, the Group Policy Management Console (GPMC) searches for and loads .adm files in the following order. First it searches for the specified .adm files in the specified location. Then it searches for any additional .adm files in the default location. Finally it searches the GPO or RSoP for any additional .adm files.
Syntax
HRESULT InitializeReporting(
[in] BSTR bstrAdmPath
);
Parameters
[in] bstrAdmPath
Location to search for .adm files. Use a null-terminated string.
Return value
C++
Returns S_OK if successful. Returns a failure code if an error occurs.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |