MUMS API CUEL IMAN MLIM 2010/11/18. CUEL Module Function Description – This function allows the caller to request that the module name be added to the.

Slides:



Advertisements
Similar presentations
Symbol Table.
Advertisements

© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 12 – Security Panel Application Introducing.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Ch-11 Project Execution and Termination. System Testing This involves two different phases with two different outputs First phase is system test planning.
Module R2 CS450. Next Week R1 is due next Friday ▫Bring manuals in a binder - make sure to have a cover page with group number, module, and date. You.
Input and Output CS 215 Lecture #20.
LV2IDL, a software package for automatic data transfer between LabVIEW and IDL Gelu M. Nita New Jersey Institute of Technology.
Data Files Allow us to store information permanently, and access and alter information whenever necessary Types of data files –Stream-oriented (Standard)
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Files. System Calls for File System Accessing files –Open, read, write, lseek, close Creating files –Create, mknod.
Inter Process Communication:  It is an essential aspect of process management. By allowing processes to communicate with each other: 1.We can synchronize.
METU Department of Computer Eng Ceng 302 Introduction to DBMS Disk Storage, Basic File Structures, and Hashing by Pinar Senkul resources: mostly froom.
Physical design. Stage 6 - Physical Design Retrieve the target physical environment Create physical data design Create function component implementation.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 13 Disk Storage, Basic File Structures, and Hashing.
1 JMH Associates © 2004, All rights reserved Chapter 2-3 Supplement Registry Programming.
CICS Basic Commands COBOL programming statements.
1 I/O Management in Representative Operating Systems.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
The University of New Hampshire InterOperability Laboratory Serial ATA (SATA) Protocol Chapter 10 – Transport Layer.
I/O Systems ◦ Operating Systems ◦ CS550. Note:  Based on Operating Systems Concepts by Silberschatz, Galvin, and Gagne  Strongly recommended to read.
School of Engineering and Computer Science Victoria University of Wellington Copyright: Xiaoying Gao, Peter Andreae, VUW Indexing Large Data COMP
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Networking Nasrullah. Input stream Most clients will use input streams that read data from the file system (FileInputStream), the network (getInputStream()/getInputStream()),
Classes and objects Practice 2. Basic terms  Classifier is an element of the model, which specifies some general features for a set of objects. Features.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 11 Case Study 2: Windows Vista Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
Partners’ Webinar 10/25/2012 Karol Jarkovsky Solution Architect E-commerce Scenarios.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 17 Disk Storage, Basic File Structures, and Hashing.
How to Add WMI Interfaces to SCSIPort and Storport Miniports
University of Maryland parseThat: A Robust Arbitrary-Binary Tester for Dyninst Ray Chen.
Windows Object Manager CS Spring Overview The object paradigm NT Objects and the Object Manager Object Structure Object Naming Object Handles.
Architecture Support for OS CSCI 444/544 Operating Systems Fall 2008.
Chapter 4. INTERNAL REPRESENTATION OF FILES
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
Device Drivers CPU I/O Interface Device Driver DEVICECONTROL OPERATIONSDATA TRANSFER OPERATIONS Disk Seek to Sector, Track, Cyl. Seek Home Position.
Agilent Technologies Copyright 1999 H7211A+221 v Capture Filters, Logging, and Subnets: Module Objectives Create capture filters that control whether.
OS2014 PROJECT 2 Supplemental Information. Outline Sequence Diagram of Project 2 Kernel Modules Kernel Sockets Work Queues Synchronization.
QA and Testing. QA Activity Processes monitoring Standards compliance monitoring Software testing Infrastructure testing Documentation testing Usability.
File Structures. 2 Chapter - Objectives Disk Storage Devices Files of Records Operations on Files Unordered Files Ordered Files Hashed Files Dynamic and.
PHP Programming.
Unit 7 Number Systems and Bases Presentation 1Binary and Base 10 Presentation 2Adding Binary Numbers Presentation 3Subtracting Binary Numbers Presentation.
EMB432 Developing Bus Agnostic Drivers for Windows CE David G. Heil Chief Engineer Solutions Division CalAmp Corporation.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
4P13 Week 12 Talking Points Device Drivers 1.Auto-configuration and initialization routines 2.Routines for servicing I/O requests (the top half)
Android - SQLite Database 12/10/2015. Introduction SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with.
Prof. amr Goneid, AUC1 CSCE 110 PROGRAMMING FUNDAMENTALS WITH C++ Prof. Amr Goneid AUC Part 15. Dictionaries (1): A Key Table Class.
Device Driver Concepts Digital UNIX Internals II Device Driver Concepts Chapter 13.
The SPIM Trap Handler Syscall Trap handler services String operations File operations Memory allocation Central Connecticut State University, MIPS Tutorial.
1 CSC103: Introduction to Computer and Programming Lecture No 28.
1 CSC103: Introduction to Computer and Programming Lecture No 27.
File Systems - Part I CS Introduction to Operating Systems.
A FIRST BOOK OF C++ CHAPTER 14 THE STRING CLASS AND EXCEPTION HANDLING.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
THE EYESWEB PLATFORM - GDE The EyesWeb XMI multimodal platform GDE 5 March 2015.
Unity Application Generator How Can I… Exchange data between TWIDO PLC and any Unity PLC using UAG.
Chapter 5 Record Storage and Primary File Organizations
Unity Application Generator How Can I… Develop a Generic device which can communicate Over IO Scanner.
Single Linked Lists Objectives In this lesson, you will learn to: *Define single linked list *Identify the following types of linked lists: Single linked.
C Programming Day 2. 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/LA07/003 Version No. 1.0 Union –mechanism to create user defined data types.
MySQL Tutorial. Databases A database is a container that groups together a series of tables within a single structure Each database can contain 1 or more.
Introduction to GIS Programming Final Project Submitted by Todd Lenkin Geography 375 Spring of 2011 American River College.
Excel Tutorial 8 Developing an Excel Application
Mario Tayah and Jim Fawcett CSE 775 – Distributed Objects Spring 2007
Microprocessor and Assembly Language
Chapter 7 Text Input/Output Objectives
Chapter 7 Text Input/Output Objectives
Windows APIs File Processing Copyright © 2016 Curt Hill.
Files in Windows API David Halbig Lopez.
Unity Application Generator
Pre-assessment Questions
Mr. M. D. Jamadar Assistant Professor
Presentation transcript:

