ADLINK PCIe-2602 User Manual
Page 80
Advertising
70
DirectShow Programming Guide
EXAMPLE #01: Retrieves all DO status
ULONG State;
DWORD dwReturn;
m_pKsPropertySet->Get( PROPSETID_AVS260X_CUSTOM,
CUSTOM_PROPERTY_XET_DO,
NULL, 0,
&State, sizeof(ULONG), &dwReturn);
EXAMPLE #02: Sets all DO status
ULONG State = 0xF; // = all DOs output high
m_pKsPropertySet->Set( PROPSETID_AVS260X_CUSTOM,
CUSTOM_PROPERTY_XET_DO,
NULL, 0,
&State, sizeof(ULONG);
12.CUSTOM_PROPERTY_GET_DI
The property retrieves all DI status, with supported values of
each bit (bit 0 to bit 4):
0: low
1: high
EXAMPLE: Retrieves all DI status
ULONG State;
DWORD dwReturn;
m_pKsPropertySet->Get( PROPSETID_AVS260X_CUSTOM,
CUSTOM_PROPERTY_GET_DI,
NULL, 0,
&State, sizeof(ULONG), &dwReturn);
13.CUSTOM_PROPERTY_GET_OVERFLOW_COUNTER
Advertising