internal static bool GetFileAttributesEx(string name, GET_FILEEX_INFO_LEVELS fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation) { string?nameWithExtendedPrefix = PathInternal.EnsureExtendedPrefixIfNeeded(name); Debug.Assert(nameWithExtendedPrefix != null, "null not expected when non-null is passed"); // TODO-NULLABLE: https://github.com/dotnet/roslyn/issues/26761 return(GetFileAttributesExPrivate(nameWithExtendedPrefix, fileInfoLevel, ref lpFileInformation)); }
private static extern bool GetFileAttributesEx(string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FIND_DATA fileData);
public static extern int GetFileAttributesExW([NativeTypeName("LPCWSTR")] ushort *lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, [NativeTypeName("LPVOID")] void *lpFileInformation);
public static extern bool GetFileAttributesEx(string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, IntPtr lpFileInformation);
internal static bool GetFileAttributesEx(string?name, GET_FILEEX_INFO_LEVELS fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation) { name = PathInternal.EnsureExtendedPrefixIfNeeded(name); return(GetFileAttributesExPrivate(name, fileInfoLevel, ref lpFileInformation)); }
public static extern bool GetFileAttributesEx( [In] [MarshalAs(UnmanagedType.LPTStr)] string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, IntPtr lpFileInformation);
internal static bool GetFileAttributesEx(string name, GET_FILEEX_INFO_LEVELS fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation) { name = PathInternal.EnsureExtendedPrefixOverMaxPath(name); return GetFileAttributesExPrivate(name, fileInfoLevel, ref lpFileInformation); }
internal static bool GetFileAttributesEx(string name, GET_FILEEX_INFO_LEVELS fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation) { name = PathInternal.EnsureExtendedPrefixIfNeeded(name) !; // TODO-NULLABLE: Remove ! when [NotNullIfNotNull] respected return(GetFileAttributesExPrivate(name, fileInfoLevel, ref lpFileInformation)); }
public static extern BOOL GetFileAttributesExA([NativeTypeName("LPCSTR")] sbyte *lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, [NativeTypeName("LPVOID")] void *lpFileInformation);
public extern static int GetFileAttributesTransactedW( [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA lpFileInformation, System.IntPtr hTransaction);
internal static extern bool GetFileAttributesEx(string name, GET_FILEEX_INFO_LEVELS fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
static extern bool GetFileAttributesExW([MarshalAs(UnmanagedType.LPWStr)] string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA fileData);
public static extern bool GetFileAttributesEx(string path, GET_FILEEX_INFO_LEVELS level, out WIN32_FILE_ATTRIBUTE_DATA data);
internal static extern Boolean GetFileAttributesExW( string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA fileData );
internal static extern bool GetFileAttributesTransacted( [In] string lpFileName , [In] GET_FILEEX_INFO_LEVELS fInfoLevelId , [Out] out WIN32_FILE_ATTRIBUTE_DATA attributes , [In] KtmTransactionHandle hTransaction);
static extern bool GetFileAttributesEx(string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, IntPtr lpFileInformation);
static internal extern bool GetFileAttributesExW(string lpFileName, [In, MarshalAs(UnmanagedType.U4)] GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
internal static extern bool GetFileAttributesEx( [In] string lpFileName, [In] GET_FILEEX_INFO_LEVELS fInfoLevelId, [Out] out WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
private static extern bool GetFileAttributesExPrivate(string name, GET_FILEEX_INFO_LEVELS fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
public static extern bool GetFileAttributesEx([MarshalAs(UnmanagedType.LPTStr)] string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out Microsoft.Win32.WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
public static extern bool GetFileAttributesExFromApp( string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
public static extern bool GetFileAttributesEx( string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
private static partial bool GetFileAttributesExPrivate( string?name, GET_FILEEX_INFO_LEVELS fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation);
private static extern bool GetFileAttributesEx(string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA fileData);
public static extern bool GetFileAttributesEx(string lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, out WIN32_FILE_ATTRIBUTE_DATA fileData);
internal static bool GetFileAttributesEx(string name, GET_FILEEX_INFO_LEVELS fileInfoLevel, ref WIN32_FILE_ATTRIBUTE_DATA lpFileInformation) { name = PathInternal.EnsureExtendedPrefixOverMaxPath(name); return(GetFileAttributesExFromApp(name, fileInfoLevel, ref lpFileInformation)); }