This function sends the combination of a locate operation followed by a get operation to a KMIP server.
If the locate operation was successful, then the second get operation should return the found object in the pObject parameter. Thus the caller has to check both pLocateResult and pGetResult result parameters to determine if there was a failure.
- Parameters
-
locate | [ in ] the group of parameters specific to the lcoate operation |
get | [ in ] the group of parameters specific to the get operation |
pObject | [ out ] P6KMIP_MANAGED containing a managed object returned by the server |
pLocateResult | [ out ] Server returned status of the locate operation |
pGetResult | [ out ] Server returned status of the get operation |
- Returns
Failure | P6R::eNotInitialized | A successful call to initialize() is required. |
P6R::eNotConn | A successful call to open() is required before this function is called. |
P6R::eInvalidArg | One of the pointers is NULL, or queryCount is zero. |
P6R::eFormatError | Parsing error occurred while parsing a KMIP server response. |
P6R::eTooBig | Message returned by server is too big to fit in configured buffers. |
P6R::eTooSmall | The configured buffer size in P6KMIP_PREF.maxBufferSize is too small to hold the request message. |