SysStringByteLen function Null safety oleaut32

int SysStringByteLen (
  1. Pointer<NativeType> bstr
)

Returns the length (in bytes) of a BSTR.

UINT SysStringByteLen(
  BSTR bstr
);

Implementation

int SysStringByteLen(Pointer bstr) {
  final _SysStringByteLen = _oleaut32.lookupFunction<
      Uint32 Function(Pointer bstr),
      int Function(Pointer bstr)>('SysStringByteLen');
  return _SysStringByteLen(bstr);
}