Επεξεργασία

Κοινή χρήση μέσω


CItemIDFactory::SetItemAlloc method (shidfact.h)

Provides the CItemIDFactory an IMalloc interface used to allocate and free item IDs.

Syntax

IFACEMETHODIMP SetItemAlloc(
  [in, out] IMalloc *pmalloc
);

Parameters

[in, out] pmalloc

A pointer to an IMalloc interface.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shidfact.h

See also

CItemIDFactory

IDelegateFolder