Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Loads a profile from a file.
Syntax
HRESULT LoadFromFile
([in] BSTR bstrProfileName,
[in] BSTR bstrFileName)
;
Parameters
bstrProfileName
[in] The name of the profile to load.
bstrFileName
[in] The name of the file that contains the profile.
Return Value
The following table describes possible return values.
| Return Value | Description |
|---|---|
S_OK |
Indicates success. |
E_INVALIDARG |
One or more arguments are invalid. Use IParsingErrorInfo to obtain detailed error information. |
E_WPRC_FAILED_TO_VALIDATE_PROFILE |
The library failed to validate the profile. Use IParsingErrorInfo to obtain detailed error information. |