Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ResUtilGetProperty function

Returns a specified property from the cluster database. The PRESUTIL_GET_PROPERTY type defines a pointer to this function.

Syntax


DWORD WINAPI ResUtilGetProperty(
  _In_          HKEY                   hkeyClusterKey,
  _In_    const PRESUTIL_PROPERTY_ITEM pPropertyTableItem,
  _Out_         PVOID                  *pOutPropertyItem,
  _Inout_       LPDWORD                pcbOutPropertyItemSize
);

typedef DWORD (WINAPI *PRESUTIL_GET_PROPERTY)(
    _In_          HKEY                   hkeyClusterKey,
    _In_    const PRESUTIL_PROPERTY_ITEM pPropertyTableItem,
    _Inout_       PVOID                  *pOutPropertyItem,
    _Inout_       LPDWORD                pcbOutPropertyItemSize
);

Parameters

hkeyClusterKey [in]

Pointer to the cluster database key identifying the location of the property to retrieve.

pPropertyTableItem [in]

Pointer to a RESUTIL_PROPERTY_ITEM structure that describes the property to retrieve.

pOutPropertyItem [out]

Pointer to an output buffer in which to return the requested property. It is assumed that the buffer is part of a property list.

pcbOutPropertyItemSize [in, out]

Pointer to the size in bytes of the output buffer pointed to by pOutPropertyItem.

Return value

If the operations succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code. The following is a possible error code.

ERROR_BAD_ARGUMENTS

One or more of the input parameters were invalid.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ResApi.h

Library

ResUtils.lib

DLL

ResUtils.dll

See also

RESUTIL_PROPERTY_ITEM

 

 

Show: