mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
692 B
41 lines
692 B
#include "procs.hxx"
|
|
#pragma hdrstop
|
|
#include "oleds.hxx"
|
|
|
|
|
|
//+---------------------------------------------------------------------------
|
|
//
|
|
// Function: CPathnameCF::CreateInstance
|
|
//
|
|
// Synopsis:
|
|
//
|
|
// Arguments: [pUnkOuter]
|
|
// [iid]
|
|
// [ppv]
|
|
//
|
|
// Returns: HRESULT
|
|
//
|
|
// Modifies:
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
STDMETHODIMP
|
|
CPathnameCF::CreateInstance(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv)
|
|
{
|
|
HRESULT hr = E_FAIL;
|
|
|
|
if (pUnkOuter)
|
|
RRETURN(E_FAIL);
|
|
|
|
|
|
hr = CPathname::CreatePathname(
|
|
iid,
|
|
ppv
|
|
);
|
|
|
|
RRETURN(hr);
|
|
}
|
|
|
|
|
|
|
|
|
|
|