Share via


WapClose (Compact 2013)

3/26/2014

This function closes an existing WAP handle.

Syntax

HRESULT WapClose(
  const WAP_HANDLE whHandle 
);

Parameters

  • whHandle
    [in] Identifies the WAP handle to close.

Return Value

Value

Description

S_OK

Indicates the function was successful.

E_INVALIDARG

Indicates one or more invalid arguments.

E_OUTOFMEMORY

Indicates an out of memory error.

E_UNEXPECTED

Indicates an unexpected failure.

E_FAIL

Indicates an unspecified failure.

Requirements

Header

wap.h

Library

Wap.lib

See Also

Reference

WAP Functions
WapOpen