Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a particular property of a specified Heap.
Syntax
HRESULT WsGetHeapProperty(
  [in]           WS_HEAP             *heap,
  [in]           WS_HEAP_PROPERTY_ID id,
                 void                *value,
  [in]           ULONG               valueSize,
  [in, optional] WS_ERROR            *error
);
Parameters
[in] heap
A pointer to the Heap object to that contains the desired property data.
[in] id
This is a WS_HEAP_PROPERTY_ID enumerator that identifies the desired property.
value
A reference to the retrieved property value. The pointer must have an alignment compatible with the type of the property.
[in] valueSize
The buffer size allocated by the caller for the retrieved property value.
[in, optional] error
A pointer to a WS_ERROR object where additional information about the error should be stored if the function fails.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 7 [desktop apps | UWP apps] | 
| Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] | 
| Target Platform | Windows | 
| Header | webservices.h | 
| Library | WebServices.lib | 
| DLL | WebServices.dll |