# IRsCmdRequest Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | InitByString ([in] LPCWSTR szCommand)
HRESULT | InitByObject ([in] IRsNode *pCmd)
HRESULT | Process ()
HRESULT | GetCommandObject ([out, retval] IRsNode **ppCmd)

## Detailed Description

Request for command execution.
Can be initialized either by script-based command line or by command object.

## Member Function Documentation

HRESULT IRsCmdRequest::InitByString | ( | [in] LPCWSTR | szCommand | ) |

Parameters:

  | szCommand | [in] .

HRESULT IRsCmdRequest::InitByObject | ( | [in] IRsNode * | pCmd | ) |

Parameters:

  | pCmd | [in] .

HRESULT IRsCmdRequest::Process | ( |  | ) |

Process

HRESULT IRsCmdRequest::GetCommandObject | ( | [out, retval] IRsNode ** | ppCmd | ) |

Returns:
  ppCmd [out,retval] .