CreateDirectoryExW method

int CreateDirectoryExW(
  1. Pointer<Uint16> lpTemplateDirectory,
  2. Pointer<Uint16> lpNewDirectory,
  3. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes
)

Implementation

int CreateDirectoryExW(
  ffi.Pointer<ffi.Uint16> lpTemplateDirectory,
  ffi.Pointer<ffi.Uint16> lpNewDirectory,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateDirectoryExW ??=
      _dylib.lookupFunction<_c_CreateDirectoryExW, _dart_CreateDirectoryExW>(
          'CreateDirectoryExW'))(
    lpTemplateDirectory,
    lpNewDirectory,
    lpSecurityAttributes,
  );
}