Mmfcreatepcidevice (C++) - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MmfCreatePciDevice (C++)

Generates the objects of the PCI Express device driver class.
unsigned long MmfCreatePciDevice(
unsigned long boardID,
MMC_DeviceDriver **deviceDriver
);
Detailed description
■Parameter
Argument
boardID [in]
deviceDriver [out]
■Return value
Value
MMC_OK
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_ALREADY_CREATED
MMERR_CREATE_OBJECT
MMERR_DEV_WIN_LOAD_LIBRARY
MMERR_DEV_WIN_GET_PROC_ADDRESS
MMERR_WIN_CREATE_SEMAPHORE
■Point
None.
■Supported version
API version
1.00
■Reference
None.
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
104
3.7 Object Generation Functions
Description
Board ID (0 to 3)
Pointer to the device driver class object pointer.
Description
Function succeeded
The argument is outside the set range.
The object of the same board ID has already been generated.
Failed to generate object.
An error occurred in the LoadLibrary function (Win32API). Call the GetLastError function of
Win32API and confirm the error details.
An error occurred in the GetProcAddress function (Win32API). Call the GetLastError function
of Win32API and confirm the error details.
An error occurred in the CreateSemaphore function (Win32API). Call the GetLastError
function of Win32API and confirm the error details.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents