PXCV_FinishReadDocument

<< Click to Display Table of Contents >>

Navigation:  Functions >

PXCV_FinishReadDocument


 

pdf-xchange-editor-simple-sdk_100x100 PXCV_FinishReadDocument

 


 

PXCV_FinishReadDocument completes the reading of encrypted documents when PXCV_ReadDocumentW returns PS_ERR_DocEncrypted and PXCV_CheckPassword supplied the correct password.

 

HRESULT  PXCV_FinishReadDocument(

PXVDocument Doc,

DWORD Flags

);

 

Parameters

 

Doc

[in] Specifies a document that PXCV_Init created.

 

Flags

[in] This parameter is reserved for future use and should be set to 0.

 

Please note that all functions and parameters are case-sensitive.

 

Return Values

 

If the function succeeds then the return value is DS_OK.

 

If the function fails then the return value is an error code.

 

Comments

 

This function should be called only when PXCV_ReadDocumentW returns PS_ERR_DocEncrypted and PXCV_CheckPassword supplied the correct password. If calls to PXCV_ReadDocumentW are successful then there is no need to call this function.