LispWorks COM/Automation User Guide and Reference Manual

NextPrevTopContents

Index

A

accessor functions

lisp-variant-type 114

lisp-variant-value 114

ActiveX controls ix

add-ref function 3 , 27

C

call-com-interface macro 4 , 28

call-com-object macro 15 , 24 , 29

call-dispatch-get-property macro 87

call-dispatch-method macro 89

call-dispatch-put-property macro 90

Calling

Automation methods

using a type library 79

without using a type library 80

COM interface methods 4

COM object methods 24

check-hresult macro 31

class options

:coclass 98

:dont-implement 43

:extra-interfaces 99

:inherit-from 43

:interface 96

:interfaces 42 , 98

:item-method 96

:source-interfaces 99

classes

com-error 34

com-interface 35

com-object 37

simple-i-dispatch 128

standard-automation-collection 130

standard-i-connection-point-container 133

standard-i-dispatch 134

standard-i-unknown 64

:coclass class option 98

co-initialize function 14 , 31

collections

implementing 85

using 82

COM interface types

i-dispatch 111

i-unknown 50

com-error class 34

com-error-function-name function 35

com-error-hresult function 35

com-interface class 4 , 35 , 80

com-interface-refguid function 36

com-object class 37

com-object-destructor function 16 , 37

com-object-dispinterface-invoke generic function 92

com-object-from-pointer function 38

com-object-initialize function 16 , 39

com-object-query-interface function 40

compiling IDL files 1

connection points

implementing 85

using 82

CoTaskMemAlloc 33

co-task-mem-alloc function 10 , 32

CoTaskMemFree 34

co-task-mem-free function 8 , 10 , 33

co-uninitialize function 34

:count-function initarg 131

create-instance function 40

create-instance-with-events function 93

create-object function 94

D

:data-function initarg 131

define-automation-collection macro 95

define-automation-component macro 97

define-com-implementation macro 14 , 42

define-com-method macro 14 , 44

define-dispinterface-method macro 100

defsystem member types

:midl-file 56

:midl-type-library-file 119

destruction 16

discard-connection function 105

disconnect-standard-sink function 102

dispinterface 78 , 84 , 87 , 89 , 90 , 92 , 100 , 137

do-collection-items macro 103

do-connections macro 104

:dont-implement class option 43

dual interface 78 , 83

E

editor commands

Function Arglist 145

Insert GUID 145

environment variables

INCLUDE 55

errors

handling in Automation 83

handling in COM 12

reporting 85

events

see connection-points

:extra-interfaces class option 99

F

find-clsid function 47

find-component-tlb function 105

find-component-value function 107

FLI types

hresult 49

refguid 59

refiid 60

Function Arglist editor command 145

:function-name initarg 34

functions

add-ref 27

co-initialize 14 , 31

com-error-function-name 35

com-error-hresult 35

com-interface-refguid 36

com-object-destructor 16 , 37

com-object-from-pointer 38

com-object-initialize 16 , 39

com-object-query-interface 40

co-task-mem-alloc 10 , 32

co-task-mem-free 8 , 10 , 33

co-uninitialize 34

create-instance 40

create-instance-with-events 93

create-object 94

discard-connection 105

disconnect-standard-sink 102

find-clsid 47

find-component-tlb 105

find-component-value 107

get-error-info 108

get-i-dispatch-name 109

get-i-dispatch-source-names 110

guid-equal 48

guid-to-string 48

hresult-equal 50

interface-connect 111 , 112

invoke-dispatch-get-property 114

invoke-dispatch-method 115

invoke-dispatch-put-property 117

make-factory-entry 14 , 16 , 52

make-guid-from-string 53

make-lisp-variant 118

midl 2 , 54

query-interface 57

query-simple-i-dispatch-interface 120

refguid-interface-name 59

register-class-factory-entry 14 , 16 , 61

register-server 61

release 63

set-error-info 121

set-i-dispatch-event-handler 123

set-variant 125

start-factories 14 , 16 , 66

unregister-server 67

G

Garbage collection 16

generic functions

