Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
GestaltTalk/GestaltTalk.h
#pragma once |
#include <Processes.h> |
#define gestaltTalkSelector 'GTLK' |
typedef enum { ginit, gstatus, gread, |
gwrite, gregister, gunregister, |
ggetapp, guserinit } gcmd; |
typedef struct { |
long buffCount; |
Ptr dataBuffer; |
long appRegistered; |
ProcessSerialNumber appPSN; |
} gtg, *gtp; |
typedef struct { |
gcmd command; |
long datalength; |
Ptr data; |
gtp gtData; |
} GestaltTalkPB; |
#define bufferSize (Size)(300) |
OSErr GestaltTalk(GestaltTalkPB *gpb); |
pascal OSErr GestaltTalkGestalt(long selector, long *resp); |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14