CreateDirectoryExA method

int CreateDirectoryExA(
  1. Pointer<Int8> lpTemplateDirectory,
  2. Pointer<Int8> lpNewDirectory,
  3. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes
)

Implementation

int CreateDirectoryExA(
  ffi.Pointer<ffi.Int8> lpTemplateDirectory,
  ffi.Pointer<ffi.Int8> lpNewDirectory,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateDirectoryExA ??=
      _dylib.lookupFunction<_c_CreateDirectoryExA, _dart_CreateDirectoryExA>(
          'CreateDirectoryExA'))(
    lpTemplateDirectory,
    lpNewDirectory,
    lpSecurityAttributes,
  );
}