## Virtual Device Driver Reference for OS/2

[prev][next][parent][TOC]

### VDHCreateSel - Parameters

LinearAddress (PVOID) Linear address of the beginning of the buffer.

BufferSize (ULONG) Size of the buffer in bytes. The expected range is 0- 65535 with 0 interpreted as 65536.

rc (SEL) - returns

Success If the function is successful, it returns a nonzero selector value such that SELECTOR:0 points to the first byte of the linear range.

Failure If BufferSize is greater than 65535 or if there are no more selectors available, a system halt occurs.