Bewerken

Delen via


PFNQUERYREFERENCESTRING callback function (swenum.h)

This routine creates a buffer from the paged pool and copies the reference string associated with the PDO into this buffer. It is the caller's responsibility to free the buffer using ExFreePool.

Syntax

PFNQUERYREFERENCESTRING Pfnqueryreferencestring;

NTSTATUS Pfnqueryreferencestring(
  [in]      PVOID Context,
  [in, out] PWCHAR *String
)
{...}

Parameters

[in] Context

Pointer to a device extension of the device's PDO.

[in, out] String

Pointer to a string containing the reference string associated with the PDO.

Return value

None.

Remarks

The driver can access this method through the QueryReferenceString member of the BUS_INTERFACE_REFERENCE structure.

Requirements

Requirement Value
Target Platform Desktop
Header swenum.h (include Ks.h, Swenum.h)