次の方法で共有


mciGetCreatorTask function

The mciGetCreatorTask function retrieves a handle to the creator task for the specified device.

Syntax

HANDLE mciGetCreatorTask(
   MCIDEVICEID IDDevice
);

Parameters

  • IDDevice
    Device for which the creator task is returned.

Return value

Returns the handle of the creator task responsible for opening the device if successful. If the device identifier is invalid, the return value is NULL.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

Library

Winmm.lib

DLL

Winmm.dll

See also

MCI

MCI Functions