|
SetActiveProfile2 |
Top Previous Next |
|
The SetActiveProfile2 sets the active profile (i.e. the profile that will be used for printing). HRESULT SetActiveProfile2( [in] BSTR* p_wstrProfileName, [in] BOOL p_bPublicProfile );
Parameters: p_wstrProfileName [in] pointer to a BSTR that contains the name of the profile that is to be set as active p_bPublicProfile [in] Flag if the profile is a public or a private profile.
Return values: S_OK on success or COM error code NV_NOT_INITIALIZED - Initialize was not called NV_UNKNOWN_PROFILE - the profile specified by p_wstrProfileName does not exist
|