Windows Dev Center

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.

MetaDataGetDispenser function

Creates a dispenser class.

Syntax


HRESULT WINAPI MetaDataGetDispenser(
  _In_  REFCLSID rclsid,
  _In_  REFIID   riid,
  _Out_ LPVOID   *ppv
);

Parameters

rclsid [in]

Type: REFCLSID

This parameter must be CLSID_CorMetaDataDispenser.

riid [in]

Type: REFIID

The interface to implement. This parameter can be either IID_IMetaDataDispenser or IID_IMetaDataDispenserEx.

ppv [out]

Type: LPVOID*

The dispenser class. The class implements IMetaDataDispenser or IMetaDataDispenserEx.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Rometadata.h

Library

Rometadata.lib

DLL

Rometadata.dll

 

 

Community Additions

Show:
© 2015 Microsoft