wmpcdromcollection.cpp
上传用户:zbtianhong
上传日期:2022-07-12
资源大小:3707k
文件大小:1k
源码类别:
多媒体编程
开发平台:
Visual C++
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- #include "stdafx.h"
- #include "wmpcdromcollection.h"
- // Dispatch interfaces referenced by this interface
- #include "WMPCdrom.h"
- /////////////////////////////////////////////////////////////////////////////
- // CWMPCdromCollection properties
- /////////////////////////////////////////////////////////////////////////////
- // CWMPCdromCollection operations
- long CWMPCdromCollection::GetCount()
- {
- long result;
- InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- CWMPCdrom CWMPCdromCollection::Item(long lIndex)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x12e, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
- lIndex);
- return CWMPCdrom(pDispatch);
- }
- CWMPCdrom CWMPCdromCollection::getByDriveSpecifier(LPCTSTR bstrDriveSpecifier)
- {
- LPDISPATCH pDispatch;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x12f, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
- bstrDriveSpecifier);
- return CWMPCdrom(pDispatch);
- }