Download StreamStor User Manual

Transcript
C H A P T E R
4
:
S O F T W A R E
D E V E L O P M E N T
K I T
( S D K )
XLRGetSystemAddr
Syntax:
ULONG XLRGetSystemAddr( SSHANDLE xlrDevice )
Description:
XLRGetSystemAddr returns the kernel address of the recording data window. This address
can be used from device drivers or other kernel level software. The address returned from this
function is NOT a valid user address.
Parameters:
•
xlrDevice is the device handle returned from a previous call to XLROpen.
Return Value:
This function returns the physical PCI address as a 32 bit unsigned integer.
Usage:
ULONG
SSHANDLE
XLR_RETURN_CODE
xlrAddress;
xlrDevice;
xlrStatus;
xlrStatus = XLROpen( 1, &xlrDevice );
if( xlrStatus != XLR_SUCCESS )
{
// Error opening FPDP Digital I/O Board
}
else
{
xlrAddress = XLRGetSystemAddr( xlrDevice );
}
46