[声明]
Declare Sub CreateClassMoniker Lib "ole32.dll" (ByVal rclsid As Long, ByVal ppmk As Long)
[说明]
Creates a class moniker that refers to the given class.
[参数表]
rclsid
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.