Releases all the resources and performs any necessary cleanup.
HRESULT STDMETHODCALLTYPE CloseInput(IN VARIANT_BOOL bAbort);
CloseInput(bAbort);
C++ example:
HRESULT CProcessesInputContext::CloseInput( IN VARIANT_BOOL bAbort ) { // Close the snapshot handle if( m_hSnapshot != INVALID_HANDLE_VALUE ) { CloseHandle( m_hSnapshot ); m_hSnapshot = INVALID_HANDLE_VALUE; } return S_OK; }VBScript example:
Function CloseInput(bAbort) m_objQFEArray = Array() End Function
© 2004 Microsoft Corporation. All rights reserved.