MUMS API CUEL IMAN MLIM 2010/11/18

CUEL Module Function Description – This function allows the caller to request that the module name be added to the registry as an event source, a custom event log with the specified name be created, and then a handle to the new event log be retrieved and returned. Parameter: – [in] SourceName–The name of the module requesting the new event log. – [in] LogName–Name of the new custom event log. – [in] CategoryFile–A pointer to a Category DLL file. – [in] EventFile–A pointer to a Event DLL file. – [in] LogContentInformation–A pointer to a structure or file on events to be recorded in the log. BOOL CUELCreateCustomEventLog(LPCWSTR SourceName, LPCWSTR LogName, LPCWSTR CategoryFile, LPCWSTR EventFile, PVOID LogContentInformation)

CUEL Module Function Description: – Retrieves a registered handle to the specified event log. Parameter: – [in] SourceName- The name of the event source whose handle is to be retrieved. The source name must be a subkey of a log under the Eventlog registry key. HANDLE CUELRegisterEventSource(LPCTSTR SourceName)

CUEL Module Function Description: – Closes a write handle to the specified event log. Parameter: – [in] EventLogHandle- A handle to the event log. This handle is returned by the CUELRegisterEventSource function. BOOL CUELDeregisterEventSource(HANDLE EventLogHandle)

CUEL Module Function Description: – Writes an entry at the end of the specified event log. Parameter: – [in] EventLogHandle- A handle to the event log. This handle is returnedby the CUELRegisterEventSource function. – [in] Type- The type of event to be logged. – [in] Category- The event category. This is source-specific information;the category can have any value. – [in] EventId- The event identifier. The event identifier specifies the entry in the message file associated with the event source. BOOL CUELReportEvent (HANDLE EventLogHandle, WORD Type, WORD Category, DWORD EventId, PSID UserSid, WORD NumberStrings, DWORD EventDataSize, LPCWSTR *StringsPointer, PVOID EventData)

CUEL Module – [in] UserSid- A pointer to the current user's security identifier. This parameter can be NULL if the security identifier is not required. – [in] NumberStrings- The number of insert strings in the array pointed to by the stringsPointer parameter. A value of zero indicates that no strings are present. – [in] EventDataSize- The number of bytes of event-specific raw (binary) data to write to the log. If this parameter is zero, no event-specific data is present. – [in] StringsPointer- A pointer to a buffer containing an array of null-terminated strings that are merged into the message before Event Viewer displays the string to the user. This parameter must be a valid pointer (or NULL), even if numberStrings is zero. Each string has a limit of 32K characters. – [in] EventData- A pointer to the buffer containing the binary data. This parameter must be a valid pointer (or NULL), even if the eventDataSize parameter is zero.

iMAN Module Function Description: – This function allows the caller to request a notification action of specified type to be carried out. Parameter: – [in] NotificationActionType –A notification action type. – [in] EnentHandle- The event that will be signaled while the asynchronous function is done – [in] ActionDescriptor –An action descriptor of the specified action type. – [in] IMANAsyncResult- The data block storing the result returned by IMAN Module BOOL iMANSendNotification(IMANNOTIFICATIONACTIONTYPES NoticationActionType, HANDLE EventHandle, PVOID ActionDescriptor, IMANASYNCRESULT* IMANAsyncResult );

MLIM Module Function Description: – This function allows the caller to open a specified type of container on smart cabinet. Parameter: – [in] EventHandle–The event that will be signaled while the asynchronous function is done – [in] MedicationID –The MedicationID that will be opened – [in] MLIMAsyncResult–The data block storing the result returned by MLIM Module BOOL MLIMOpenContainer( LPCTSTR MedicationID);

MLIM Module Function Description: – This function will be called when the smart cabinet is in medication preparation status. Parameter: – [in] EventHandle–The event that will be signaled while the asynchronous function is done – [in] MLIMAsyncResult–The data block storing the result returned by MLIM Module BOOL MLIMStartPrepareMedication(HANDLE EventHandle, MLIMASYNCRESULT* MLIMAsyncResult);

MLIM Module Function Description: – This function will be called when the smart cabinet is finished medication preparation. Parameter: – [in] EventHandle–The event that will be signaled while the asynchronous function is done – [in] MLIMAsyncResult–The data block storing the result returned by MLIM Module BOOL MLIMEndPrepareMedication(HANDLE EventHandle, MLIMASYNCRESULT* MLIMAsyncResult);

MLIM Module Function Description: – This function will be called when the smart cabinet is in medication preparation status and create a mapping table. Parameter: – [in] MedicationID–The MedicationID that will be mapped BOOL MLIMMapMedicationIDAndContainerID(LPCTSTR MedicationID);

MLIM Module Function Description: – This function allows the caller to check if the medication is in the smart cabinet or not. Parameter: – [in] MedicationID–The MedicationID that will be checked BOOL MLIMIsMedicationIDInCabinet(LPCTSTR MedicationID);