IDebugClient5::GetQuitLockString method

Gets a quit lock string.

Syntax

HRESULT GetQuitLockString(
  PSTR   Buffer,
  ULONG  BufferSize,
  PULONG StringSize
);

Parameters

Buffer

The buffer in which to write the string.

BufferSize

The size of the buffer.

StringSize

A pointer to the string size.

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

A quit lock string provides control to lock the session against undesired quits.

The quit lock string cannot be retrieved from a secure session.

Requirements

   
Target Platform Windows
Header dbgeng.h (include Dbgeng.h)

See Also

IDebugClient5