Partager via


2.2.4.10 FILE_ENUM_STRUCT

The FILE_ENUM_STRUCT structure specifies the information level that the client requests in the NetrFileEnum method and encapsulates the FILE_ENUM_UNION union that receives the entries that are enumerated by the server.

 typedef struct _FILE_ENUM_STRUCT {
   DWORD Level;
   [switch_is(Level)] FILE_ENUM_UNION FileInfo;
 } FILE_ENUM_STRUCT,
  *PFILE_ENUM_STRUCT,
  *LPFILE_ENUM_STRUCT;

Level: Specifies the information level of the data. This parameter MUST have one of the following values.

Value

Meaning

2

FILE_INFO_2_CONTAINER

3

FILE_INFO_3_CONTAINER

FileInfo: Contains a file info container structure whose type is determined by the Level parameter as shown in the preceding table. The enumerated elements are returned in this member.