<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLook",
  "identifier" : "/documentation/QuickLook/QLGeneratorInterfaceStruct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Quick Look"
    ],
    "preciseIdentifier" : "c:@SA@QLGeneratorInterfaceStruct"
  },
  "title" : "QLGeneratorInterfaceStruct"
}
-->

# QLGeneratorInterfaceStruct

An opaque reference that provides callbacks that the platform uses to interface with a Quick Look plug-in.

```
struct QLGeneratorInterfaceStruct
```

## Topics

### Creating a Quick Look Plug-In

[`init()`](/documentation/QuickLook/QLGeneratorInterfaceStruct/init())

Creates the interface structure that the platform uses to interface with a Quick Look plug-in.

[`QueryInterface`](/documentation/QuickLook/QLGeneratorInterfaceStruct/QueryInterface)

[`AddRef`](/documentation/QuickLook/QLGeneratorInterfaceStruct/AddRef)

[`Release`](/documentation/QuickLook/QLGeneratorInterfaceStruct/Release)

[`GenerateThumbnailForURL`](/documentation/QuickLook/QLGeneratorInterfaceStruct/GenerateThumbnailForURL)

[`CancelThumbnailGeneration`](/documentation/QuickLook/QLGeneratorInterfaceStruct/CancelThumbnailGeneration)

[`GeneratePreviewForURL`](/documentation/QuickLook/QLGeneratorInterfaceStruct/GeneratePreviewForURL)

[`CancelPreviewGeneration`](/documentation/QuickLook/QLGeneratorInterfaceStruct/CancelPreviewGeneration)

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)