The ResUtilGetResourceNameDependency utility function returns a handle to a dependent resource with a specified name and type.
HRESOURCE WINAPI ResUtilGetResourceNameDependency(
LPCWSTR lpszResourceName,
LPCWSTR lpszResourceType
);
If the operation was successful, ResUtilGetResourceNameDependency returns a handle to the dependent resource. The caller is responsible for closing that handle by calling CloseClusterResource.
If the operation was unsuccessful, ResUtilGetResourceNameDependency returns NULL. A call can be made to the Win32 function GetLastError for more information.
ResUtilGetResourceNameDependency returns the name of a dependent resource by calling:
For more information, see ResUtilGetResourceDependency.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.