Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ImportRSoPData function imports a data file containing RSoP data to a WMI namespace. The file must be one generated by a call to the ExportRSoPData function.
Syntax
GPEDITAPI HRESULT ImportRSoPData(
[in] LPOLESTR lpNameSpace,
[in] LPOLESTR lpFileName
);
Parameters
[in] lpNameSpace
Pointer to a string specifying the namespace to contain the RSoP data. The namespace must exist prior to calling ImportRSoPData.
[in] lpFileName
Pointer to a string specifying the name of the file that contains the RSoP data.
Return value
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.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | gpedit.h |
| Library | Gpedit.lib |
| DLL | Gpedit.dll |