WindowsTrimStringStart function Null safety winrt

int WindowsTrimStringStart(
  1. int string,
  2. int trimString,
  3. Pointer<IntPtr> newString

Removes all leading occurrences of a specified set of characters from the source string.

HRESULT WindowsTrimStringStart(
  HSTRING string,
  HSTRING trimString,
  HSTRING *newString


int WindowsTrimStringStart(
    int string, int trimString, Pointer<IntPtr> newString) {
  final _WindowsTrimStringStart =
          Int32 Function(
              IntPtr string, IntPtr trimString, Pointer<IntPtr> newString),
          int Function(int string, int trimString,
              Pointer<IntPtr> newString)>('WindowsTrimStringStart');
  return _WindowsTrimStringStart(string, trimString, newString);