com-object-dispinterface-invoke 92

simple-i-dispatch-callback-object 129

get-error-info function 12 , 108

get-i-dispatch-name function 109

get-i-dispatch-source-names function 110

guid-equal function 48

guid-to-string function 48

H

hresult FLI type 49

:hresult initarg 34

hresult-equal function 50

I

i-dispatch COM interface type 111

IDL

compiling 1

iid_is attribute 8

in parameters 5 , 21 , 24 , 81

INCLUDE environment variable 55

:inherit-from class option 43

initialization

CLOS object 15

COM object 15

in-out parameters 10 , 23 , 25 , 81

Insert GUID editor command 145

:interface class option 96

interface-connect function 111 , 112

:interface-name initarg 128

interface-ref macro 51

:interfaces class option 42 , 98

:invoke-callback initarg 128

invoke-dispatch-get-property function 114

invoke-dispatch-method function 115

invoke-dispatch-put-property function 117

:item-generator-function initarg 131

:item-lookup-function initarg 131

:item-method class option 96

:items-function initarg 131

i-unknown COM interface type 50

L

lisp-variant type 114

lisp-variant-type accessor function 114

lisp-variant-value accessor function 114

M

macros

call-com-interface 28

call-com-object 15 , 29

call-dispatch-get-property 87

call-dispatch-method 89

call-dispatch-put-property 90

check-hresult 31

define-automation-collection 95

define-automation-component 97

define-com-implemenrtation 14 , 42

define-com-method 14 , 44

define-dispinterface-method 100

do-collection-items 103

do-connections 104

interface-ref 51

query-object-interface 15 , 58

s_ok 63

succeeded 67

with-com-interface 69 , 135

with-com-object 70

with-dispatch-interface 137

with-query-interface 73

with-temp-interface 72

make-factory-entry function 14 , 16 , 52

make-guid-from-string function 53

make-lisp-variant function 118

making a COM DLL 2

midl function 2 , 54

midl.exe 2 , 5 , 20

:midl-file defsystem member type 56

:midl-type-library-file defsystem member type 119

modules

automation 77

com 1 , 77

N

name mapping 3

O

OLE ix

out parameters 7 , 22 , 25 , 81

:outer-unknown initarg 64

P

parameter direction

in 5 , 21 , 24 , 81

in-out 10 , 23 , 25 , 81

out 7 , 22 , 25 , 81

Primitive types 5 , 20

propget attribute 3

propgput attribute 3

propgputref attribute 3

Q

query-interface function 4 , 57

query-object-interface macro 15 , 58

query-simple-i-dispatch-interface function 120

R

refguid FLI type 59

refguid-interface-name function 59

refiid FLI type 4 , 60

register-class-factory-entry function 14 , 16 , 61

register-server function 61

registry

component values 107

guid 47

ProgID 47

type library versions 105

release function 3 , 63

retval attribute 81

S

s_ok macro 63

set-error-info function 46 , 86 , 121

set-i-dispatch-event-handler function 123

set-variant function 125

simple-i-dispatch class 128

simple-i-dispatch-callback-object generic function 129

size_is attribute 6 , 8 , 10 , 21 , 22 , 23 , 24 , 25

source attribute 99

source interfaces 85

:source-interfaces class option 99

standard-automation-collection class 130

standard-i-connection-point-container class 133

standard-i-dispatch class 134

standard-i-unknown class 64

start-factories function 14 , 16 , 66

string attribute 6 , 7 , 10 , 21 , 22 , 23 , 24 , 25

succeeded macro 67

T

tools

COM Implementation Browser 139

COM Interface Browser 144

COM Object Browser 143

type libraries 77

types

lisp-variant 114

U

unregister-server function 67

W

Windows registry 47 , 105 , 107

with-com-interface macro 4 , 69 , 135

with-com-object macro 24 , 70

with-dispatch-interface macro 137

with-query-interface macro 4 , 73

with-temp-interface macro 4 , 72


LispWorks COM/Automation User Guide and Reference Manual - 22 Dec 2009

NextPrevTopContents