跳轉到主要內容
取得實體的 PFEntityKey。

語法

參數

entityHandle PFEntityHandle 從驗證呼叫傳回的 PFEntityHandle。 bufferSize size_t PFEntityKey 的緩衝區大小。所需大小可從 PFEntityGetEntityKeySize 取得。 buffer void*
*Out_writes_bytes_to(bufferSize,bufferUsed)
用於 PFEntityKey 及其欄位的位元組緩衝區。 entityKey PFEntityKey**
library-allocated output
待定 bufferUsed size_t*
optional output
所提供緩衝區中已使用的位元組數目。

傳回值

類型:HRESULT 此 API 作業的結果代碼。

備註

entityKey 是緩衝區內的指標,不需要另外釋放。

需求

標頭: PFEntity.h

另請參閱

PFEntity 成員
最後修改於 2026年10月6日