Microsoft DirectX 8.1 (C++)

IDirectXFileBinary::GetSize

Retrieves the size of the binary data.

HRESULT GetSize(
  DWORD* pcbSize
);

Parameters

pcbSize
[out, retval] Pointer to the returned size of the binary data, in bytes.

Return Values

If the method succeeds, the return value is DXFILE_OK.

If the method fails, the return value can be DXFILEERR_BADVALUE.

Requirements

  Header: Declared in Dxfile.h.
  Import Library: Use D3dxof.lib.