reference:plugins:plugin_sdk:xml_functions:xmlgetnodebinaryvalue

XMLGetNodeBinaryValue(
     HANDLE:hNodeHandle,
     LPVOID:pValue,
     LPDWORD:pdwSize
)
→ BOOL

Arguments

hNodeHandle

[in] The handle to the node.

pValue

[out] A buffer to store the data in, or NULL if the data is not required.

pdwSize

[in,out] If pValue is non-NULL this must point to a variable that contains the maximum size of the buffer in bytes. On return the variable will contain the number of bytes copied to the buffer. If pszValue is NULL this must point to a variable that will receive the size of the value in bytes.

Return value

Returns TRUE on success or FALSE on failure.

Description

The XMLGetNodeBinaryValue function returns the value of a node as a chunk of binary data.

Note that only value data that was specifically saved as binary via XMLSetNodeBinaryValue can be retrieved by this function. The underlying data-type in XML is a string, not binary.