Lines Matching refs:hsdkA
64 btk_Status btk_DCR_create( btk_HSDK hsdkA, in btk_DCR_create() argument
72 if( hsdkA == NULL ) return btk_STATUS_INVALID_HANDLE; in btk_DCR_create()
73 if( hsdkA->hidE != btk_HID_SDK ) return btk_STATUS_INVALID_HANDLE; in btk_DCR_create()
75 if( bbs_Context_error( &hsdkA->contextE ) ) return btk_STATUS_PREEXISTING_ERROR; in btk_DCR_create()
77 …hdcrL = ( btk_HDCR )bbs_MemSeg_alloc( &hsdkA->contextE, hsdkA->contextE.memTblE.espArrE[ 0 ], bbs_… in btk_DCR_create()
78 if( bbs_Context_error( &hsdkA->contextE ) ) return btk_STATUS_ERROR; in btk_DCR_create()
80 btk_DCR_init( &hsdkA->contextE, hdcrL ); in btk_DCR_create()
81 hdcrL->hsdkE = hsdkA; in btk_DCR_create()
83 if( bbs_Context_error( &hsdkA->contextE ) ) return btk_STATUS_ERROR; in btk_DCR_create()
85 bpi_DCR_create( &hsdkA->contextE, in btk_DCR_create()
87 hsdkA->maxImageWidthE, in btk_DCR_create()
88 hsdkA->maxImageHeightE, in btk_DCR_create()
94 &hsdkA->contextE.memTblE ); in btk_DCR_create()
96 if( bbs_Context_error( &hsdkA->contextE ) ) return btk_STATUS_ERROR; in btk_DCR_create()
99 hsdkA->refCtrE++; in btk_DCR_create()