CreateDirectoryA method

int CreateDirectoryA(
  1. Pointer<Int8> lpPathName,
  2. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes
)

Implementation

int CreateDirectoryA(
  ffi.Pointer<ffi.Int8> lpPathName,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateDirectoryA ??=
      _dylib.lookupFunction<_c_CreateDirectoryA, _dart_CreateDirectoryA>(
          'CreateDirectoryA'))(
    lpPathName,
    lpSecurityAttributes,
  );
}