VarBstrCmp (OLEAUT32.314)
HRESULT VarBstrCmp ( BSTR pbstrLeft, BSTR pbstrRight, LCID lcid, DWORD dwFlags )
Compare two BSTR values.
pbstrLeft | [In] | Source. |
pbstrRight | [In] | Value to compare. |
lcid | [In] | LCID for the comparison. |
dwFlags | [In] | Flags to pass directly to CompareStringW. |
VARCMP_LT, VARCMP_EQ or VARCMP_GT indicating that pbstrLeft is less than, equal to or greater than pbstrRight respectively.
VARCMP_NULL is NOT returned if either string is NULL unlike MSDN states. A NULL BSTR pointer is equivalent to an empty string. If LCID is equal to 0, a byte by byte comparison is performed.
Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h
Implemented in "dlls/oleaut32/vartype.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/vartype.c
Debug channel "variant".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.