DrtClose function (drt.h)

The DrtClose function closes the local instance of the DRT.

Syntax

void DrtClose(
  [in] HDRT hDrt
);

Parameters

[in] hDrt

Handle to the DRT instance.

Return value

This function returns S_OK on success. Other possible values include:

Return code Description
E_HANDLE
The hDrt handle is invalid.

Requirements

Requirement Value
Minimum supported client Windows 7 Professional [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header drt.h
Library Drt.lib
DLL Drt.dll

See also

DrtOpen