ISimpleCommandCreator::CreateICommand method (indexsrv.h)

Creates an ICommand.

Syntax

HRESULT CreateICommand(
  IUnknown **ppIUnknown,
  IUnknown *pOuterUnk
);

Parameters

ppIUnknown

Returns the IUnknown for the command.

pOuterUnk

Optional outer unknown pointer.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header indexsrv.h
Redistributable Windows NT 4.0 Option Pack

See also

ISimpleCommandCreator