@node-ctypes/winrt - v0.1.0
    Preparing search index...

    Function queryWinRTArgPointer

    • Resolve a WinRT object / COM pointer argument to the exact COM interface IID expected by the callee's ABI slot. Fast-paths when the pointer already holds the expected IID; otherwise performs QueryInterface and returns an owned pointer that the caller must release in finally.

      Parameters

      • value: bigint | COMPointer<InterfaceDef<{}, {}>> | WinRTObject | null | undefined
      • expectedIid: string

      Returns MarshalledWinRTPointer