The UDI Wizard uses interfaces to access the different controls on your page. Within you page, you use the GetControlWrapper function to retrieve a control wrapper. Here is an example:

PStaticText pFormat;

GetControlWrapper(View(), IDC_CHECK_PARTITION, CONTROL_STATIC_TEXT, &pFormat);

Here, PStaticText is a smart pointer to the IStaticText interface. Smart pointers automatically call the COM Release() method when they go out of scope or you pass the address of a variable (like &pFormat) to a method.

Related Topics

UDI Wizard Reference
IADHelper Interface
IBackgroundTask Interface
ICheckBox Interface
IComboBox Interface
IControl Interface
ICpuInfo Interface
IDomainJoinValidator Interface
IDriveList Interface
IImageList Interface
IListView Interface
IProgressBar Interface
IRadioButton Interface
IStaticText Interface
ITask Interface
ITreeView Interface
IWmiIteration Interface
IWmiRepository Interface
IFormController Interface
IValidator Interface
IRegEx Interface
ISummaryInfo Interface
ISummaryBag
ITSVariableBag Interface
ITSVariableRepository Interface
IWizardFinish Interface
IBindableList Interface
IDataNodes Interface
IFactoryRegistry Interface
ILogger Interface
IOrientation Interface
ISettings Interface
ISettingsProperties Interface
ISimpleStringProperties Interface
ITaskManager Interface
IWizardComponent Interface
IWizardDialogController Interface
IWizardDialogView Interface
IWizardPage Interface
IWizardPageContainer Interface
IWizardPageView Interface
IXmlDocument Interface