Windows Dev Center

IMbnVendorSpecificOperation::SetVendorSpecific method

Sends a request to the underlying Mobile Broadband device miniport driver.


HRESULT SetVendorSpecific(
  [in]  SAFEARRAY(BYTE) vendorSpecificData,
  [out] ULONG           *requestID


vendorSpecificData [in]

A byte array that is passed in to the miniport driver.

requestID [out]

A unique request ID assigned by the Mobile Broadband service to identify this request.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


SetVendorSpecific exists to implement vendor-specific functionality which is not otherwise covered in the Mobile Broadband API.

The Mobile Broadband service will issue a SET OID request to the underlying miniport driver for OID_WWAN_VENDOR_SPECIFIC OID. VendorspecificData will be copied byte by byte into the data buffer passed in the OID request.

This is an asynchronous operation and SetVendorSpecific will return immediately. On completion of the operation, the Mobile Broadband service will call the OnSetVendorSpecificComplete method of the IMbnVendorSpecificEvents interface.

Refer to the Mobile Broadband Driver Model for more information about vendor specific operations.


Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported



See also




Community Additions

© 2015 Microsoft