ReferenceTcpDriverV6 function

Obtains a reference to a TCP v6 driver object.

Syntax

NTSTATUS WINAPI ReferenceTcpDriverV6(
  _Out_ PDRIVER_OBJECT *ppDriverObject
);

Parameters

ppDriverObject [out]

A pointer to a DRIVER_OBJECT structure. For more information, see the documentation for the WDK.

Return value

If the function succeeds, it returns STATUS_SUCCESS. If it fails, it will return the appropriate status code.

Remarks

This function can be called only from kernel mode. The caller must decrement the reference count by calling the ObDereferenceObject function when it has finished with the object.

Requirements

Requirement Value
Library
Drvref.lib

See also

ReferenceTcpDriver