HTPA110 E
No matching directive found.
Return Details of a Main Directive or Subdirective(QzhbGetDirectiveDetail) API
Required Parameter Group:
1 cfg Input Binary(4)
2 dir Input Binary(4)
3 buf Output Char(*)
4 buf_size Input Binary(4)
5 buf_actlen Output Binary(4)
6 hassubdirs Output Binary(4)
7 issubdir Output Binary(4)
8 errcode I/O Char(*)
Threadsafe: Yes
Use the QzhbGetDirectiveDetail API to extract detail information about a main
directive or subdirective.
Authorities and locks
None.
Required parameter group
cfg
INPUT:BINARY(4)
The handle returned to the configuration file by a call to API
QzhbOpenConfig.
dir
INPUT:BINARY(4)
The handle to a main directive or subdirective, as returned by the
QzhbFindDirective or QzhbFindSubdirective APIs.
buf
OUTPUT:CHAR(*)
The buffer where the directive string is placed.
buf_size
INPUT:BINARY(4)
The size of the buffer in bytes.
buf_actlen
OUTPUT:BINARY(4)
The actual length of the directive string. Any data beyond the size specified in
the buf_size parameter is truncated.
hassubdirs
OUTPUT:BINARY(4)
The value is set to 1 (true) when dir is a main directive and there are
subdirectives under it. If dir is not a main directive, the value is set to 0 (false).
Chapter2. Application Programming Interfaces 51