SysStringLen function Null safety oleaut32

int SysStringLen(
  1. Pointer<Utf16> pbstr
)

Returns the length of a BSTR.

UINT SysStringLen(
  BSTR pbstr
);

Implementation

int SysStringLen(Pointer<Utf16> pbstr) {
  final _SysStringLen = _oleaut32.lookupFunction<
      Uint32 Function(Pointer<Utf16> pbstr),
      int Function(Pointer<Utf16> pbstr)>('SysStringLen');
  return _SysStringLen(pbstr);
}