Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Retrieves the data for one of the object's members or the data for all members. Deprecated.
Syntax
HRESULT GetData(
[in] LPCSTR szMember,
[out] DWORD *pcbSize,
[out] void **ppvData
);
Parameters
-
szMember [in]
-
Type: LPCSTR
Pointer to the name of the member for which to retrieve data. Specify NULL to retrieve all required members' data.
-
pcbSize [out]
-
Type: DWORD*
Pointer to receive the ppvData buffer size, in bytes.
-
ppvData [out]
-
Type: void**
Address of a pointer to the buffer to receive the data associated with szMember. If szMember is NULL, ppvData is set to point to a buffer containing all required members' data in a contiguous block of memory.
Return value
Type: HRESULT
If the method succeeds, the return value is DXFILE_OK. If the method fails, the return value can be one of the following values: DXFILEERR_BADARRAYSIZE, DXFILEERR_BADDataReference, DXFILEERR_BADVALUE.
Remarks
This method retrieves the data for required members of a data object but no data for optional (child) members. Use IDirectXFileData::GetNextObject to retrieve child objects.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also