Export (0) Print
Expand All
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.

CreateClassMoniker

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function creates a class moniker that refers to the given class.


WINOLEAPI CreateClassMoniker(
  REFCLSID rclsid,
  IMoniker** ppmk
);

rclsid

[in] Reference to the CLSID of the object type to which this moniker binds.

ppmk

[out] Address of IMoniker* pointer variable that receives the interface pointer to the new class moniker. On successful return, the function has called IUnknown::AddRef on the moniker and the caller is responsible for calling IUnknown::Release. When an error occurs, the value of the moniker pointer is NULL.

S_OK

The moniker has been created successfully.

E_INVALIDARG

One or more arguments are invalid.

The class moniker supports binding to a fresh instance of the class identified by the CLSID in rclsid.

To determine whether the platform supports this function, see Determining Supported COM APIs.

Headerobjbase.h
Libraryole32.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft