FILE_USAGE_TYPE enumeration (shobjidl_core.h)
Constants used by IFileIsInUse::GetUsage to indicate how a file in use is being used.
Syntax
typedef enum FILE_USAGE_TYPE {
FUT_PLAYING = 0,
FUT_EDITING,
FUT_GENERIC
} ;
Constants
FUT_PLAYING Value: 0 The file is being played by the process that has it open. |
FUT_EDITING The file is being edited by the process that has it open. |
FUT_GENERIC The file is open in the process for an unspecified action or an action that does not readily fit into the other two categories. |
Remarks
The interpretation of "playing" or "editing" is left to the application's implementation of IFileIsInUse. Generally, "playing" would refer to a media file while "editing" can refer to any file being altered in an application. However, the application itself best knows how to map these terms to its actions.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | shobjidl_core.h (include Shobjidl.h) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για