ResUtilGetPropertySize
The ResUtilGetPropertySize utility function returns the total number of bytes required for a specified property.
DWORD WINAPI ResUtilGetPropertySize(
PVOID ClusterKey,
const PRESUTIL_PROPERTY_ITEM Property,
LPDWORD BufferSize,
LPDWORD ItemCount
);
Parameters
-
ClusterKey
-
[in] Cluster database key identifying the location of the property to size.
-
Property
-
[in] Pointer to a RESUTIL_PROPERTY_ITEM structure describing the property to size.
-
BufferSize
-
[in, out] Pointer to the total number of bytes required for the property value, which includes the CLUSPROP_VALUE structure and the data.
-
ItemCount
-
[in, out] Pointer to the total number of properties. This value is incremented to include this property if ResUtilGetPropertySize is successful.
Return Values
-
ERROR_SUCCESS
-
The size of the property was successfully retrieved.
-
ERROR_BAD_ARGUMENTS
-
One or more of the input parameters were invalid.
QuickInfo
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.