videoGetPortNum(3mms) — Subroutines
Name
videoGetPortNum --- Obtain current port number
Syntax
#include <mme/mme_api.h>
DWORD videoGetPortNum(HVIDEO hVideo)
Arguments
HVIDEO hVideo
Specifies a handle to a video device channel.
Description
The videoGetPortNum function obtains the current port number.
Extensions
The videoGetPortNum function is a Digital extension to the Microsoft multimedia API specification.
Return Values
Returns the current port number if the function is successful; otherwise, it returns one of the following error codes:
DV_ERR_INVALHANDLE@T{ The specified device handle is invalid. T} DV_ERR_NOTSUPPORTED@T{ The function is not supported. T}