FILE_INFO_BY_HANDLE_CLASS 열거형(minwinbase.h)

GetFileInformationByHandleEx가 검색하거나 SetFileInformationByHandle이 설정해야 하는 파일 정보의 유형을 식별합니다.

Syntax

typedef enum _FILE_INFO_BY_HANDLE_CLASS {
  FileBasicInfo,
  FileStandardInfo,
  FileNameInfo,
  FileRenameInfo,
  FileDispositionInfo,
  FileAllocationInfo,
  FileEndOfFileInfo,
  FileStreamInfo,
  FileCompressionInfo,
  FileAttributeTagInfo,
  FileIdBothDirectoryInfo,
  FileIdBothDirectoryRestartInfo,
  FileIoPriorityHintInfo,
  FileRemoteProtocolInfo,
  FileFullDirectoryInfo,
  FileFullDirectoryRestartInfo,
  FileStorageInfo,
  FileAlignmentInfo,
  FileIdInfo,
  FileIdExtdDirectoryInfo,
  FileIdExtdDirectoryRestartInfo,
  FileDispositionInfoEx,
  FileRenameInfoEx,
  FileCaseSensitiveInfo,
  FileNormalizedNameInfo,
  MaximumFileInfoByHandleClass
} FILE_INFO_BY_HANDLE_CLASS, *PFILE_INFO_BY_HANDLE_CLASS;

상수

 
FileBasicInfo
파일에 대한 최소한의 정보를 검색하거나 설정해야 합니다. 파일 핸들에 사용됩니다. 참조
FILE_BASIC_INFO.
FileStandardInfo
파일에 대한 확장 정보를 검색해야 합니다. 파일 핸들에 사용됩니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_STANDARD_INFO.
FileNameInfo
파일 이름을 검색해야 합니다. 모든 핸들에 사용됩니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_NAME_INFO.
FileRenameInfo
파일 이름을 변경해야 합니다. 파일 핸들에 사용됩니다. 호출할 때만 사용
SetFileInformationByHandle. 참조
FILE_RENAME_INFO.
FileDispositionInfo
파일을 삭제해야 합니다. 모든 핸들에 사용됩니다. 호출할 때만 사용
SetFileInformationByHandle. 참조
FILE_DISPOSITION_INFO.
FileAllocationInfo
파일 할당 정보를 변경해야 합니다. 파일 핸들에 사용됩니다. 호출할 때만 사용
SetFileInformationByHandle. 참조
파일 할당 정보입니다.
FileEndOfFileInfo
파일의 끝을 설정해야 합니다. 호출할 때만 사용
SetFileInformationByHandle. 참조
FILE_END_OF_FILE_INFO.
FileStreamInfo
지정된 파일에 대한 파일 스트림 정보를 검색해야 합니다. 모든 핸들에 사용됩니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_STREAM_INFO.
FileCompressionInfo
파일 압축 정보를 검색해야 합니다. 모든 핸들에 사용됩니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_COMPRESSION_INFO.
FileAttributeTagInfo
파일 특성 정보를 검색해야 합니다. 모든 핸들에 사용됩니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_ATTRIBUTE_TAG_INFO.
FileIdBothDirectoryInfo
지정된 디렉터리의 파일을 검색해야 합니다. 디렉터리 핸들에 사용됩니다. 호출할 때만 사용
GetFileInformationByHandleEx. 숫자
에 대한 각 호출에 대해 반환되는 파일의
GetFileInformationByHandleEx
함수에 전달되는 버퍼의 크기입니다. 다음에 대한 모든 호출
동일한 GetFileInformationByHandleEx
핸들은 마지막 파일이 반환된 후 열거형 작업을 다시 시작합니다. 참조
FILE_ID_BOTH_DIR_INFO.
FileIdBothDirectoryRestartInfo
FileIdBothDirectoryInfo와 동일하지만 열거형 작업은
처음부터 다시 시작합니다. 참조
FILE_ID_BOTH_DIR_INFO.
FileIoPriorityHintInfo
우선 순위 힌트 정보를 설정해야 합니다. 호출할 때만 사용
SetFileInformationByHandle. 참조
FILE_IO_PRIORITY_HINT_INFO.
FileRemoteProtocolInfo
파일 원격 프로토콜 정보를 검색해야 합니다. 모든 핸들에 를 사용합니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_REMOTE_PROTOCOL_INFO.
FileFullDirectoryInfo
지정된 디렉터리의 파일을 검색해야 합니다. 디렉터리 핸들에 사용됩니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_FULL_DIR_INFO.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 및 Windows XP: 이 값은 Windows 8 및 Windows Server 2012 전에 지원되지 않습니다.
FileFullDirectoryRestartInfo
FileFullDirectoryInfo와 동일하지만 열거형 작업은
처음부터 다시 시작합니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_FULL_DIR_INFO.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 및 Windows XP: 이 값은 Windows 8 및 Windows Server 2012 전에 지원되지 않습니다.
FileStorageInfo
파일 스토리지 정보를 검색해야 합니다. 모든 핸들에 를 사용합니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_STORAGE_INFO.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 및 Windows XP: 이 값은 Windows 8 및 Windows Server 2012 전에 지원되지 않습니다.
FileAlignmentInfo
파일 맞춤 정보를 검색해야 합니다. 모든 핸들에 를 사용합니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_ALIGNMENT_INFO.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 및 Windows XP: 이 값은 Windows 8 및 Windows Server 2012 전에 지원되지 않습니다.
FileIdInfo
파일 정보를 검색해야 합니다. 모든 핸들에 를 사용합니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_ID_INFO.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 및 Windows XP: 이 값은 Windows 8 및 Windows Server 2012 전에 지원되지 않습니다.
FileIdExtdDirectoryInfo
지정된 디렉터리의 파일을 검색해야 합니다. 디렉터리 핸들에 사용됩니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_ID_EXTD_DIR_INFO.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 및 Windows XP: 이 값은 Windows 8 및 Windows Server 2012 전에 지원되지 않습니다.
FileIdExtdDirectoryRestartInfo
FileIdExtdDirectoryInfo와 동일하지만 열거형 작업은
처음부터 다시 시작합니다. 호출할 때만 사용
GetFileInformationByHandleEx. 참조
FILE_ID_EXTD_DIR_INFO.

Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 및 Windows XP: 이 값은 Windows 8 및 Windows Server 2012 전에 지원되지 않습니다.
FileDispositionInfoEx
FileRenameInfoEx
MaximumFileInfoByHandleClass
이 값은 유효성 검사에 사용됩니다. 지원되는 값이 이 값보다 작습니다.

설명

이전 섹션에서 설명한 것처럼 일부 파일 정보 클래스는 GetFileInformationByHandleEx에서만 사용할 수 있습니다. 다른 항목은 SetFileInformationByHandle에서만 사용할 수 있습니다. 두 함수가 모두 언급되지 않은 경우 정보 클래스는 두 함수에서 모두 유효합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows Vista [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 Windows Server 2008 [데스크톱 앱 | UWP 앱]
머리글 minwinbase.h(Windows.h 포함)
재배포 가능 파일 Windows Server 2003 및 Windows XP에서 Windows SDK.

추가 정보

GetFileInformationByHandleEx

SetFileInformationByHandle