initWithDescriptorType:bytes:length:
デスクリプタタイプでアップルイベントデスクリプタを初期化して返します
-(id)initWithDescriptorType:(DescType )descriptorType: bytes:(const void *)descriptorType: length:(unsigned int) byteCount:
解説
デスクリプタタイプでアップルイベントデスクリプタを初期化して返します。
返り値
( id )
オブジェクト()
引数
( DescType )descriptorType
デスクリプタタイプ
( const void * )descriptorType
( unsigned int ) byteCount
フレームワーク
Foundation
クラス
NSAppleEventDescriptor
Instance Methods
使用可能
10.2
参照
例文
//ターゲットを作る NSAppleEventDescriptor* targetDesc = [[NSAppleEventDescriptor alloc] initWithDescriptorType: typeProcessSerialNumber bytes: &systemPsn length: sizeof(systemPsn) ];