共用方式為


HCMockClearMocks

Removes and cleans up all mock calls added by HCMockAddMock.

Syntax

HRESULT HCMockClearMocks(  
)  

Parameters

Return value

Type: HRESULT

Result code for this API operation. Possible values are S_OK, or E_FAIL.

Requirements

Header: mock.h

Library: libHttpClient.GDK.lib

See also

mock