Platform SDK: Certificate Enrollment Control

ICEnroll3::Reset [C++]

CEnroll.Reset [Visual Basic]

The Reset method returns the CEnroll3 object to its initial state.

[Visual Basic]
objEnroll.Reset()
[C++]
HRESULT Reset();

Parameters [Visual Basic]

[Visual Basic] objEnroll
Object expression that resolves to a CEnroll object.

Return Values

[Visual Basic] None.

[C++] The return value is an HRESULT. A value of S_OK indicates success.

Remarks

The Reset method is provided to return the ICEnroll3 control to its initial state and thereby allow reuse of the control.

Example Code [C++]

HRESULT    hr;

// Reset the control.
hr = pEnroll3->Reset();
if (FAILED(hr))
    printf("Failed Reset [%x]\n", hr);

Example Code [Visual Basic]

'  Reset the control.
objXen.Reset

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Xenroll.h.
  Library: Use Uuid.lib.

See Also

ICEnroll3