HrConvConvert

The HrConvConvert function converts a message and then returns the results of the conversion.

Quick Info

Header file: CONVCWRP.H
Library: CONVCWRP.LIB

HRESULT HrConvConvert(
  PVOID pvConvInst,      
  PEDKCNVENV pEnv,       
  LPCWSTR pszContentClass,  
  PVOID pContentIn,      
  PVOID pContentOut,     
  EDKCNVRES * pcrResult  
);
 

Parameters

pvConvInst
Input parameter. Points to an instance of the conversion engine.
pEnv
Input parameter. Points to the environment of the conversion.
pszContentClass
Input parameter. Points to the class of source to be converted.
pContentIn
Input parameter. Points to the source to be converted.
pContentOut
Input parameter. Points to the converted object.
pcrResult
Output parameter. Points to the finished conversion, if the conversion is successful. Otherwise, pcrResult is undefined.

Return Values

See Return Values.

Remarks

For more information on the HrConvConvert function, see Translating Messages Using a Translation DLL in the Gateway Programmer's Reference.