2.2.1.7 CScopeRestriction

The CScopeRestriction structure restricts the files to be returned to those that have a path that matches the restriction.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

CcLowerPath

_lowerPath (variable)

...

_padding (variable)

...

_length

_fRecursive

_fVirtual

CcLowerPath (4 bytes): A 32-bit unsigned integer containing the number of Unicode characters in the _lowerPath field.

_lowerPath (variable): A non-null-terminated Unicode string representing the path to which the query is restricted. The CcLowerPath field contains the length of the string.

_padding (variable): This field MUST be 0 to 3 bytes in length. The length of this field MUST be such that the following field begins at an offset that is a multiple of 4 bytes from the beginning of the message that contains this structure. If this field is present (that is, its length is nonzero), the value that it contains is arbitrary. The content of this field MUST be ignored by the receiver.

_length (4 bytes): A 32-bit unsigned integer containing the length of _lowerPath in Unicode characters. This MUST be the same value as CcLowerPath.

_fRecursive (4 bytes): A 32-bit unsigned integer. MUST be set to one of the following values.

Value

Meaning

0x00000000

The server is not to examine any subdirectories.

0x00000001

The server is to recursively examine all subdirectories of the path contained in the _lowerPath field.

_fVirtual (4 bytes): A 32-bit unsigned integer. MUST be set to one of the following values.

Value

Meaning

0x00000000

_lowerPath is a file system path.

0x00000001

_lowerPath is a virtual path (the URL associated with a physical directory on the file system) for a website.