2.2.4.2.2 RopCreateFolder ROP Success Response Buffer
The following descriptions define valid fields for the RopCreateFolder ROP success response buffer.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RopId |
OutputHandleIndex |
ReturnValue |
|||||||||||||||||||||||||||||
... |
FolderId |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
IsExistingFolder |
HasRules (optional) |
|||||||||||||||||||||||||||||
IsGhosted (optional) |
ServerCount (optional) |
CheapServerCount (optional) |
|||||||||||||||||||||||||||||
... |
Servers (variable) |
||||||||||||||||||||||||||||||
... |
RopId (1 byte): An unsigned integer that specifies the type of ROP. For this operation this field is set to 0x1C.
OutputHandleIndex (1 byte): An unsigned integer index that MUST be set to the value specified in the OutputHandleIndex field in the request.
ReturnValue (4 bytes): An unsigned integer that specifies the status of the ROP. For this response, this field is set to 0x00000000.
FolderId (8 bytes): An identifier that specifies the folder created or opened.
IsExistingFolder (1 byte): A Boolean that indicates whether an existing folder was opened or a new folder was created.
HasRules (1 byte): A Boolean that indicates whether the folder has rules associated with it. This field is present if the IsExistingFolder field is nonzero and is not present otherwise.
IsGhosted (1 byte): A Boolean that indicates whether the server is an active replica of this folder. This field is present if the value of the IsExistingFolder field is nonzero and is not present otherwise.
ServerCount (2 bytes): An unsigned integer that is present if the values of both the IsExistingFolder and the IsGhosted fields are nonzero and is not present otherwise. This value specifies the number of strings in the Servers field.
CheapServerCount (2 bytes): An unsigned integer that is present if the values of both the IsExistingFolder and the IsGhosted fields are nonzero and is not present otherwise. This value specifies the number of values in the Servers field that refer to lowest-cost servers.
Servers (variable): A list of null-terminated ASCII strings that is present if the values of both the IsExistingFolder and the IsGhosted fields are nonzero and is not present otherwise. The number of strings contained in this field is specified by the ServersCount field. These strings specify which servers have replicas (2) of this folder.