ReactOS  0.4.14-dev-98-gb0d4763
structs.c File Reference
#include <kmt_test.h>
Include dependency graph for structs.c:

Go to the source code of this file.

Functions

 C_ASSERT (sizeof(IO_STACK_LOCATION)==36)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, MajorFunction)==0)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, MinorFunction)==1)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Flags)==2)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Control)==3)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.Create.SecurityContext)==4)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.Create.Options)==8)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.Create.FileAttributes)==12)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.Create.ShareAccess)==14)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.Create.EaLength)==16)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.ReadWriteConfig.WhichSpace)==4)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.ReadWriteConfig.Buffer)==8)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.ReadWriteConfig.Offset)==12)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.ReadWriteConfig.Length)==16)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.Length)==4)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.FileInformationClass)==8)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.FileObject)==12)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.ReplaceIfExists)==16)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.AdvanceOnly)==17)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.ClusterCount)==16)
 
 C_ASSERT (FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.DeleteHandle)==16)
 

Function Documentation

◆ C_ASSERT() [1/21]

C_ASSERT ( sizeof(IO_STACK_LOCATION = =36)

◆ C_ASSERT() [2/21]

C_ASSERT ( FIELD_OFFSET(IO_STACK_LOCATION, MajorFunction)  = =0)

◆ C_ASSERT() [3/21]

◆ C_ASSERT() [4/21]

C_ASSERT ( FIELD_OFFSET(IO_STACK_LOCATION, Flags = =2)

◆ C_ASSERT() [5/21]

C_ASSERT ( FIELD_OFFSET(IO_STACK_LOCATION, Control = =3)

◆ C_ASSERT() [6/21]

C_ASSERT ( FIELD_OFFSET(IO_STACK_LOCATION, Parameters.Create.SecurityContext)  = =4)

◆ C_ASSERT() [7/21]

◆ C_ASSERT() [8/21]

◆ C_ASSERT() [9/21]

◆ C_ASSERT() [10/21]

◆ C_ASSERT() [11/21]

◆ C_ASSERT() [12/21]

◆ C_ASSERT() [13/21]

◆ C_ASSERT() [14/21]

◆ C_ASSERT() [15/21]

◆ C_ASSERT() [16/21]

◆ C_ASSERT() [17/21]

◆ C_ASSERT() [18/21]

C_ASSERT ( FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.ReplaceIfExists)  = =16)

◆ C_ASSERT() [19/21]

C_ASSERT ( FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.AdvanceOnly)  = =17)

◆ C_ASSERT() [20/21]

C_ASSERT ( FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.ClusterCount)  = =16)

◆ C_ASSERT() [21/21]

C_ASSERT ( FIELD_OFFSET(IO_STACK_LOCATION, Parameters.SetFile.DeleteHandle)  = =16)