Microsoft DirectX 9.0

IResourceManager::RegisterGroup

The RegisterGroup method registers a named resource group with the resource manager.

Syntax

HRESULT RegisterGroup(
  LPCWSTR pName,
  LONG cResource,
  LONG *palTokens,
  LONG *plToken
);

Parameters

pName

[in] Named resource group.

cResource

[in] Number of resources in the group.

palTokens

[in, size_is(cResource)] Pointer to an array of resources in the group.

plToken

[out] Pointer to the returned group resource identifier.

Return Value

Returns an HRESULT value that depends on the implementation. HRESULT can be one of the following standard constants, or other values not listed.

Return code Description
E_FAIL Failure.
E_POINTER Null pointer argument.
E_INVALIDARG Invalid argument.
E_NOTIMPL Method isn't supported.
S_OK or NOERROR Success.

See Also