|
Initialize |
Top Previous Next |
|
The Initialize method initializes the INovaPdfOptions interface HRESULT Initialize( [in] LPCWSTR p_wsPrinterName, [in] LPCWSTR p_wsUserName, [in] LPCWSTR p_wsLicenseKey, [in] LPCWSTR p_wsApplicationName );
Parameters: p_wsPrinterName [in] pointer to a null terminated Unicode string containing the name of the printer to configure
p_wsUserName [in] pointer to a null terminated Unicode string containing the name of the user to whom this module is registered. If no license key is provided, this parameter must be an empty string.
p_wsLicenseKey [in] pointer to a null terminated Unicode string containing the registration key. This parameter can be an empty string. If you filled this parameter, you must fill p_wsUserName also.
p_wsApplicationName [in] pointer to a null terminated Unicode string containing the application name. This parameter can be an empty string. If you have a single application license you must fill this parameter.
Return values: S_OK on success or COM error code NV_INVALID_PRINTER_NAME - cannot find printer with given printer name NV_NOT_A_NOVAPDF_PRINTER - printer is not a novaPDF printer
Remarks: This method must be called prior to calling any method from the INovaPdfOptions interface. |