SysStringLen function Null safety oleaut32

int SysStringLen (
  1. Pointer<NativeType> pbstr
)

Returns the length of a BSTR.

UINT SysStringLen(
  BSTR pbstr
);

Implementation

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