Click here to Skip to main content
15,896,336 members
Articles / Desktop Programming / Win32

Windows Live Messenger Plug-in Development Bible

Rate me:
Please Sign up or sign in to vote.
4.98/5 (56 votes)
3 Nov 2008GPL356 min read 192.9K   2.6K   178  
An article explaining several Win32 reverse engineering techniques applied to Live Messenger research and plug-in development.
/*
*
*  This file is
*    Copyright (C) 2006-2008 Nektra S.A.
*  
*  This program is free software; you can redistribute it and/or modify
*  it under the terms of the GNU Lesser General Public License as published by
*  the Free Software Foundation; either version 2, or (at your option)
*  any later version.
*  
*  This program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*  
*/
#ifndef _LOCALFUNCTION_H_
#define _LOCALFUNCTION_H_

#include "FunctionWrapper.h"

///
/// Representation of function in the current process.
///
class NktLocalFunction : public NktFunctionWrapper
{
public:
	NktLocalFunction();
	NktLocalFunction(const NktFunctionWrapper&, LPCVOID pThis = NULL);
	NktLocalFunction(const NktLocalFunction&);
	NktLocalFunction& operator= (const NktLocalFunction&);

	/**
	Call the local function.
	@pmsSize size of params in bytes.
	*/
	void Call(NktRegisters*, LPCVOID params = NULL, USHORT pmsSize = 0);
	void Call(LPCVOID params = NULL, USHORT pmsSize = 0);

protected:
	LPCVOID _pThis;
};

#endif //_LOCALFUNCTION_H_

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer
Argentina Argentina
C/C++ developer interested on operating systems, reverse engineering, general system programming, CPU architecture, etc.
Now I'm working creating plugins Outlook Plugin Development.

Comments and Discussions