source: Include/objidl.sbp@ 150

Last change on this file since 150 was 1, checked in by (none), 17 years ago
File size: 2.5 KB
Line 
1#ifndef _INC_OBJIDL
2#define _INC_OBJIDL
3
4TypeDef SNB = **OLECHAR
5
6Class ISequentialStream
7 Inherits IUnknown
8Public
9 Abstract Function Read(pv As VoidPtr, cb As DWord, pcbRead As *DWord) As HRESULT
10 Abstract Function Write(pv As VoidPtr, cb As DWord, pcbWritten As *DWord) As HRESULT
11End Class
12
13Class IStream
14 Inherits ISequentialStream
15Public
16 Abstract Function Seek(dlibMove_LowPart As DWord, dlibMove_HighPart As Long, dwOrigin As DWord, plibNewPosition As *ULARGE_INTEGER) As HRESULT
17 Abstract Function SetSize(libNewSize_LowPart As DWord, libNewSize_HighPart As DWord) As HRESULT
18 Abstract Function CopyTo(pstm As *IStream, cb_LowPart As DWord, cb_HighPart As DWord, pcbRead As *ULARGE_INTEGER, pcbWritten As *ULARGE_INTEGER) As HRESULT
19 Abstract Function Commit(grfCommitFlags As DWord) As HRESULT
20 Abstract Function Revert() As HRESULT
21 Abstract Function LockRegion(libOffset_LowPart As DWord, libOffset_HighPart As DWord, cb_LowPart As DWord, cb_HighPart As DWord, dwLockType As DWord) As HRESULT
22 Abstract Function UnlockRegion(libOffset_LowPart As DWord, libOffset_HighPart As DWord, cb_LowPart As DWord, cb_HighPart As DWord, dwLockType As DWord) As HRESULT
23 Abstract Function Stat(pstatstg As *STATSTG, grfStatFlag As DWord) As HRESULT
24 Abstract Function Clone(ByRef ppstm As *IStream) As HRESULT
25End Class
26TypeDef LPSTREAM = *IStream
27
28Interface IMessageFilter
29 Inherits IUnknown
30End Interface
31
32Interface IStorage
33 Inherits IUnknown
34End Interface
35
36Interface ILockBytes
37 Inherits IUnknown
38End Interface
39
40Interface IFillLockBytes
41 Inherits IUnknown
42End Interface
43
44Interface IMoniker
45 Inherits IUnknown
46End Interface
47
48Interface IBindCtx
49 Inherits IUnknown
50End Interface
51
52Interface IRunningObjectTable
53 Inherits IUnknown
54End Interface
55
56Interface IDataAdviseHolder
57 Inherits IUnknown
58End Interface
59
60Class IMalloc
61 Inherits IUnknown
62Public
63 Abstract Function Alloc(cb As SIZE_T) As VoidPtr
64 Abstract Function Realloc(pv As VoidPtr, cb As SIZE_T) As VoidPtr
65 Abstract Sub Free(pv As VoidPtr)
66 Abstract Function GetSize(pv As VoidPtr) As SIZE_T
67 Abstract Function DidAlloc(pv As VoidPtr) As Long
68 Abstract Sub HeapMinimize()
69End Class
70
71Class BIND_OPTS
72Public
73 cbStruct As DWord
74 grfFlags As DWord
75 grfMode As DWord
76 dwTickCountDeadline As DWord
77End Class
78
79Class BIND_OPTS2
80 Inherits BIND_OPTS
81Public
82 dwTrackFlags As DWord
83 dwClassContext As DWord
84 locale As LCID
85 pServerInfo As *COSERVERINFO
86End Class
87
88
89#endif'_INC_OBJIDL
Note: See TracBrowser for help on using the repository browser.