VarBstrCmp(3w)

NAME

VarBstrCmp (OLEAUT32.314)

SYNOPSIS

HRESULT VarBstrCmp
 (
  BSTR  pbstrLeft,
  BSTR  pbstrRight,
  LCID  lcid,
  DWORD dwFlags
 )

DESCRIPTION

Compare two BSTR values.

PARAMS

pbstrLeft [In] Source.

pbstrRight [In] Value to compare.

lcid [In] LCID for the comparison.

dwFlags [In] Flags to pass directly to CompareStringW(3w).

RETURNS

VARCMP_LT, VARCMP_EQ or VARCMP_GT indicating that pbstrLeft is less than, equal to or greater than pbstrRight respectively.

NOTES

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.

IMPLEMENTATION

Defined in "oleauto.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/oleaut32/vartype.c".

Debug channel "variant".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout