Windows hardware
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMbnDeviceService::OpenCommandSession method

Opens a command session to a device service on a Mobile Broadband device.

Syntax


HRESULT OpenCommandSession(
  [out] ULONG *requestID
);

Parameters

requestID [out]

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

Return value

The method can return one of the following values.

Return codeDescription
S_OK

The method completed successfully.

E_ACCESSDENIED

This device service command is not allowed for calling process privileges.

Other

An error was encountered when executing this method.

 

Remarks

OpenCommandSession allows an application to open a command session to a the device service on the mobile broadband device.

This is an asynchronous operation and OpenCommandSession will return immediately. On completion of the operation, the Mobile Broadband service will call the OnOpenCommandSessionComplete method of the IMbnDeviceServicesEvents interface.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnDeviceService

 

 

Community Additions

Show:
© 2016 Microsoft