ITileRequest::RequestBufferTileAsync method

Requests to get the raw contents of a tile.

Syntax

HRESULT RequestBufferTileAsync(
   EventID                     eventID,
   DWORD                       RequestedDataUID,
   BSTR                        File,
   UINT                        tileIndex,
   IBufferObjectDataCallback * requestCallback,
   DWORD                       requestCookie,
   DWORD                       progressIntervalMsecs
);

Parameters

eventID
The specified event to match the tile's content to (for example, a render target could change over time).

RequestedDataUID
The address of the specified tile.

File
A COM string that contains the pathname of the file where results are written.

tileIndex
The index of the specified tile.

requestCallback
The address of callback used to notify the host of results.

requestCookie
A cookie that uniquely identifies the request, and can be used to signal for it to be cancelled.

progressIntervalMsecs
Not used.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

ITileRequest