Category Creo Parametric TOOLKIT fundamentals, Object ProWstring

Function ProWstringCompare


Description
Compares two wide strings for equality.
Synopsis
#include <ProWstring.h>
ProErrorProWstringCompare(
wchar_t* wstr_1
/* (In)
The first wide string.
*/
wchar_t* wstr_2
/* (In)
The second wide string.
*/
int num_chars
/* (In)
The number of characters to compare. Pass PRO_VALUE_UNUSED to compare the entire strings.
*/
int* result
/* (Out)
The comparison result (as per "strcmp()")
*/
)
Returns
PRO_TK_NO_ERRORThe information was returned successfully.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.

Manual References:

  1. Fundamentals: String and Widestring Functions
  2. Fundamentals: String and Widestring Functions

Sample Code References:

  1. pt_af_examples ( PTMfgTemplateBOM.c )
  2. pt_af_examples ( PTMfgTemplateBOM.c )
  3. pt_examples ( TestGtol.c )
  4. pt_examples ( TestGtol.c )
  5. pt_examples ( UtilString.c )
  6. pt_udf_examples ( PTUDFExParamInfo.c )
  7. pt_udf_examples ( PTUDFExParamVerify.c )
  8. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  9. pt_userguide ( UgModelCheck.c )
  10. pt_userguide ( UgModelCheck.c )
  11. pt_userguide ( UgMfgWcellCreate.c )
  12. pt_wc_server ( PTWCServerPopulate.c )
  13. pt_wc_server ( PTWCServerUtils.c )
  14. pt_wc_server ( PTWCServerUtils.c )