GetBlob
Description
Returns a pointer to the data buffer for a blob.
Syntax
|
1 |
GetBlob(pbblob bin) |
|
Argument |
Description |
|---|---|
|
bin |
A pointer to the source buffer |
Return value
void*.
Examples
In this CASE clause, the value returned from GetBlob is cast to
the LPCTSTR variable pStr. If it is not null, the return value in the
PBCallInfo structure is set to the value of the blob:
|
1 2 3 4 5 6 7 8 9 10 |
case pbvalue_blob: pStr = (LPCTSTR)Session-> GetBlob(retVal.blob_val); if (strncmp(pStr, "null", 4)==0 ) ci -> returnValue ->SetToNull(); else { ci -> returnValue->SetBlob(retVal.blob_val); Session -> ReleaseValue(retVal); } break; |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest