build/gpf-debug.js
function _gpfInterfaceQueryThroughIUnknown(interfaceSpecifier, queriedObject) {
        var result = queriedObject.queryInterface(interfaceSpecifier);
        _gpfAssert(result === null || _gpfInterfaceIsImplementedBy(interfaceSpecifier, result), "Invalid result of queryInterface (must be null or an object implementing the interface)");
        return result;
    }
function _gpfInterfaceQueryThroughIUnknown(interfaceSpecifier, queriedObject) {
        var result = queriedObject.queryInterface(interfaceSpecifier);
        _gpfAssert(result === null || _gpfInterfaceIsImplementedBy(interfaceSpecifier, result), "Invalid result of queryInterface (must be null or an object implementing the interface)");
        return result;
    }
function _gpfInterfaceQueryThroughIUnknown ( interfaceSpecifier , queriedObject ) { var result = queriedObject . queryInterface ( interfaceSpecifier ) ; _gpfAssert ( result === null || _gpfInterfaceIsImplementedBy ( interfaceSpecifier , result ) , "Invalid result of queryInterface (must be null or an object implementing the interface)" ) ; return result ; }
Retrieve an object implementing the expected interface from an object using the IUnknown interface

@param {Function} interfaceSpecifier Reference interface
@param {Object} queriedObject Object to query
@return {Object|null} Object implementing the interface or null
@since 0.1.8
Retrieve an object implementing the expected interface from an object using the IUnknown interface