在线等待

解决方案 »

  1.   

    int wcscmp( const wchar_t *string1, const wchar_t *string2 );
      

  2.   

    VarCmp
    Compares two variants. HRESULT VarCmp( 
      LPVARIANT  pvarLeft, 
      LPVARIANT  pvarRight, 
      LCID       lcid,
      ULONG      dwFlags
    );
    Parameters
    pvarLeft 
    [in] Points to the first variant. 
    pvarRight 
    [in] Points to the second variant. 
    lcid 
    [in] Locale identifier. 
    dwFlags 
    [in] The following are compare results flags: Options Value Meaning 
    NORM_IGNORECASE 0x00000001 Ignore case. 
    NORM_IGNORENONSPACE 0x00000002 Ignore nonspacing chars. 
    NORM_IGNORESYMBOLS 0x00000004 Ignore symbols. 
    NORM_IGNOREWIDTH 0x00000008 Ignore string width. 
    NORM_IGNOREKANATYPE 0x00000040 Ignore Kana type. 
    NORM_IGNOREKASHIDA 0x00040000 Ignore Arabic kashida characters. Return Value 
    Options Value Meaning 
    VARCMP_LT 0 The pvarLeft is less than pvarRight. 
    VARCMP_EQ 1 The two parameters are equal. 
    VARCMP_GT 2 The pvarLeft is greater than pvarRight. 
    VARCMP_NULL 3 Either expression is NULL.