CreateDirectoryW method

int CreateDirectoryW(
  1. Pointer<Uint16> lpPathName,
  2. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes
)

Implementation

int CreateDirectoryW(
  ffi.Pointer<ffi.Uint16> lpPathName,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateDirectoryW ??=
      _dylib.lookupFunction<_c_CreateDirectoryW, _dart_CreateDirectoryW>(
          'CreateDirectoryW'))(
    lpPathName,
    lpSecurityAttributes,
  );
}