ImportRSoPData function
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
HRESULT ImportRSoPData( _In_ LPOLESTR lpNameSpace, _In_ LPOLESTR lpFileName );
Parameters
- lpNameSpace [in]
-
Pointer to a string specifying the namespace to contain the RSoP data. The namespace must exist prior to calling ImportRSoPData.
- lpFileName [in]
-
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
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also