public int CheckInterfaceSupport(ref GUID InterfaceName, ref LARGE_INTEGER pUMDVersion) { if (m_CheckInterfaceSupportFunc == null) { var fp = GetFunctionPointer(9); m_CheckInterfaceSupportFunc = (CheckInterfaceSupportFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CheckInterfaceSupportFunc)); } return(m_CheckInterfaceSupportFunc(m_ptr, ref InterfaceName, ref pUMDVersion)); }
public int Seek(LARGE_INTEGER dlibMove, uint dwOrigin, ref ULARGE_INTEGER plibNewPosition) { if (m_SeekFunc == null) { var fp = GetFunctionPointer(5); m_SeekFunc = (SeekFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SeekFunc)); } return(m_SeekFunc(m_ptr, dlibMove, dwOrigin, ref plibNewPosition)); }